summaryrefslogtreecommitdiffstats
path: root/res
Commit message (Collapse)AuthorAgeFilesLines
* Launcher3: No Calendarwidget 4x4 widget displayedningl2017-07-152-0/+37
| | | | | | | | | | | There is not enough space to place the Calendarwidget when in the portrait mode for the mobile phone of 480*854. Config the value of dynamic_grid_edge_margin a little smaller for the mobile phone of 480*854. Change-Id: I7be230b6539e47be4bd967c08eaf6f00aa550f75 CRs-Fixed: 1066228
* 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
* Increase to 5 rows on some device profilesArne Coucheron2017-07-151-3/+3
| | | | | | | These now have lower icon sizes than originally, so 5 rows should fit perfectly. Change-Id: Ie39b1ce658882ce9fae95dd4e10021700c07856c
* 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
* Apply icon size modifications from old TrebuchetArne Coucheron2017-07-151-25/+25
| | | | | | Also fix Nexus 4/5 swapped minWidthDps Change-Id: I33f47154d2687c8a758fb655c9e66e619b0522ad
* Update default workspaceArne Coucheron2017-07-154-28/+308
| | | | Change-Id: If62561591610c22203f6d16348ffbf074506dcef
* Rebrand from Launcher3 to TrebuchetArne Coucheron2017-07-027-1/+22
| | | | Change-Id: If3af3a32db2281372dc1beb47e13a2ce0dc380af
* Import translations. DO NOT MERGEBill Yi2016-10-131-2/+2
| | | | | Change-Id: I93bb668512491ac8c026e8a75b8a50b0252965d4 Auto-generated-cl: translation import
* Updating the folder cell dimensions to be closer to a squareSunny Goyal2016-10-073-12/+13
| | | | | Bug: 31813976 Change-Id: I05d7520daee28a310ff122deaf265951e454d21e
* Merge "Import translations. DO NOT MERGE" into ub-launcher3-calgary-polishTreeHugger Robot2016-09-292-2/+2
|\
| * Import translations. DO NOT MERGEBill Yi2016-09-282-2/+2
| | | | | | | | | | Change-Id: I654a22df571448ce858325439e0d73a0d0bbe623 Auto-generated-cl: translation import
* | 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
* Import translations. DO NOT MERGEBill Yi2016-09-2680-160/+80
| | | | | Change-Id: I52c77c4ced9b7ebb7d00e1256ec9ed82de13a2ba Auto-generated-cl: translation import
* 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
* Merge "Fade deep shorcuts in and out." into ub-launcher3-calgary-polishTony Wickham2016-09-221-0/+1
|\
| * 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
* | Import translations. DO NOT MERGEBill Yi2016-09-2280-1/+161
|/ | | | | Change-Id: Idd135c03ff2a6ff9d08ca6c4e9e5ec6ae1520efa Auto-generated-cl: translation import
* Merge "Add context to widget dimensions for accessibility." into ↵Jonathan Miranda2016-09-191-0/+2
|\ | | | | | | ub-launcher3-calgary-polish
| * Add context to widget dimensions for accessibility.Jon Miranda2016-09-191-0/+2
| | | | | | | | | | Bug: 19085860 Change-Id: Ia28c2c14b93945d796226eea3de040e971fd42f0
* | Uses a TransformingTouchDelegate to extend touch target for widgets list.Jon Miranda2016-09-191-2/+2
|\ \ | |/ |/| | | | | | | am: 0ef81fdc22 Change-Id: I33962020ff1cf75e46254c24687a53fd5b2088fa
| * Uses a TransformingTouchDelegate to extend touch target for widgets list.Jon Miranda2016-09-191-2/+2
| | | | | | | | | | | | | | | | The widget row contents were being clipped, which made it seem like the horizontal scroll was broken. Bug: 30023607 Change-Id: I00b0c334bbb0faf166d4cd168392cc494ed732e0
| * Change all apps caret target bounding boxHyunyoung Song2016-09-074-11/+33
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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 (cherry picked from commit 016eaeea99e163f0b5385cf660297e6c21ff21e5)
| * Import translations. DO NOT MERGEBill Yi2016-08-151-1/+1
| | | | | | | | | | Change-Id: I96007581be40da18813dfcb8606bc6d8fed29e54 Auto-generated-cl: translation import
| * Merge "Ignore clicks on shortcuts' drag handles." into ub-launcher3-calgaryTony Wickham2016-08-151-1/+1
| |\
| * | Import translations. DO NOT MERGEBill Yi2016-08-112-2/+2
| | | | | | | | | | | | | | | Change-Id: Iad4289a91834aa57c8458356a3f3b31be74c760b Auto-generated-cl: translation import
| * | Import translations. DO NOT MERGEBill Yi2016-08-101-1/+1
| | | | | | | | | | | | | | | Change-Id: Id72084a093ca622391d5c3af74f90e66499dea28 Auto-generated-cl: translation import
| * | Merge "Make padding consistent between shortcuts and the app icon." into ↵Tony Wickham2016-08-081-0/+3
| |\ \ | | | | | | | | | | | | ub-launcher3-calgary
* | | | Updating the paddings in folder cellSunny Goyal2016-09-165-15/+27
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | > 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
* | | | Fixed NumberFormatException when trying to display vector drawable.Jon Miranda2016-09-151-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | Found while debugging on Lollipop. Change-Id: Idb098d3a8f7f1fa608fd8a32225cdefa41ba47a7
* | | | Merge "Updating the assets for the all-apps search background." into ↵Sunny Goyal2016-09-0829-0/+134
|\ \ \ \ | | | | | | | | | | | | | | | ub-launcher3-calgary-polish
| * | | | Updating the assets for the all-apps search background.Sunny Goyal2016-09-0829-0/+134
| | | | | | | | | | | | | | | | | | | | | | | | | Bug: 30309105 Change-Id: I4dd4a97ff49fd3c6dd386f100ca35dfb629044df
* | | | | Merge "Add outline to shortcuts when focused." into ub-launcher3-calgary-polishTony Wickham2016-09-082-1/+27
|\ \ \ \ \
| * | | | | Add outline to shortcuts when focused.Tony Wickham2016-09-072-1/+27
| |/ / / / | | | | | | | | | | | | | | | | | | | | Bug: 30563273 Change-Id: Ia54c112dcf91c225588b7388001eb93ee5c03171
* / / / / Change all apps caret target bounding boxHyunyoung Song2016-09-074-11/+33
|/ / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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
* | | | Updating the workspace scrimSunny Goyal2016-08-2513-0/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | The scrim is only drawn on the top in both normal & transposed layout Bug: 29189114 Change-Id: I99bbf4c4a73e172e000ef24af0662e1922592e0a
* | | | Merge "Moving the scrim to draglayer" into ub-launcher3-calgary-polishSunny Goyal2016-08-253-0/+3
|\ \ \ \
| * | | | Moving the scrim to draglayerSunny Goyal2016-08-233-0/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | > This causes the scrim to animate with the content on first launch > Also removing the logic to disable scrim based on state. That logic was only executing onResume which could lead to an invalid state Bug: 30972956 Bug: 30576826 Change-Id: Ia8386b303ce260f69e3b3b93041226f409301a01
* | | | | 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
* | | | Fixing allApps UI not extending to statusbar & navbar on tabletsSunny Goyal2016-08-181-1/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | AllApps UI on tablets includes the extra gray bottom bar at the bottom for nav-bar background protection, and should overlay the nav bar Change-Id: Idb138b714c34de5510eb9aedfcefb22c9189eee4
* | | | Import translations. DO NOT MERGEBill Yi2016-08-151-1/+1
| | | | | | | | | | | | | | | | | | | | Change-Id: If3c9e57ec6801605397ff16f2ec93c6aaeda665e Auto-generated-cl: translation import
* | | | 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
* | | | Import translations. DO NOT MERGEBill Yi2016-08-112-2/+2
| | | | | | | | | | | | | | | | | | | | Change-Id: I2558456492c591d91fb65e78f888da892ec1964b Auto-generated-cl: translation import
* | | | Import translations. DO NOT MERGEBill Yi2016-08-101-1/+1
| | | | | | | | | | | | | | | | | | | | Change-Id: Iad51eb6eb92204d454c1e03d03281eaedcb85f7f Auto-generated-cl: translation import
* | | | Make padding consistent between shortcuts and the app icon.Tony Wickham2016-08-081-0/+3
|\ \ \ \ | |_|/ / |/| | / | | |/ | |/| | | | am: 988e2b7a4d Change-Id: Ib1a194b7b383b991bb0fd4da7c28a52821fbae8c
| * | Make padding consistent between shortcuts and the app icon.Tony Wickham2016-08-051-0/+3
| |/ | | | | | | | | | | | | | | | | | | | | | | | | This change makes the padding consistent regardless of where the app is (e.g. folder vs workspace vs all apps) by ignoring the app's padding and adding our own to the shortcuts container. Also note that this padding is relative to the icon, excluding the text beneath it. So we also hide the text when the container opens downwards, and re-show it when the container closes. Bug: 30604007 Change-Id: I6e51c4983a8b5d495833f86e483ebaa229ed2099
* | Merge "Forcing drag layer to be non accessible. Setting a touch delegate ↵Sunny Goyal2016-08-083-0/+3
|\ \ | | | | | | | | | makes a view to become accessible, if its set to auto. This was making drayLayer accessible causing Talkback to speak out every item on the draglayer when window focus changes" into ub-launcher3-calgary