summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Launcher state management cleanupSunny Goyal2017-10-1724-636/+520
| | | | | | | | | | > Removing Widgets and related states > Fixing different durations being used when opening/closing all-apps > Removing some unnecessary object allocations when changing state without animation > Differentiating widget bootm sheel and full sheet in logs Bug: 67678570 Change-Id: Ic169528736d04ee0b38564b4f96595ba066eabda
* Cleaning up drag state management.Sunny Goyal2017-10-1616-194/+111
| | | | | | | | | When the drag is started, the UI automatically goes into spring loaded mode. On a successful drop, it is the responsibility of the {@link DropTarget} to exit out of the spring loaded mode. If the drop was cancelled for some reason, the UI will automatically exit out of this mode. Bug: 34692289 Change-Id: Ic611739a43bb8d9279b587aaee3039326c143e8b
* Merge "Converting widget panel into a floating view" into ub-launcher3-masterSunny Goyal2017-10-1633-1609/+1024
|\
| * Converting widget panel into a floating viewSunny Goyal2017-10-1333-1609/+1024
| | | | | | | | | | | | | | | | | | | | | | | | | | > The widget panel is only inflated when needed > Using the swipe up/down interaction for widgets tray > Removing additional view wrappers from all-apps > Widget tray is preserved across activity recreation > Launcher no longer has WIDGET state, the actual code around the states will be removed in a follow-up cl Bug: 67678570 Bug: 67585158 Change-Id: Ia29a7c33ec81e6c53cc24e2906b7022b6f41755b
* | Merge changes from topic "am-cd88620d-8a17-4592-86c7-f98ff940a436" into ↵Tony Wickham2017-10-131-1/+1
|\ \ | |/ |/| | | | | | | | | | | ub-launcher3-master * changes: [automerger] Handle null small icon am: 207f7d7f86 Handle null small icon
| * [automerger] Handle null small icon am: 207f7d7f86Android Build Merger (Role)2017-10-061-1/+1
| |\ | | | | | | | | | Change-Id: I2003fe3d654829f8a2d1d16a38213cf5a262650f
| | * Handle null small iconTony2017-10-061-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | It shouldn't be possible to have a null small icon, but apparently there are cases where we get one anyway. Might as well handle it gracefully instead of crashing. Bug: 67156108 Change-Id: I01ad0251920f7f531a3019eb694946c3d295f9de
* | | Converting PopupContainerWithArrow into a base class so that it is easierSunny Goyal2017-10-109-512/+701
|/ / | | | | | | | | | | | | to create other types of popup Bug: 67585158 Change-Id: I966ae7bb90f941951b26feaf71b3ea30c3f3c0cc
* | Merge changes from topic "am-01ff3d34-0eea-44d5-99f7-af2df518afb2" into ↵Jonathan Miranda2017-10-061-1/+1
|\ \ | | | | | | | | | | | | | | | | | | | | | ub-launcher3-master * changes: [automerger] Fix bug where labels were visible in hotseat / invisible in workspace. am: f1eae802b5 Fix bug where labels were visible in hotseat / invisible in workspace.
| * \ [automerger] Fix bug where labels were visible in hotseat / invisible in ↵Android Build Merger (Role)2017-10-051-1/+1
| |\ \ | | | | | | | | | | | | | | | | | | | | workspace. am: f1eae802b5 Change-Id: If4155798256c6b806f6f89ef441df6e0f49b4e39
| | * | Fix bug where labels were visible in hotseat / invisible in workspace.Jon Miranda2017-10-041-1/+1
| | | | | | | | | | | | | | | | | | | | Bug: 67364623 Change-Id: Ib66a5cdaca767fd8546f4ffd02d590981bb8135a
* | | | Removing some obsolete callbacksSunny Goyal2017-10-065-128/+3
| | | | | | | | | | | | | | | | Change-Id: I3cf19a13ff145923f2973e23c24033f196324aa3
* | | | Merge "Moving install queue updates to worker thread." into ub-launcher3-masterTreeHugger Robot2017-10-064-112/+96
|\ \ \ \
| * | | | Moving install queue updates to worker thread.Sunny Goyal2017-10-064-112/+96
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This avoids acquiring a lock for upating the sharedPrefs during onResume as all the logic runs on a single thread. Bug: 67305604 Change-Id: I1bbea382da9fafb403b4e9508f393f78db28478d
* | | | | Merge "Merging duplicate logic for deferred drop handling in Worksace and ↵TreeHugger Robot2017-10-0612-205/+163
|\ \ \ \ \ | |/ / / / |/| | | | | | | | | Folder" into ub-launcher3-master
| * | | | Merging duplicate logic for deferred drop handling in Worksace and FolderSunny Goyal2017-10-0612-205/+163
| |/ / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | > All the logic is contained in UninstallDropTarget > Also fixing a bug were mWaitingForResume was not cleared Bug: 34692289 Change-Id: I617475ce53062902d6817954fb608198e6e03d3c
* | | | Merge "Instead of posponing state change until onResume, applying the state ↵TreeHugger Robot2017-10-051-31/+8
|\ \ \ \ | | | | | | | | | | | | | | | change directly in onCreate and onNewIntent()" into ub-launcher3-master
| * | | | Instead of posponing state change until onResume, applying the stateSunny Goyal2017-10-051-31/+8
| |/ / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | change directly in onCreate and onNewIntent() > State UI do not depend on view measurement and each state is able to adapt itself based on measure/layout. We do not need to wait for first layout pass before chaning the state. Bug: 67305604 Change-Id: I8906e3245cc07aac0038fe630e2a16875d4e8949
* | | | Merge "Polish animation when icon returns to Folder." into ub-launcher3-masterTreeHugger Robot2017-10-054-26/+44
|\ \ \ \
| * | | | Polish animation when icon returns to Folder.Jon Miranda2017-09-114-26/+44
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | ie. The animation when the user drags an icon from a Folder to a full workspace/hotseat. Bug: 31443188 Change-Id: If51b23cd8fc822543ac3f550f9fd2e48dd58e0e9
* | | | | Merge "Removing unnecessary layout pass happening due when chaning ↵TreeHugger Robot2017-10-053-4/+1
|\ \ \ \ \ | | | | | | | | | | | | | | | | | | gradientView visibility" into ub-launcher3-master
| * | | | | Removing unnecessary layout pass happening due when chaning gradientView ↵Sunny Goyal2017-10-023-4/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | visibility Change-Id: I0d8f0c2c995885143156a27536b0a2185d5eb0b8
* | | | | | Cancel notification group summary when all children are cancelled.Tony Wickham2017-10-052-2/+83
| |_|/ / / |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This requires maintaining notification group information by mapping groupKey's to the summary key and child keys. Bug: 65100024 Change-Id: Idd352ce5e243a0762bf30a9c79d36681456a1b17
* | | | | Merge "Removing some methods from the DragSource" into ub-launcher3-masterTreeHugger Robot2017-10-0512-123/+21
|\ \ \ \ \
| * | | | | Removing some methods from the DragSourceSunny Goyal2017-10-0312-123/+21
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This makes is easier to create new DragSource and sets up proper default values in DragOptions Change-Id: I6cb0b1df41b9730cf29f785fe85fe7f0b573ee3a
* | | | | | Merge "Moving widget reinflation to push model" into ub-launcher3-masterSunny Goyal2017-10-055-55/+71
|\ \ \ \ \ \
| * | | | | | Moving widget reinflation to push modelSunny Goyal2017-10-055-55/+71
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Instead of checking every widget, a widget which needs reinflation would post a callback on launcher avoiding unnecessary loops in onResume Bug: 67305604 Change-Id: I53e08d6f4795f7b716a9debca5c0c68dd25a7afe
* | | | | | | Merge "Removing predicted apps reset on every onResume" into ub-launcher3-masterTreeHugger Robot2017-10-055-56/+8
|\ \ \ \ \ \ \
| * | | | | | | Removing predicted apps reset on every onResumeSunny Goyal2017-10-045-56/+8
| |/ / / / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Predicted apps should be pushed by the called whenever they change instead of Launcher polling them on every UI update. Bug: 67305604 Change-Id: Ibd3d809b09b7d8fd39036f69367e8580fb90dcef
* | | | | | | Merge "Moving the wallpaper offset interpolator to background thread" into ↵TreeHugger Robot2017-10-053-136/+164
|\ \ \ \ \ \ \ | |/ / / / / / |/| | | | | | | | | | | | | ub-launcher3-master
| * | | | | | Moving the wallpaper offset interpolator to background threadSunny Goyal2017-10-053-136/+164
| |/ / / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Bug: 67305604 Bug: 25321240 Change-Id: I2d667a4d1a4b91ec2a11e5e171f8a1d1c4222b33
* | | | | | Merge "Removing buildLayer call on workspace pages." into ub-launcher3-masterTreeHugger Robot2017-10-033-92/+13
|\ \ \ \ \ \
| * | | | | | Removing buildLayer call on workspace pages.Sunny Goyal2017-10-023-92/+13
| | |/ / / / | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | > buildLayer was followed by setLayerType(NONE) which was causing the layer to get destroyed immediately and hece was never useful. > Also removing mAnimatingViewIntoPlace as after setting this to true updateChildLayer was never being called. Change-Id: I08a6da25de002247c956308973f1675c0e61e15c
* | | | | | Merge changes from topic "am-a465be7a-460d-4d89-9018-8c0df96ff268" into ↵TreeHugger Robot2017-10-033-4/+36
|\ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | ub-launcher3-master * changes: [automerger] Larger icons for L3Go and spacing changes. am: 846455e1ff Larger icons for L3Go and spacing changes.
| * \ \ \ \ \ [automerger] Larger icons for L3Go and spacing changes. am: 846455e1ffAndroid Build Merger (Role)2017-10-033-4/+36
| |\ \ \ \ \ \ | | |_|/ / / / | |/| | | | | | | | | | | | Change-Id: Iec2b04651788abaa3abb8a1b295a7f5eb1f92355
| | * | | | | Larger icons for L3Go and spacing changes.Jon Miranda2017-10-033-4/+36
| | | |_|/ / | | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | There are cases (ie. smaller devices) where the icon label is closer to the icon below it (rather than its corresponding icon). To fix this, we ensure that the drawable padding (space between the icon and its label) is no larger than the vertical padding of the cell. Bug: 67317867 Change-Id: Ic3729726eebb60b67d658361c4335e724b7d68d7
| | * | | | Merge "Remove discovery bounce for demo users" into ub-launcher3-dorval-polish2TreeHugger Robot2017-10-021-1/+4
| | |\ \ \ \
| | * \ \ \ \ Merge "Demo mode default layout support" into ub-launcher3-dorval-polish2TreeHugger Robot2017-10-020-0/+0
| | |\ \ \ \ \
* | | \ \ \ \ \ Merge "Removing extraction service and palette api dependency" into ↵TreeHugger Robot2017-10-0319-759/+13
|\ \ \ \ \ \ \ \ | |/ / / / / / / |/| | | | | | | | | | | | | | | ub-launcher3-master
| * | | | | | | Removing extraction service and palette api dependencySunny Goyal2017-09-2919-764/+17
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Change-Id: I30ad1a1462a97b6bc03f8e386ae3058c7fe022e5
* | | | | | | | Allowing the widgetBottomSheet to be draggedSunny Goyal2017-10-029-223/+192
| |_|_|_|/ / / |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | even when the touch is started from outside the panel Removing various instanceOf checks in onNewIntent and onBackPress and moving all the corresponding logging in the FloatingView This simplifies handling of panel specific log and avoids missing a particular panel type in the if-else statement. Bug: 64751884 Bug: 64751923 Change-Id: I98f5aae18560a64be73c9efcf495479740d49a00
* | | | | | | Moving some calls off the UI threadSunny Goyal2017-10-026-39/+105
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This saves ~5ms in onNewIntent Bug: 67305604 Change-Id: Ic97727b1c526e50bd3c8a1d8f511e1d7fd5e05e7
* | | | | | | Merge changes from topic "am-337c344f-ec88-4e4e-9ad7-07a92571f781" into ↵TreeHugger Robot2017-10-021-1/+4
|\ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | ub-launcher3-master * changes: [automerger] Remove discovery bounce for demo users am: 3993348043 Remove discovery bounce for demo users
| * \ \ \ \ \ \ [automerger] Remove discovery bounce for demo users am: 3993348043Android Build Merger (Role)2017-10-021-1/+4
| |\ \ \ \ \ \ \ | | | |_|_|/ / / | | |/| | | | | | | | | | | | | Change-Id: Id561b960f1b080ef9bf5d6245513401e859e2afb
| | * | | | | | Remove discovery bounce for demo usersAdam Cohen2017-10-021-1/+4
| | | |/ / / / | | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Bug 67116550 Change-Id: I8a27685f91e201072c0669c102077affe550fab6
| | * | | | | Merge "Fix predictiveApps Bug: 67010327" into ub-launcher3-dorval-polish2TreeHugger Robot2017-09-291-3/+5
| | |\ \ \ \ \
| | * \ \ \ \ \ Merge changes from topic "demoModeTopic" into ub-launcher3-dorval-polish2Adam Cohen2017-09-293-4/+17
| | |\ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * changes: [automerger] Demo mode default layout support am: 2782449da6 Demo mode default layout support
* | | | | | | | | Adding a utility method to simplify method tracingSunny Goyal2017-10-026-127/+130
|/ / / / / / / / | | | | | | | | | | | | | | | | | | | | | | | | Change-Id: I79ef0aa5d65b933f4b7f0520fc8bac26e366da2d
* | | | | | | | Merge changes from topic "demoMode" into ub-launcher3-masterTreeHugger Robot2017-10-020-0/+0
|\ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * changes: [automerger] Demo mode default layout support am: a81e8d855a Demo mode default layout support
| * \ \ \ \ \ \ \ [automerger] Demo mode default layout support am: a81e8d855aAndroid Build Merger (Role)2017-09-293-4/+17
| |\ \ \ \ \ \ \ \ | | | |_|_|_|/ / / | | |/| | | | | | | | | | | | | | | Change-Id: I9aba6363856ab41974bd052e9760aeaaa2523fea