summaryrefslogtreecommitdiffstats
path: root/src
Commit message (Collapse)AuthorAgeFilesLines
* 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
* | [automerger] Optimizations to reduce all apps jank. am: 7f522a25c3Jonathan Miranda2017-08-023-16/+29
|\| | | | | | | Change-Id: Ia2f5fd2f8be050b32fa6b25fef9f3f54b1501c2b
| * Optimizations to reduce all apps jank.Jon Miranda2017-08-023-16/+29
| | | | | | | | | | | | | | | | | | | | * Since adding springs to the apps in All Apps, it is no longer efficient to build a hardware layer for it. * Pre-uploads bitmaps to RenderThread. * Only add overview animations if we are transitioning to/from it. Bug: 63711551 Change-Id: I948267598e95ec59dc156acb9abe6b5b789110c0
| * Merge "Landscape launcher grid/all apps to spec." into ↵TreeHugger Robot2017-08-021-45/+65
| |\ | | | | | | | | | ub-launcher3-dorval-polish
* | \ Merge "Updating fade-effect parameters: > Shifting the effect at the edge in ↵TreeHugger Robot2017-08-021-2/+23
|\ \ \ | | | | | | | | | | | | the presence of padding > Removing fade effect at the bottom > Fixing wrong call for translating children" into ub-launcher3-dorval-polish2
| * | | Updating fade-effect parameters:Sunny Goyal2017-07-261-2/+23
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | > Shifting the effect at the edge in the presence of padding > Removing fade effect at the bottom > Fixing wrong call for translating children Bug: 63003761 Change-Id: Ia9d030de60e933a2e688496109d62977885c2c0d
* | | | [automerger] Landscape launcher grid/all apps to spec. am: 18751b649dJonathan Miranda2017-08-011-45/+65
|\ \ \ \ | | |_|/ | |/| | | | | | Change-Id: I5a859814fe44d1f91ccb21553bc91df0c6f287a1
| * | | Landscape launcher grid/all apps to spec.Jon Miranda2017-08-011-45/+65
| | | | | | | | | | | | | | | | | | | | | | | | | | | | * Moves FastScroller to the right. Bug: 64160529 Change-Id: Ie0dfc0a2f0f2d6f6366e4f299769148d76017782
* | | | disabling feature flag LAUNCHER3_UPDATE_SOFT_INPUT_MODEMario Bertschler2017-08-011-1/+1
| | | | | | | | | | | | | | | | Change-Id: I10d0a19487331f8e6c19c2cce659f670849caab8
* | | | Merge "Moving GradientView background alpha to resources" into ↵TreeHugger Robot2017-08-011-9/+8
|\ \ \ \ | | | | | | | | | | | | | | | ub-launcher3-dorval-polish2
| * | | | Moving GradientView background alpha to resourcesSunny Goyal2017-07-271-9/+8
| | | | | | | | | | | | | | | | | | | | | | | | | Bug: 63072570 Change-Id: Ie982a5a33ece72942ebee79e4eb81f83da7b31c4
* | | | | [automerger] Making the whole preference entry a single tap target when ↵Sunny Goyal2017-08-012-14/+10
|\ \ \ \ \ | | |_|_|/ | |/| | | | | | | | | | | | | | | | | | notification access is not available am: b65e13ca83 Change-Id: I4a2aab526002c59fcbc479121451988ae0872c23