summaryrefslogtreecommitdiffstats
path: root/res/values
Commit message (Collapse)AuthorAgeFilesLines
* Enable custom wallpaper pickerArne Coucheron2017-07-151-3/+0
| | | | Change-Id: Iad5638c43f38d240d87c5f5957ec7112cf1c14d7
* Adjust hotseat heightArne Coucheron2017-07-151-1/+1
| | | | | | | | Since we have lowered all icon sizes, we should decrease the hotseat height a little bit, otherwise it would look huge, with a lot of empty space. Change-Id: If9b192ae9debc489141007cb3f0ca7624a7c6e8d
* Change icon drawable paddingArne Coucheron2017-07-151-1/+1
| | | | | | | No reason to have this huge gap between icon and text. Use 4dp like in old Trebuchet. Change-Id: I0b6e320150778891f05c38be4467e730b568d19b
* Update default workspaceArne Coucheron2017-07-151-0/+4
| | | | Change-Id: If62561591610c22203f6d16348ffbf074506dcef
* Rebrand from Launcher3 to TrebuchetArne Coucheron2017-07-022-1/+22
| | | | Change-Id: If3af3a32db2281372dc1beb47e13a2ce0dc380af
* Updating the folder cell dimensions to be closer to a squareSunny Goyal2016-10-071-2/+3
| | | | | Bug: 31813976 Change-Id: I05d7520daee28a310ff122deaf265951e454d21e
* Decrease drop target left and right padding.Tony Wickham2016-09-281-2/+2
| | | | | | | | Otherwise it looks like we are aggressively truncating the text even though there is plenty of room to show it. Bug: 31790418 Change-Id: Ia1cdc232f05815732d4cb95b954e935724a200fd
* Enable light status bar when top of wallpaper is light.Tony Wickham2016-09-281-0/+4
| | | | | | | (Light status bar = dark icons) Bug: 29452834 Change-Id: I9f61a05d80158827761c8b62ab40fc50971e27a6
* Refactor shortcuts drag and drop.Tony Wickham2016-09-231-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | - Instead of creating our own drag view within the container, and handling logic to determine when to start a real drag, we start the drag immediately and just defer onDragStart(). - To determine when the deferred drag should start, we add a DeferDragCondition to DragOptions. The default DeferDragCondition never defers a drag, but is overridden for apps with shortcuts to defer until the icon is dragged a given distance. - Because the drag is handled in DragController, including checking when to start the deferred drag, DeepShortcutsContainer no longer needs to handle touch events and ShortcutsContainerListener has been removed. This change has several immediate benefits: - The code is much cleaner, because it allows touch handling to be done by the DragController through the normal drag flow, without recreating logic in ShortcutsContainerListener/DeepShortcutContainer. - The janky second haptic feedback has been removed (now it vibrates when you long press, like everywhere else, but not again when the shortcuts close after dragging a distance). - Drops are animated, instead of just popping the icon back into place. Bug: 30769920 Bug: 30465972 Bug: 31533078 Change-Id: I679b412b72fbf6c3895d76963311eb5010c8e8db
* 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