summaryrefslogtreecommitdiffstats
path: root/src
Commit message (Collapse)AuthorAgeFilesLines
* Simplifying some DB managed logicSunny Goyal2017-04-193-141/+101
| | | | | | | | > Adding SQLiteTransaction to make it easier to manage DB transactions > Using try-with resource for better resource handling > Defining utility method for iterating over cursor Change-Id: I20b1a62d61798342825ecfeb971e1a0c63c9b6d7
* Merge "Deleting any ghost widget from system service:" into ub-launcher3-dorvalSunny Goyal2017-04-183-23/+66
|\ | | | | | | | | | | am: f2d8b65775 Change-Id: I1d9b7a5a532bf504aabac69691e3f83e2f181a04
| * Merge "Deleting any ghost widget from system service:" into ub-launcher3-dorvalTreeHugger Robot2017-04-183-24/+66
| |\
| | * Deleting any ghost widget from system service:Sunny Goyal2017-04-173-24/+66
| | | | | | | | | | | | | | | | | | | | | | | | | | | > A one-time DB update for removing any existing ghost widgets > Handling widget cleanup when we bulk delete workspace items during loader > Simplifying external delete Bug: 35634653 Change-Id: Id0c520f57aee6d75d9c0e7bcd5786a464bf9f39f
* | | Fixing adaptive icon bounds cachingSunny Goyal2017-04-181-1/+5
|\| | | | | | | | | | | | | | | | | am: 311420ffb2 Change-Id: I3a7c7a698b3559ca31f218991540114d38210d94
| * | Fixing adaptive icon bounds cachingSunny Goyal2017-04-171-1/+5
| | | | | | | | | | | | Change-Id: Ifa0ed4d600fcd2c50558ea9ae6e95f3364d4949a
| * | Merge "[DO NOT MERGE] legacy icon treatment / circle detection Bug: ↵TreeHugger Robot2017-04-174-19/+232
| |\ \ | | | | | | | | | | | | 37357483" into ub-launcher3-dorval
| | * | [DO NOT MERGE] legacy icon treatment / circle detectionHyunyoung Song2017-04-164-19/+232
| | | | | | | | | | | | | | | | | | | | | | | | Bug: 37357483 Change-Id: I63049ad61ad259f546fcf5077ded0a5f444e4395
* | | | Fixing icon left on the workspace when drag operation failsSunny Goyal2017-04-171-0/+4
|\| | | | | | | | | | | | | | | | | | | | | | | am: 846d7e12c8 Change-Id: I2f4df4ab948443298fd3354cb4338ff9db4068ad
| * | | Fixing icon left on the workspace when drag operation failsSunny Goyal2017-04-171-0/+4
| | | | | | | | | | | | | | | | | | | | Bug: 37294517 Change-Id: I1982b71cdeacff9e15bfa00c03620888c2a225c8
* | | | Rename WidgetsAndMore to WidgetsBottomSheetTony Wickham2017-04-174-22/+23
|\| | | | | | | | | | | | | | | | | | | | | | | am: 343a77e609 Change-Id: I3d0c3e3a4ec1225781421567cfd9f2ea1d676bc0
| * | | Rename WidgetsAndMore to WidgetsBottomSheetTony Wickham2017-04-174-23/+23
| | | | | | | | | | | | | | | | | | | | | | | | | | | | (It only contains widgets now.) Bug: 35766387 Change-Id: I5864791a9741d1c56ac6df30125fe7a4a677b4bd
* | | | Merge "Fix popup item animation pivot" into ub-launcher3-dorvalTony Wickham2017-04-171-5/+10
|\| | | | | | | | | | | | | | | | | | | | | | | am: 251dabfd76 Change-Id: I6be4feabc9781504b85351eca04517b8d6c31dbf
| * | | Merge "Fix popup item animation pivot" into ub-launcher3-dorvalTreeHugger Robot2017-04-171-5/+10
| |\ \ \
| | * | | Fix popup item animation pivotTony Wickham2017-04-141-5/+10
| | |/ / | | | | | | | | | | | | | | | | | | | | | | | | Now it is based on the arrow center instead of height / 2 (this used to be the same when all items were separate) Change-Id: I76c04344400c6d306e8404c1e93765adfbd0fe23
* | | | Merge "Slightly round corners of popup arrow" into ub-launcher3-dorvalTony Wickham2017-04-171-1/+7
|\| | | | | | | | | | | | | | | | | | | | | | | am: 8ae09bc376 Change-Id: I9052e1e0c85d2e2c76ed47c4c34ea9fb92e8825a
| * | | Merge "Slightly round corners of popup arrow" into ub-launcher3-dorvalTony Wickham2017-04-171-1/+7
| |\ \ \ | | |_|/ | |/| |
| | * | Slightly round corners of popup arrowTony2017-04-171-1/+7
| | | | | | | | | | | | | | | | | | | | Bug: 35766387 Change-Id: I8d2be54c977074dbcf0d5884f44347edd0217bb5
* | | | Merge "Updating getApplicationInfo to handle NameNotFoundException" into ↵Sunny Goyal2017-04-171-3/+15
|\| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | ub-launcher3-dorval am: 932f25ee18 Change-Id: I126ce1c79ae58ee251d2f77e8aa8fd78c01f9d12
| * | | Merge "Updating getApplicationInfo to handle NameNotFoundException" into ↵TreeHugger Robot2017-04-171-3/+15
| |\ \ \ | | | | | | | | | | | | | | | ub-launcher3-dorval
| | * | | Updating getApplicationInfo to handle NameNotFoundExceptionSunny Goyal2017-04-171-3/+15
| | | | | | | | | | | | | | | | | | | | | | | | | Bug: 37324177 Change-Id: If4caf7c61667fc874e7dbaff9f8c48b2c2cc107f
* | | | | Merge "Separating the DB upgrade into two paths: > schema update: changes in ↵Sunny Goyal2017-04-171-24/+68
|\| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | the table schema > data update: backward compatible changes to the data" into ub-launcher3-dorval am: d31692c0e7 Change-Id: If9b5e413401ac2b969a591acd81c8e6e1c7c2483
| * | | | Merge "Separating the DB upgrade into two paths: > schema update: changes in ↵TreeHugger Robot2017-04-171-24/+68
| |\ \ \ \ | | | | | | | | | | | | | | | | | | the table schema > data update: backward compatible changes to the data" into ub-launcher3-dorval
| | * | | | Separating the DB upgrade into two paths:Sunny Goyal2017-04-171-24/+68
| | |/ / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | > schema update: changes in the table schema > data update: backward compatible changes to the data Bug: 37257575 Change-Id: I856854ff2bffa2701f903a24fdc3baf6641175fd
* | | | | Merge "Ensure system shortcut icons always appear in correct order" into ↵Tony Wickham2017-04-142-2/+4
|\| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | ub-launcher3-dorval am: 50ba921aa8 Change-Id: Ie296f30e81bea966e1cfc88b81b33cbc1b5bf6e0
| * | | | Merge "Ensure system shortcut icons always appear in correct order" into ↵Tony Wickham2017-04-142-2/+4
| |\ \ \ \ | | | | | | | | | | | | | | | | | | ub-launcher3-dorval
| | * | | | Ensure system shortcut icons always appear in correct orderTony Wickham2017-04-132-2/+4
| | | |/ / | | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | - Remove "|| true" that I accidentally left in from testing on a different CL - Always reverse system shortcut icons that appear in the header of the ShortcutsItemView, so they are in priority order from right to left Bug: 35766387 Change-Id: Ia7ac5a72eb2f6d3795e35bd044c426ef46fc0ccc
* | | | | Merge "Update widgets bottom sheet to match redlines" into ub-launcher3-dorvalTony Wickham2017-04-132-50/+14
|\| | | | | | | | | | | | | | | | | | | | | | | | | | | | | am: 3741f8d9da Change-Id: If6fbb0dcd5ea8a947c586bddc624b98436863f92
| * | | | Update widgets bottom sheet to match redlinesTony Wickham2017-04-132-50/+14
| |/ / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | - Remove "Configurable shortcuts" row, and put all widgets in one row - Update some sizes and colors and text - Center widget row if only one widget Bug: 35766387 Change-Id: Ic3850feadee1cbbbdd68a772f597741d54949703
* | | | 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