summaryrefslogtreecommitdiffstats
path: root/src/com/android
Commit message (Collapse)AuthorAgeFilesLines
* Adding support for badging instant app icons.Sunny Goyal2017-08-285-21/+84
| | | | Change-Id: Idc43a1a83e0a93f70879730a0acefbc124f9c0e2
* Merge "Add spring to QSB when opening all apps." into ↵Jonathan Miranda2017-08-285-6/+63
|\ | | | | | | ub-launcher3-dorval-polish2
| * Add spring to QSB when opening all apps.Jon Miranda2017-08-235-6/+63
| | | | | | | | | | Bug: 64355491 Change-Id: I760856a32779b314c8b01ef2c051985e18b68ecb
* | Merge "Integrating suggested app by handling new status flags for shortcut ↵Mario Bertschler2017-08-2516-45/+137
|\ \ | | | | | | | | | items." into ub-launcher3-dorval-polish2
| * | Integrating suggested app by handling new status flags for shortcut items.Mario Bertschler2017-08-2416-45/+137
| | | | | | | | | | | | | | | | | | | | | | | | Guarded via feature flag SUGGESTED_APP. Bug: 62483883 Change-Id: I7e0c8a9875bc37c435aa4316b44322a628cd4826
* | | Merge "Adding scrim in all-apps scrim" into ub-launcher3-dorval-polish2TreeHugger Robot2017-08-251-2/+0
|\ \ \
| * | | Adding scrim in all-apps scrimSunny Goyal2017-08-241-2/+0
| |/ / | | | | | | | | | | | | Bug: 64692527 Change-Id: Ib8262ad0cc3c95cd419eb9fa1dee3bbbc2d25a27
* / / Hides text on ButtonDropTargets if any of them are ellipsized.Jon Miranda2017-08-243-2/+85
|/ / | | | | | | | | | | | | | | | | This can happen on small devices or on devices where Font/Display size is enlarged and when Developer Options is turned on when all three options {Uninstall, Delete, App Info} are shown at once. Bug: 64391860 Change-Id: If355d28087d53148114eb586efb3c26f158b3713
* | Merge "Remove flicker when multiple apps are added/removed/updated on widget ↵Hyunyoung Song2017-08-244-22/+201
|\ \ | | | | | | | | | tray" into ub-launcher3-dorval-polish2
| * | Remove flicker when multiple apps are added/removed/updated on widget trayHyunyoung Song2017-08-234-22/+201
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Bug: 36718342 1.The flicker was also happening partially because notifyWidgetProviderChanged callback also made the entire widget list to update in addition to packageManager update. 2. Now that adapter calls notifyItemInserted, Removed, the recycler view uses it's internal animation to elegantly move items or insert them. (added benefit!) 3. Added tests for WidgetsListAdapterTest $ adb shell am instrument -w -e class com.android.launcher3.widget.WidgetsListAdapterTest com.google.android.apps.nexuslauncher.tests/android.support.test.runner.AndroidJUnitRunner com.android.launcher3.widget.WidgetsListAdapterTest:. Time: 0.337 OK (6 test) Change-Id: I0818d546532631bf889fae560118decff64ec5a4 Signed-off-by: Hyunyoung Song <hyunyoungs@google.com>
* | | Applying the widget resize changes even when the activity is destroyedSunny Goyal2017-08-232-8/+5
| | | | | | | | | | | | | | | | | | | | | in the middle of the resize interaction. Bug: 64759853 Change-Id: I65ab7df0426f36fe1121bf055e38fc722822b0f4
* | | Show progress dialog when uninstalling an app in Launcher3Go.Jon Miranda2017-08-231-11/+19
| |/ |/| | | | | | | | | | | | | | | | | | | This ensures that the uninstall activity will finish only after the task is completed. We initially assumed that this was always the case, but in Android Go the uninstall activity finishes before the uninstall is completed. Bug: 64033585 Change-Id: Ic5d8dd99e2fecd0c9cb24093ee66668b4b38cb1a
* | Merge "Remove notification dots setting for Launcher3Go" into ↵Tony Wickham2017-08-223-6/+2
|\ \ | | | | | | | | | ub-launcher3-dorval-polish2
| * | Remove notification dots setting for Launcher3GoTony Wickham2017-08-143-6/+2
| | | | | | | | | | | | | | | | | | | | | Also remove BADGE_ICONS flag as it is no longer used or necessary. Bug: 64561196 Change-Id: Icf9656537459a7dbad3a07830eedbdeec8d8f1ce
* | | Adjusting reflection api for color addOnColorsChangedListener thatMario Bertschler2017-08-211-3/+3
| |/ |/| | | | | | | | | | | | | | | caused reflection to break. The new api method is available in both DR and MR1. Bug: 64908004 Bug: 64839046 Change-Id: I812c320e2c817aea8264de8764e33ad218b591c5
* | Merge "Simplifying some package matching code by using common itemInfo ↵TreeHugger Robot2017-08-217-101/+100
|\ \ | | | | | | | | | mathcher" into ub-launcher3-dorval-polish2
| * | Simplifying some package matching code by using common itemInfo mathcherSunny Goyal2017-08-177-101/+100
| | | | | | | | | | | | Change-Id: Ib98d528391e19c0de3fe11304330dfa37710548c
* | | Merge "Remove LAUNCHER3_ALL_APPS_PULL_UP Bug: 63712253 Verified: all apps ↵TreeHugger Robot2017-08-218-70/+29
|\ \ \ | | | | | | | | | | | | transition fully functional Verified: NO_ALL_APPS_ICON = false case also works." into ub-launcher3-dorval-polish2
| * | | Remove LAUNCHER3_ALL_APPS_PULL_UPHyunyoung Song2017-08-218-70/+29
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Bug: 63712253 Verified: all apps transition fully functional Verified: NO_ALL_APPS_ICON = false case also works. Change-Id: I779fb7bd4927c5923da3f85590d912dbbbcdef4d
* | | | Merge "Fixing bindAllApplications scheduled with null list." into ↵TreeHugger Robot2017-08-182-35/+59
|\ \ \ \ | | | | | | | | | | | | | | | ub-launcher3-dorval-polish2
| * | | | Fixing bindAllApplications scheduled with null list.Sunny Goyal2017-08-182-35/+59
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | When deferring bindAllApplications, the same global state was being used to store the pending state. This global state was being cleared in one deferred execution after a second execution was scheduled, causing the second execution to get null/wrong values. Instead using independent local/anonymous class to maintian states, so that it does not get cleared by other methods. Bug: 64789383 Change-Id: I78477a110fe663603b4bdeb7d1fac7c4ce0831a2
* | | | | Merge "Fixing wrong intests being sent to DeviceProfile in case of lowRam ↵TreeHugger Robot2017-08-182-10/+22
|\ \ \ \ \ | |/ / / / |/| | | | | | | | | device Also fixing the navbar to dark theme when a black bar is drawn behind nav bar" into ub-launcher3-dorval-polish2
| * | | | Fixing wrong intests being sent to DeviceProfile in case of lowRam deviceSunny Goyal2017-08-182-10/+22
| | |/ / | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Also fixing the navbar to dark theme when a black bar is drawn behind nav bar Fixing left/right margins not getting updated on lowRam device when they change from non-zero value to 0 Bug: 64363693 Bug: 62547502 Change-Id: I4952ad2f564b71b39318350445f116a0f601a10f
* / | | Fixing crashloop due to ag/2750101Sunny Goyal2017-08-181-6/+10
|/ / / | | | | | | | | | Change-Id: Idebf6bfad4e56a52780b848fbb09b3a0134ffdc2
* / / Fixing duplicate/inconsistent definitions for model and callbacksSunny Goyal2017-08-1710-139/+56
|/ / | | | | | | | | | | | | | | > 2 implementations for filtering workspace items > 2 implementations for binding widgets > duplicate logic for add and update appInfo Change-Id: Id68a49926af398478deca8ac85ab1f22341a9449
* | Merge "Simpifying uninstall drop target to check item type instead of class ↵Sunny Goyal2017-08-151-14/+6
|\ \ | | | | | | | | | instance" into ub-launcher3-dorval-polish2
| * | Simpifying uninstall drop target to check item type instead of class instanceSunny Goyal2017-08-151-14/+6
| |/ | | | | | | | | Bug: 64719848 Change-Id: I34c13b461e204fbdc2c5b4ed6fa92564ebd5439a
* | Merge "Fix bug where all apps items fade in." into ub-launcher3-dorval-polish2TreeHugger Robot2017-08-151-2/+2
|\ \
| * | Fix bug where all apps items fade in.Jon Miranda2017-08-151-2/+2
| |/ | | | | | | | | | | | | | | Removes all Add/Change/Move/Remove animations by clearing the AllAppsRecyclerView ItemAnimator. Bug: 64675794 Change-Id: I41f975ab6be4bf48c483828ea6f109382a8a9320
* / Get rid of unnecessary int array allocation.Rajeev Kumar2017-08-141-9/+9
|/ | | | | | Bug: 64656232 Change-Id: Ifc811c3930b8052d57fa33d35b9d50f11b541c94 Test: Tested manually
* [automerger] Fix bug where all apps scrollbar jumps. am: bb10fa8fc2Jonathan Miranda2017-08-141-0/+1
|\ | | | | | | Change-Id: I656c3482de28f7b50c0526cf10eacb6847e19447
| * Fix bug where all apps scrollbar jumps.Jon Miranda2017-08-141-0/+1
| | | | | | | | | | | | | | | | | | | | The problem is that rowAppIndex is not being set when we swap in the new predictions. So when we call AllAppsRecyclerView#getCurrentScrollY, the "item.rowAppIndex == 0" clause returns true for every predicted app, which results in a larger than expected value. Bug: 64628968 Change-Id: I37ca660522b5a99666de2ea0b9c0aa8cd3732aca
| * Merge "Switch the status bar color earlier in the all apps transition" into ↵TreeHugger Robot2017-08-041-1/+3
| |\ | | | | | | | | | ub-launcher3-dorval-polish
| * \ Merge "Fix bug where user gets stuck in overscroll." into ↵TreeHugger Robot2017-08-041-10/+14
| |\ \ | | | | | | | | | | | | ub-launcher3-dorval-polish
* | \ \ Merge "Defer some work until after workspace fade-in" into ↵Tony Wickham2017-08-103-0/+42
|\ \ \ \ | | | | | | | | | | | | | | | ub-launcher3-dorval-polish2
| * | | | Defer some work until after workspace fade-inTony2017-08-043-0/+42
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Defer: - Setting all apps - Setting widgets Also set the launcher-loader thread to THREAD_PRIORITY_BACKGROUND for the duration of the animation. Bug: 37965432 Change-Id: I8364940805b84aecb8353a473ab4d575c27bfec4
* | | | | Fix bug where workspace is not aligned with hotseat in landscape.Jon Miranda2017-08-091-1/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The padding was added to the hotseat, but not to the workspace screens. Only affects landscape where bottomPadding != 0. Bug: 63996463 Change-Id: I8be0e36128963a1856d2effa76fdb2a6cfd966a8
* | | | | Merge "Update hotseat cell height calculation." into ub-launcher3-dorval-polish2TreeHugger Robot2017-08-091-1/+1
|\ \ \ \ \
| * | | | | Update hotseat cell height calculation.Jon Miranda2017-08-091-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The hotseat never has text, so we remove the icon drawable padding from the height calculation. This allows the items in the hotseat to be centered vertically properly. Bug: 63996463 Change-Id: Ie0c5706ae6edeafae321ca024c066439d40ca237
* | | | | | Merge "Making some methods accessible" into ub-launcher3-dorval-polish2TreeHugger Robot2017-08-092-2/+2
|\ \ \ \ \ \ | |/ / / / / |/| | | | |
| * | | | | Making some methods accessibleSunny Goyal2017-08-072-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Bug: 63996463 Change-Id: I3cd2e21b8aa6744fc8003a131178ce1671e024dd
* | | | | | Fixing badge bounds incorrectly set when dragging iconSunny Goyal2017-08-071-3/+6
|/ / / / / | | | | | | | | | | | | | | | | | | | | Bug: 64427027 Change-Id: If57bdcab703b2cc30e8ca0c0fba0dd599792bd00
* | | | | [automerger] Switch the status bar color earlier in the all apps transition ↵Adam Cohen2017-08-041-1/+3
|\ \ \ \ \ | | |_|_|/ | |/| | | | | | | | | | | | | | | | | | am: 3051dbabe7 Change-Id: I12f952a555287173bc7ad5e3acca3aaad2b6a1df
| * | | | Switch the status bar color earlier in the all apps transitionAdam Cohen2017-08-041-1/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | -> When LAUNCHER3_GRADIENT_ALL_APPS is true, switch the status / nav bar to be dark when the transition is 75% of the way through, since at this point the gradient is already substantially under the status bar. issue 64385775 Change-Id: Ie27b8f2afa404c0b3081a4f17daa92ef4e0472bc
* | | | | Merge changes from topic 'am-4864e8c3-e581-4e7f-bc1f-7276c1bf7352' into ↵TreeHugger Robot2017-08-041-10/+14
|\ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | ub-launcher3-dorval-polish2 * changes: [automerger] Fix bug where user gets stuck in overscroll. am: 27ad267a81 Fix bug where user gets stuck in overscroll.
| * \ \ \ \ [automerger] Fix bug where user gets stuck in overscroll. am: 27ad267a81Jonathan Miranda2017-08-031-10/+14
| |\ \ \ \ \ | | |_|/ / / | |/| | | / | | | |_|/ | | |/| | Change-Id: I5437e02a5c16eefd05c3414c98f77b96bfb0b2ca
| | * | | Fix bug where user gets stuck in overscroll.Jon Miranda2017-08-031-10/+14
| | |/ / | | | | | | | | | | | | | | | | | | | | | | | | | | | | By not intercepting touch when in overscroll, the user can immediately exit by swiping the opposite direction. Bug: 64094565 Change-Id: I0b4e3e7a38d90d4e6a336985d939d177a8f04c9b
* | | | Unbind notification listener when badging is disabledTony2017-08-034-33/+176
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | - Added SettingsObserver as wrapper around ContentObserver to observe Secure or System setting changes. - NotificationListener and LauncherAppState observe changes to the notification dots setting and unbind and rebind the NotificationListener service, respectively. Bug: 36815147 Change-Id: I2cc04ac816a8974969ad0ec759c5402e181fde24
* | | | Merge commit 'refs/changes/84/2659484/1' of ↵Tony2017-08-031-8/+14
|\ \ \ \ | |/ / / |/| | / | | |/ | |/| | | | sso://googleplex-android/platform/packages/apps/Launcher3 into am-860fd7dd-f3a3-4500-8fc2-78d473322b94 Change-Id: I0b39a20cee47d4aba4a033196db3df78b2357b7b
| * | Add new GradientView just for WidgetsBottomSheetTony Wickham2017-08-031-8/+14
| |/ | | | | | | | | | | | | | | Reusing the one behind all apps caused problems when opening widgets sheets from all apps. Bug: 64344341 Change-Id: Ia964d8456645c78614f94693f9538dbac4f566a0