summaryrefslogtreecommitdiffstats
path: root/res/values
Commit message (Collapse)AuthorAgeFilesLines
...
* | Removing center vertical from folder gravity.Sunny Goyal2016-09-231-1/+1
| | | | | | | | | | | | | | | | Using center vertical alogn with a fixed height, overrides the custom drawable padding and divides the available space proportionally between padding and drawable padding Change-Id: I4523543ab3007ef40eac69d878d2afbca13b483a
* | Fade deep shorcuts in and out.Tony Wickham2016-09-221-0/+1
|/ | | | | | | | | | | | | | | | | | | Animate open: - Stagger-fade shortcuts as they open - Become fully opaque before fully open, at which point the arrow animates in (scale). This way there is no overlap of a translucent shortcut over an opaque arrow. Animate close: - Stagger-fade shortcuts as they close - Delay fade until arrow animation is finished, to ensure there is no overlapping of translucent and opaque. This is much less visually jarring when quickly dragging and dropping apps with shortcuts. Bug: 31533078 Change-Id: I8673ee64e92414c718233ea89b70362187e53696
* Add context to widget dimensions for accessibility.Jon Miranda2016-09-191-0/+2
| | | | | Bug: 19085860 Change-Id: Ia28c2c14b93945d796226eea3de040e971fd42f0
* Updating the paddings in folder cellSunny Goyal2016-09-163-1/+12
| | | | | | | | | > Updating overall padding for the cell and adding drawable padding > Ensuring that the folder cell is always rendered properly based on available vertical space Bug: 30605958 Change-Id: I8ceb9fea5a25052b0d7461f52edca0e6a33fa085
* Change all apps caret target bounding boxHyunyoung Song2016-09-071-3/+2
| | | | | | | | | | | | | | b/30400751 1) This also fixes the issue of apps drawer sliding up when page is swiped horizontally immediately above the hotseat area. 2) Disclaimer: this should be cp'ed to calgary. Hence, I tried to keep the diff small. Ideally, CaretDrawable animation handling should move to AllAppsHandleImageView via refactoring in follow up CL. Change-Id: I4d808ee2eeca53b40c0b4e4e0e364fef056e26c3
* Adding a resource pointer to the app name so that derived projects canSunny Goyal2016-08-221-0/+4
| | | | | | easily modify app name Change-Id: I3f301e1b2ba38d0a45d220bb628dcfdf3906246c
* Ignore clicks on shortcuts' drag handles.Tony Wickham2016-08-151-1/+1
|\ | | | | | | | | | | am: e04a07f6ac Change-Id: I96360a63524edeff3e2aa9b21707c1c81a79012f
| * Ignore clicks on shortcuts' drag handles.Tony Wickham2016-08-151-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | When touching down within the drag handle's bounds, we remove the onClickListener temporarily (restored when touching down outside of the drag handle's bounds). Long clicks still start the drag. Also increased drag threshold from 12dp to 16dp. Bug: 30816665 Change-Id: I0b33dc34bf95c0532376f2f7cf50865fa50093de
* | Change NavBar to transparent blackHyunyoung Song2016-08-051-0/+1
|/ | | | | | b/30615471 Change-Id: I7885e8a7fd63ee10c9b0107087046730e8acfde9
* Reduce distance to start deferred drag from shortcuts to 12dp.Tony Wickham2016-08-041-3/+2
| | | | Change-Id: Ida298760bb66b5894dab94ff4ccaa788c8604661
* Align shortcut text with view start.Tony Wickham2016-08-031-0/+1
| | | | | Bug: 30401505 Change-Id: Iffaa0a01f2c2983a085d8c9d4be36fc063ae2004
* Updating content description for the shortcuts menu and announcingSunny Goyal2016-08-021-0/+3
| | | | | | | it when the container is opened Bug: 30587453 Change-Id: I6f2d3ba05593f3e2a1a8f05c66a0f80e76932c38
* Update shortcuts font to match spec.Tony Wickham2016-08-021-1/+3
| | | | | Bug: 30594316 Change-Id: I9de1068a502e9f441f2609d114595b7513f20cad
* Showing the shortcuts in the disabled state and removing ti from the menuSunny Goyal2016-07-281-0/+2
| | | | | | | when its disabled Bug: 30315906 Change-Id: Ice747e7be955d8bb2dd65191f7613e2afd4abc1c
* Launcher shortcuts animations update.Sunny Goyal2016-07-272-4/+6
| | | | | | | | | | | > The shortcut container closes with an animation > When opening/closing the animation only the icon scales and not the title and drag handle > When dragging the icon, it starts from the original icon position and moves under the user finger. The container grows to follow the drag view. Bug: 28980830 Change-Id: Ic0353c30b682d1f018cbf4d62e8a6e8e7d7d4664
* Merge "Change default animation duration for all apps open and close." into ↵Hyunyoung Song2016-07-271-0/+1
|\ | | | | | | ub-launcher3-calgary
| * Change default animation duration for all apps open and close.Hyunyoung Song2016-07-271-0/+1
| | | | | | | | | | | | > Also set different interpolator for all apps opening clicking the caret Change-Id: I7f9b764a8bf8bb7c38d94acbd964e912f22d6941
* | Updating the label for shortcuts acitonSunny Goyal2016-07-271-1/+1
|/ | | | | Bug: 30374655 Change-Id: I92d269aca8b9361356b1b2241b24fc9e17ad1074
* Match updated redlines for shortcuts.Tony2016-07-262-4/+13
| | | | | | | | | - Align shortcut icons with original icon. - Drag handle is lighter and smaller. - Shortcut pills are slightly wider to accommodate long text. Bug: 28980830 Change-Id: I8e9709e3cbdb9df86a805a4b63a696975c61df5a
* Add arrow view to deep shortcuts container.Tony2016-07-261-1/+3
| | | | | | | | | - We create a trangular path, which we use as the view's outline (for the shadow) and as its PathShape background. - We scale up the arrow as the container opens. Bug: 28980830 Change-Id: I71e566552f063dfdb69067bb7e3cee659988f934
* Added custom actions for showing the shortcuts menu and adding a quick actionSunny Goyal2016-07-252-0/+4
| | | | | | | on the home screen Bug: 30374655 Change-Id: I2f3ae31f2fb2c09f64f2a47e95a9d25435f7efe2
* Merge changes I09bce218,Id5716a34 into ub-launcher3-calgaryWinson Chung2016-07-211-1/+1
|\ | | | | | | | | | | * changes: Matching hotseat to spec. Fixing issue with shadow drawing over search bar.
| * Matching hotseat to spec.Winson2016-07-201-1/+1
| | | | | | | | | | | | | | | | | | - Fixing regression in hottest folder background getting clipped - Ensuring that the padding is correctly applied in vertical bar layout to match workspace Bug: 30021487 Change-Id: I09bce21829867f4bd4e50646e565959421e4984c
* | Add drag handle to shortcuts.Tony Wickham2016-07-201-1/+2
|/ | | | | | | | Also use short text if long text is ellipsized. Bug: 30212144 Bug: 28980830 Change-Id: I213766bca0561d284d1da883ca37b0a42d886129
* Caret background protectionPeter Schiller2016-07-202-0/+2
| | | | Change-Id: I5f902a3977677e7848932a6a60992a62f1638e39
* Initial changes to tweak layout.Winson2016-07-202-14/+17
| | | | | | | | | | | | | | | - Adding DeviceProfile callback for when the launcher layout changes due to insets. This is necessary since there are now different layouts depending on which side the navigation bar is on - Consolidating hotseat and other layout into the device profile launcher layout logic - Making the all apps icons match the workspace icon height - Tweaking caret drawable to draw to the bounds specified to simplify layout in each orientation - Fixing minor issue with page indicator shifting in landscape - Centering overview buttons to the workspace page Bug: 30021487 Change-Id: I1866bce00b2948f3edd06168c0f88d81207e3f13
* Update shortcut animations.Tony Wickham2016-07-193-4/+10
| | | | | | | | | | | - Open animation: shortcuts reveal using modified circular reveal (so that it reveals in the pill shape instead of a circle); slight translation away from the original icon; scale icon and text. - Hover animation: scale the shortcut pill and translate others away. Bug: 28980830 Bug: 30127368 Change-Id: I8ed05c7a082f2c2a3f6c663da7259f6cd33e394f
* Support gray hotseat background in all apps transitionHyunyoung Song2016-07-181-8/+9
| | | | | | b/30201515 Change-Id: Ie4b8442ac804b4df94e9673608129e6ffc0c3360
* Adding stateful caret drawablePeter Schiller2016-07-143-2/+8
| | | | Change-Id: Iba30da09f882297f789c405f932fef10617bba89
* Merge "Preventing unnecessary layouts on search focus change" into ↵Peter Schiller2016-07-141-0/+3
|\ | | | | | | ub-launcher3-calgary
| * Preventing unnecessary layouts on search focus changeSunny Goyal2016-07-141-0/+3
| | | | | | | | | | | | | | Instead of expanding the edittext, using a separate textview which is shown/hidden as the hint text Change-Id: Ib4cedeaed9291f972be2ee407c06f4944c983e27
* | Merge "Moving the QSB out of the cell layout to the Drag layer" into ↵Sunny Goyal2016-07-141-0/+3
|\ \ | |/ |/| | | ub-launcher3-calgary
| * Moving the QSB out of the cell layout to the Drag layerSunny Goyal2016-07-131-0/+3
| | | | | | | | | | | | | | | | This allows better edge matching for the QSB. The QSB position is kept synchronized with the page scroll and all-apps transition. But its not visible in spring loaded and overview mode Change-Id: I4e6723607ea966ee672273a9ca67c792fd6b5661
* | Updating the content description of disabled iconsSunny Goyal2016-07-131-0/+2
|/ | | | | Bug: 27644457 Change-Id: I03aec29e0ea6017b51dcd7567967a067e478cefd
* Cleaning up scrollbar logic to properly calculate stable extents.Winson2016-07-121-1/+0
| | | | | | | | | - Removing old logic which assumed that views were the same size, especially now we can have variable dividers, etc. - Simplifying old scroll position logic. - Removing unnecessary prediction icon layout (same as normal icon) Bug: 30023608 Change-Id: I39e1126fa586a76a9bdd3ff38cd6e360ac3021e6
* Merge "Defining the list of predefined device profiles in xml. This allows ↵Sunny Goyal2016-07-111-0/+24
|\ | | | | | | the profiles to be easily customized by derivatives." into ub-launcher3-calgary
| * Defining the list of predefined device profiles in xml.Sunny Goyal2016-07-071-0/+24
| | | | | | | | | | | | This allows the profiles to be easily customized by derivatives. Change-Id: Iaec2b7a0eda34581c8e48b7dc44817013632dabe
* | Merge "Consolidate all the dividers to provide same look and feel" into ↵Peter Schiller2016-07-112-12/+5
|\ \ | | | | | | | | | ub-launcher3-calgary
| * | Consolidate all the dividers to provide same look and feelPeter Schiller2016-07-082-12/+5
| | | | | | | | | | | | | | | Bug: 30017936 Change-Id: I072cb116dba1df555a63f3f67b730f7f9c3a235a
* | | Merge "Updating page indicator content description to indicate click target ↵Sunny Goyal2016-07-091-1/+1
|\ \ \ | | | | | | | | | | | | for apps list" into ub-launcher3-calgary
| * | | Updating page indicator content description to indicate click targetSunny Goyal2016-07-081-1/+1
| | |/ | |/| | | | | | | | | | | | | | | | for apps list Bug: 29777235 Change-Id: Ia3dc20db7ec06455429389de5752b9bcfff15555
* | | Merge "Updating the allow rotation settings text" into ub-launcher3-calgarySunny Goyal2016-07-081-2/+2
|\ \ \ | |_|/ |/| |
| * | Updating the allow rotation settings textSunny Goyal2016-07-081-2/+2
| |/ | | | | | | | | Bug: 28704055 Change-Id: I7d4780f0d90b9c98b6c5126417538cf1b014c65b
* / Updating alignment of search inputPeter Schiller2016-07-071-0/+1
|/ | | | | Bug: 30017936 Change-Id: I2f68711762872bc100b41b2b4768d33e2c0cd902
* Merge "Delete all* references to launcher clings." into ub-launcher3-calgaryAndrew Sapperstein2016-07-012-19/+0
|\
| * Delete all* references to launcher clings.Andrew Sapperstein2016-07-012-19/+0
| | | | | | | | | | | | | | | | | | | | | | | | Launcher clings are dead. Delete all the code and resources associated with them. * Did not delete the actual code the marks the cling as dismissed since it's used in db upgrade and backup/restore paths. Figured we probably want to keep that. Change-Id: I28841b4a430187b62b239afeb64bee81a798e259 Fixes: 29461092
* | Merge "Use colorSecondary for darker bg color." into ub-launcher3-calgaryAndrew Sapperstein2016-07-013-2/+14
|\ \
| * | Use colorSecondary for darker bg color.Andrew Sapperstein2016-06-303-2/+14
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Used for widget headers and a few other places. In order to support pre-API 25, an app-local version of colorSecondary is created and used throughout the app. A new WidgetContainerTheme sets colorSecondary to a canned value. On API 25+, colorSecondary is set to the platform value. Change-Id: Ie0dd66333052b7346eea5d82d1c88417c6a2cd00 Fixes: 28625102
* | | Updating all apps to match specPeter Schiller2016-06-302-2/+4
| |/ |/| | | | | Change-Id: Ie351fdea2e3b05ca911e6533f0c5d00c17e0847c
* | Long-press on an app to reveal its shortcuts.Tony Wickham2016-06-292-1/+25
|/ | | | | | | | | | | | | | | - Add ShortcutsContainerListener to icons on workspace, folders, and all apps. This handles long-press and forwards following touches to the DeepShortcutsContainer that is created. - Drag over shortcut before lifting finger to launch it. - Shortcuts are rendered in pill-shaped DeepShortcutViews, which are inside DeepShortcutContainer on DragLayer. - The shortcut container orients above or below the icon, and left or right-aligns with it. Biases for above + left-align. - Long press a DeepShortcutPill to drag and pin it to the workspace. Bug: 28980830 Change-Id: I08658d13ae51fe53064644e8d8f7b42f150fdd7d