summaryrefslogtreecommitdiffstats
path: root/src/com/android
Commit message (Collapse)AuthorAgeFilesLines
* Fix build - move system shortcut icon colors to themeTony Wickham2017-04-132-8/+4
| | | | Change-Id: Iae248e5fdd57310adeb898305deee4c0eaee5318
* Merge "Add app info icon with no shadow for popup" into ub-launcher3-dorvalTony Wickham2017-04-123-15/+18
|\ | | | | | | | | | | am: 25e8f6d83e Change-Id: I8ea2798c98033d395e4afbbb5d86957518f33c22
| * Merge "Add app info icon with no shadow for popup" into ub-launcher3-dorvalTony Wickham2017-04-123-15/+18
| |\
| | * Add app info icon with no shadow for popupTony Wickham2017-04-123-15/+18
| | | | | | | | | | | | | | | | | | | | | | | | - Also changed opacities of the system shortcut icons to match spec (38% black in header, 54% when expanded view is shown) Bug: 35766387 Change-Id: I73881bf1c72c98d78a38d82c632c4954b02eff4e
* | | Merge "Remove reflection for a couple of methods" into ub-launcher3-dorvalTony Wickham2017-04-122-29/+3
|\| | | | | | | | | | | | | | | | | am: 46b3a13528 Change-Id: I193c67e00b8c6fe88602a90e066252c69cc79e42
| * | Merge "Remove reflection for a couple of methods" into ub-launcher3-dorvalTreeHugger Robot2017-04-122-29/+3
| |\ \
| | * | Remove reflection for a couple of methodsTony Wickham2017-04-112-29/+3
| | |/ | | | | | | | | | | | | Bug: 36855196 Change-Id: I3e6b2901d1c12fffd0172e85df98e2e17e737168
* | | resolve merge conflicts of ce44516dd to ub-launcher3-masterTony Wickham2017-04-117-85/+44
|\| | | | | | | | | | | Change-Id: I6f4455c1d4bedf778850acbb1e1c7372d532e13a
| * | Update popup to match redlinesTony Wickham2017-04-117-85/+44
| |/ | | | | | | | | | | | | | | | | | | | | - Update specs in dimens.xml and colors.xml - Move notification count to top right, and keep "Notifications" in left - Also removed NotificationHeaderView and instead use FrameLayout - Limit to 2 shortcuts instead of 3 if there are notifications - Use SP instead of DP for text (b/35869307) Bug: 35766387 Change-Id: I892640933ad6351946af3df6c805b98bb4e7cb50
* | Merge "Disable notification listener on pre-26" into ub-launcher3-dorvalTony Wickham2017-04-101-6/+3
|\| | | | | | | | | | | am: cd4cc97f6f Change-Id: I6e1a2de2ece9308f057e6cdea1a3a50b2dd32962
| * Merge "Disable notification listener on pre-26" into ub-launcher3-dorvalTony Wickham2017-04-101-6/+3
| |\
| | * Disable notification listener on pre-26Tony Wickham2017-04-101-6/+3
| | | | | | | | | | | | | | | | | | | | | | | | Also remove isAtLeastO() checks in NotificationListener Bug: 35443111 Bug: 37207407 Change-Id: If3eef406328f73d114d826e6c8a158bdc3788cac
* | | Merge "Only create one bitmap to clip popup item corners" into ↵Tony Wickham2017-04-102-39/+33
|\| | | | | | | | | | | | | | | | | | | | | | | ub-launcher3-dorval am: d4cb1f476d Change-Id: I19fa53d61049a6c65fd59a22fcb2d2f2d069283c
| * | Only create one bitmap to clip popup item cornersTony Wickham2017-04-072-39/+33
| |/ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Previously we created a bitmap the size of the entire popup item and drew a rounded rect in it to clip the corners. Now we create a bitmap that is only the size of the rounded corner radius, and rotate and translate it to all four corners to achieve the same clipping. Besides the reduced memory of this approach, it also simplifies things when we reduce the item's height (e.g. when the second to last notification is dismissed), because we no longer have to recreate the background bitmap to match the new size; the translation calculations in dispatchDraw() automatically take the current size into account. Bug: 35869307 Change-Id: I938bbc4bd87479580287426b4197516caf1a64d4
| * Merge "Launcher dump proto that will be used for:" into ub-launcher3-dorvalHyunyoung Song2017-04-065-11/+299
| |\
| | * Launcher dump proto that will be used for:Hyunyoung Song2017-04-045-11/+299
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | $ adb shell dumpsys activity provider com.android.launcher3/com.android.launcher3.LauncherProvider To see how the proto is filled: go/launcher-proto-dump b/31772480 Change-Id: I8e0f1e5e38148a3dfeabd2fc057392193b2625dd (cherry picked from commit 6aa3729e98502d4cffc40a7e602628b85d558edd)
* | | [cleanup] Shadows should not be clipped on AdaptiveIconDrawable b/36702964Hyunyoung Song2017-04-061-14/+15
|\| | | | | | | | | | | | | | | | | am: 830cca665c Change-Id: Ib2a0e622cd480dbfea2ce59adc8a82f98ef2dac3
| * | [cleanup] Shadows should not be clipped on AdaptiveIconDrawableHyunyoung Song2017-04-051-14/+16
| | | | | | | | | | | | | | | | | | b/36702964 Change-Id: I28d460eee6de84cd74866223b92d43274d64d334
* | | Shadows should not be clipped on AdaptiveIconDrawable b/36702964Hyunyoung Song2017-04-051-9/+13
|\| | | | | | | | | | | | | | | | | am: d02a29a502 Change-Id: Ia2f9a287f6f4409c4f16b5cd27364ef28a5b8bd4
| * | Shadows should not be clipped on AdaptiveIconDrawableHyunyoung Song2017-04-051-9/+13
| | | | | | | | | | | | | | | | | | b/36702964 Change-Id: Ic7363196aa493b4aa6a2dffa9c3e8f3399b1b3f3
* | | resolve merge conflicts of 128b7e59a to ub-launcher3-masterTony Wickham2017-04-0511-35/+189
|\| | | | | | | | | | | | | | Test: I solemnly swear I tested this conflict resolution. Change-Id: I927373593dfb1b67b504a76b1ad013357b363a6e
| * | Merge "Add support for getting widgets/shortucts for a particular ↵Tony Wickham2017-04-0511-40/+191
| |\ \ | | |/ | |/| | | | package/user" into ub-launcher3-dorval
| | * Add support for getting widgets/shortucts for a particular package/userTony Wickham2017-04-0411-40/+191
| | | | | | | | | | | | | | | | | | Bug: 34940468 Bug: 33553066 Change-Id: I5d0131df206c6a13d4227ad28c5b094bbf1343df
* | | Build fixSunny Goyal2017-04-041-2/+2
| | | | | | | | | | | | Change-Id: I2395421f19e68f33d427485039aca42094a0154f
* | | Adding support for dynamically change icon shape for AdaptiveIconsSunny Goyal2017-04-045-0/+240
|\| | | | | | | | | | | | | | | | | am: ca18746163 Change-Id: Ic4c14ad1760930735a881926aac8b45efe0cdba0
| * | Adding support for dynamically change icon shape for AdaptiveIconsSunny Goyal2017-04-045-0/+240
| |/ | | | | | | | | | | | | | | > This would allow developers to verify their icon designs on different device configurations > This settings is only visible when developer settings is enabled Change-Id: I7e32abfede001c134f23390734dcd39c93b68b9a
* | Small UI fix for widgets/app info shortcutsTony Wickham2017-04-032-2/+7
|\| | | | | | | | | | | am: 2f54a1625a Change-Id: I3cdd215d4eca70c684ca88f763caeb829a7ce930
| * Small UI fix for widgets/app info shortcutsTony Wickham2017-04-032-2/+7
| | | | | | | | | | | | | | | | | | | | | | - Switch order of widgets & more and app info. - Start binding widgets after starting to update these shortcuts on the UI thread, so that they will show up without waiting for the bind logic, which can take a while. We already have a callback mechanism for enabling widgets & more after widgets are bound, so this was how it was supposed to work already. Change-Id: I5f702f9c0814d30acf6298be309c6dc30727316e
| * Clearing icon cache due to system app icon changes (without any SDK change)Sunny Goyal2017-04-031-1/+1
| | | | | | | | | | Bug: 36366450 Change-Id: I23b77bd2bff292dee0e9ec576ba49f03e34628a6
* | Merge "IconNormalizer cleanup" into ub-launcher3-masterHyunyoung Song2017-04-031-3/+2
|\ \
| * | IconNormalizer cleanupHyunyoung Song2017-04-031-3/+2
| | | | | | | | | | | | | | | | | | > Remove unnecessary member variable Change-Id: Id497ba86f3a4b968fa467df3791e92ae85495495
* | | Merge "Temporarily use reflection to get notification badge icon type" into ↵Tony Wickham2017-04-031-1/+16
|\ \ \ | | |/ | |/| | | | | | | | | | | | | | | | ub-launcher3-dorval am: 39a99e7098 Change-Id: I0fdc617a99d608aef61bd2dd3849467345cfba48
| * | Merge "Temporarily use reflection to get notification badge icon type" into ↵TreeHugger Robot2017-04-031-1/+16
| |\ \ | | | | | | | | | | | | ub-launcher3-dorval
| | * | Temporarily use reflection to get notification badge icon typeTony Wickham2017-04-031-1/+16
| | | | | | | | | | | | | | | | | | | | Bug: 36855196 Change-Id: I408a98140c68f38327a6cd8ce4cc46c5f2fe34e6
* | | | Merge "code cleanup: regarding Favorites debug logging" into ub-launcher3-masterTreeHugger Robot2017-04-012-11/+24
|\ \ \ \
| * | | | code cleanup: regarding Favorites debug loggingHyunyoung Song2017-03-282-11/+24
| | | | | | | | | | | | | | | | | | | | Change-Id: Ie4d4ffda30ce3b495c2b9fd57ea584d45cc3357d
* | | | | Merge "resolve merge conflicts of 26b174659 to ub-launcher3-master" into ↵TreeHugger Robot2017-03-3115-74/+379
|\ \ \ \ \ | | | | | | | | | | | | | | | | | | ub-launcher3-master
| * \ \ \ \ resolve merge conflicts of 26b174659 to ub-launcher3-masterTony2017-03-3015-74/+379
| |\ \ \ \ \ | | | |/ / / | | |/| | | | | | | | | | | | | | | Test: I solemnly swear I tested this conflict resolution. Change-Id: Ifb24f291b096b979044e5c87ec58c24e9c479728
| | * | | | Add support for system shortcuts in popup containerTony Wickham2017-03-3015-75/+379
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | - Currently the system shortcuts are just widgets and app info - As shortcuts, they live in ShortcutsItemView - They are populated either as icons only (if there are deep shortcuts) or as icons + text - Widgets are disabled until binding them is complete (we request for them to be bound on long-press now). We should revisit this. Bug: 34940468 Change-Id: Ia51d002c3b3ede87658bdab57abfc3eeca1ed242
* | | | | | Fixing broken buildSunny Goyal2017-03-301-2/+2
|/ / / / / | | | | | | | | | | | | | | | Change-Id: I9ec4dea773d1ca53522a216028a99fc3ed147f54
* | | | | Merge "Delay the PinItemRequest#accept() call until the drop animation is ↵Sunny Goyal2017-03-303-4/+36
|\| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | finished." into ub-launcher3-dorval am: 4a907d0f9d Change-Id: Icd6d070199cd685633ead1301bda9d3e4de698c9
| * | | | Merge "Delay the PinItemRequest#accept() call until the drop animation is ↵TreeHugger Robot2017-03-303-4/+36
| |\ \ \ \ | | | | | | | | | | | | | | | | | | finished." into ub-launcher3-dorval
| | * | | | Delay the PinItemRequest#accept() call until the drop animation is finished.Sunny Goyal2017-03-303-4/+36
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This prevents the caller app from taking over the focus while animation it running. Change-Id: I51b6673c59e848c263727502dee90504ed3a2162
* | | | | | Merge "Add WidgetsAndMore bottom sheet" into ub-launcher3-dorvalTony Wickham2017-03-307-33/+376
|\| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | am: d73fbb5f97 Change-Id: I5d1bad3ea83e672076dbd3b6f2d80d5149f3921c
| * | | | | Merge "Add WidgetsAndMore bottom sheet" into ub-launcher3-dorvalTony Wickham2017-03-308-34/+376
| |\ \ \ \ \ | | |/ / / / | |/| | | |
| | * | | | Add WidgetsAndMore bottom sheetTony Wickham2017-03-308-34/+376
| | | |/ / | | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | - Contains two rows, one for widgets, and one for "configurable shortcuts" that have customization activities - Extends AbstractFloatingView and uses VerticalPullDetector for touch interactions - No way to show this currently; will add options to popup in followup Bug: 34940468 Change-Id: Iab62c2cb89428f91119c9c86f9db886496c321fd
* | | | | Merge "Fixing multiwindow drag operation during with rotation." into ↵Sunny Goyal2017-03-303-19/+45
|\| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | ub-launcher3-dorval am: 1188b89dc4 Change-Id: Ib2f0988d944dff201767d5e85686416aa966e96b
| * | | | Merge "Fixing multiwindow drag operation during with rotation." into ↵TreeHugger Robot2017-03-303-19/+45
| |\ \ \ \ | | | | | | | | | | | | | | | | | | ub-launcher3-dorval
| | * | | | Fixing multiwindow drag operation during with rotation.Sunny Goyal2017-03-283-19/+45
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | > Finishing activity when rotation preference change. This ensures that any prefenrece change is immediately applied instead of waiting for resume as the new activity is always started with proper setting. > Clearing task when starting drag in landscape mode. This ensures that a new activity instance is started in this case, which overrides previous locked rotation by launcher activity. > Handling drag request in onCreate and enabling rotation based on it. > Clearing any request from the launcher intent once the drag operation is complete Bug: 36226746 Change-Id: I69f56c13827c25f3e1bc84935cb2acc59b6bd349
* | | | | | Merge "Adding logging for various interaction in PinItemRequest UI" into ↵Sunny Goyal2017-03-305-3/+49
|\| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | ub-launcher3-dorval am: c5c9cae70d Change-Id: I0be49e2a81b9ee284230672c368a03f3aaef7916