summaryrefslogtreecommitdiffstats
path: root/src/com
Commit message (Collapse)AuthorAgeFilesLines
* [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
| * | | | Making the whole preference entry a single tap target when notification accessSunny Goyal2017-08-012-14/+10
| | |/ / | |/| | | | | | | | | | | | | | | | | | | | | | is not available Bug: 64232287 Change-Id: I93dadfb88ee5d008dee7582c5f37ea3d354330cd
| * | | Merge "More launcher grid updates." into ub-launcher3-dorval-polishTreeHugger Robot2017-07-311-9/+9
| |\ \ \
| * \ \ \ Merge "Sending onCreate to the callbacks after our call is complete" into ↵TreeHugger Robot2017-07-311-3/+4
| |\ \ \ \ | | | | | | | | | | | | | | | | | | ub-launcher3-dorval-polish
| * \ \ \ \ Merge "Optimize updating All Apps Predictions." into ub-launcher3-dorval-polishTreeHugger Robot2017-07-303-17/+69
| |\ \ \ \ \
| * \ \ \ \ \ Merge "Use deep shortcuts' icons as a fallback when updating" into ↵Tony Wickham2017-07-293-4/+18
| |\ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | ub-launcher3-dorval-polish
* | \ \ \ \ \ \ Merge "Fixing various tests" into ub-launcher3-dorval-polish2Sunny Goyal2017-08-012-8/+6
|\ \ \ \ \ \ \ \
| * | | | | | | | Fixing various testsSunny Goyal2017-07-312-8/+6
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | > Migrating UI tests to AndroidJUnit4 for better support > Removing obsolete RotationPreference test > Fixing broken FileLogTest and AndroidJUnit4 > Removing InvariantDeviceProfileTest as it does not work well with resource overlays Change-Id: I0abb1df6765d76d86c1c6c84e8ac35eb9a6bcdaa
* | | | | | | | | Merge changes from topic 'am-a22b6313-cfa4-4acb-82af-8534aaefc2de' into ↵TreeHugger Robot2017-07-311-9/+9
|\ \ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | ub-launcher3-dorval-polish2 * changes: [automerger] More launcher grid updates. am: 3f9bab2fe4 More launcher grid updates.
| * \ \ \ \ \ \ \ \ [automerger] More launcher grid updates. am: 3f9bab2fe4Jonathan Miranda2017-07-281-9/+9
| |\ \ \ \ \ \ \ \ \ | | | |_|_|_|_|/ / / | | |/| | | | | | | | | | | | | | | | | Change-Id: I1f2507401fb8a0ea961fa1b2280d2d5f15a0b085
| | * | | | | | | | More launcher grid updates.Jon Miranda2017-07-281-9/+9
| | | |/ / / / / / | | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Increase padding when in All Apps landscape. * Calculate aspectRatio using width/height instead of availableWidth/Height. * Instead of increasing page indicator size, we add the extra height to the Hotseat. Bug: 63996463 Bug: 63149981 Change-Id: I1ee3549b4089b277704d5d72e1b7cb5a2abdbd5a
* | | | | | | | | [automerger] Sending onCreate to the callbacks after our call is complete ↵Sunny Goyal2017-07-311-3/+4
|\ \ \ \ \ \ \ \ \ | |_|_|/ / / / / / |/| | | | | / / / | | |_|_|_|/ / / | |/| | | | | | | | | | | | | | am: 14b3240eca Change-Id: If854ef0686bf528a41778f8ec0ab3779f2122e54
| * | | | | | | Sending onCreate to the callbacks after our call is completeSunny Goyal2017-07-311-3/+4
| | |/ / / / / | |/| | | | | | | | | | | | | | | | | | | | | | | | | | Bug: Bug: 63381480 Change-Id: Ib5fcd9ef500a91fef93c9e5af657b23723748ccc
* | | | | | | [automerger] Optimize updating All Apps Predictions. am: 7653a60c74Jonathan Miranda2017-07-303-17/+69
|\ \ \ \ \ \ \ | | |_|_|/ / / | |/| | | | | | | | | | | | Change-Id: Id7ebeee3d4cc605849ac95623ffe6321bc691b7a
| * | | | | | Optimize updating All Apps Predictions.Jon Miranda2017-07-303-17/+69
| |/ / / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Prefetch existing predictions in onResume. * Only update predictions if something has been changed. * Swap predictions in place (if possible) -- this avoids having to relayout all of All Apps when just the predictions change. Bug: 64126588 Bug: 63711551 Change-Id: Iffa0d9d7d6f99f606dd68b7df5893d6eba1574f5
| * | | | | Merge "Remove extra call to AllAppsContainerView#reset." into ↵TreeHugger Robot2017-07-271-3/+1
| |\ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | ub-launcher3-dorval-polish
| * \ \ \ \ \ Merge "Launcher grid changes." into ub-launcher3-dorval-polishTreeHugger Robot2017-07-261-9/+13
| |\ \ \ \ \ \
| * | | | | | | Merging ScrimView into GradientViewMario Bertschler2017-07-265-173/+66
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Less banding, less drawing for All Apps Transition. Bug: 63873246 Change-Id: I6c7c856e2939a10db7e44b266c1d6d51334fd152
| * | | | | | | Merge "All Apps physics polish." into ub-launcher3-dorval-polishJonathan Miranda2017-07-262-32/+23
| |\ \ \ \ \ \ \
| | * | | | | | | All Apps physics polish.Jon Miranda2017-07-262-32/+23
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | With this change, the springs will now animate if your finger is on the RecyclerView while you hit the top/bottom. This covers the case when the user has few apps (ie. the RecyclerView does not scroll very much). Bug: 64041310 Change-Id: Ia72aea05d62a6fb896fdb7df379d6c7abd188d6d