summaryrefslogtreecommitdiffstats
path: root/src/com/android/launcher3/allapps
Commit message (Collapse)AuthorAgeFilesLines
* Merge "Merge branch 'ub-launcher3-dorval-polish2'" into oc-mr1-devTreeHugger Robot2017-09-196-25/+61
|\
| * Merge branch 'ub-launcher3-dorval-polish2'Jon Miranda2017-09-186-25/+61
| |\ | | | | | | | | | | | | | | | Bug: 64937210 Test: flashed img Change-Id: Id6a05e7be885bf5c53a41eab2573c6ae3a44dc55
| | * Updating the all-apps discovery bounce animationSunny Goyal2017-08-291-3/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | > Animation plays on every onResume > Updating animation to loop continuously on v23+ > Updating animation spec Bug: 64331951 Change-Id: Ic6fb8d6975b37f5b010fc585329cba615296f5c7
| | * Merge "Add spring to QSB when opening all apps." into ↵Jonathan Miranda2017-08-284-3/+39
| | |\ | | | | | | | | | | | | ub-launcher3-dorval-polish2
| | | * Add spring to QSB when opening all apps.Jon Miranda2017-08-234-3/+39
| | | | | | | | | | | | | | | | | | | | Bug: 64355491 Change-Id: I760856a32779b314c8b01ef2c051985e18b68ecb
| | * | Merge "Integrating suggested app by handling new status flags for shortcut ↵Mario Bertschler2017-08-252-17/+19
| | |\ \ | | | | | | | | | | | | | | | items." into ub-launcher3-dorval-polish2
| | | * | Integrating suggested app by handling new status flags for shortcut items.Mario Bertschler2017-08-242-17/+19
| | | |/ | | | | | | | | | | | | | | | | | | | | | | | | | | | | Guarded via feature flag SUGGESTED_APP. Bug: 62483883 Change-Id: I7e0c8a9875bc37c435aa4316b44322a628cd4826
| | * / Adding scrim in all-apps scrimSunny Goyal2017-08-241-2/+0
| | |/ | | | | | | | | | | | | Bug: 64692527 Change-Id: Ib8262ad0cc3c95cd419eb9fa1dee3bbbc2d25a27
* | / Ensure no diffs b/w oc-mr1-dev and ub-launcher3-dorval-polish2.Jon Miranda2017-08-291-2/+1
|/ / | | | | | | | | | | | | | | | | This should ensure that all future code drops will be able to merge cleanly. Bug: 64937210 Test: Manual test Change-Id: I4f7952d0e979402e120b29dc501ac7fff3de2879
* | merged ub-launcher3-dorval-polish2, and resolved conflictsJon Miranda2017-08-226-93/+127
|\| | | | | | | | | | | | | | | | | | | | | Conflicts: res/values-be/strings.xml res/values-et/strings.xml res/values-ms/strings.xml Bug: 64937210 Test: flashed img Change-Id: I28557d652cc5a547f8b94a60a41f381a5af2fa84
| * Merge "Remove LAUNCHER3_ALL_APPS_PULL_UP Bug: 63712253 Verified: all apps ↵TreeHugger Robot2017-08-212-39/+15
| |\ | | | | | | | | | 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-212-39/+15
| | | | | | | | | | | | | | | | | | | | | | | | Bug: 63712253 Verified: all apps transition fully functional Verified: NO_ALL_APPS_ICON = false case also works. Change-Id: I779fb7bd4927c5923da3f85590d912dbbbcdef4d
| * | Fixing duplicate/inconsistent definitions for model and callbacksSunny Goyal2017-08-172-21/+6
| |/ | | | | | | | | | | | | | | > 2 implementations for filtering workspace items > 2 implementations for binding widgets > duplicate logic for add and update appInfo Change-Id: Id68a49926af398478deca8ac85ab1f22341a9449
| * 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
| * [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
| * | \ [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
| * | | [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
| * | 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
| * | | Fixing various testsSunny Goyal2017-07-311-4/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | > 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
| * | | [automerger] Optimize updating All Apps Predictions. am: 7653a60c74Jonathan Miranda2017-07-302-17/+66
| |\ \ \ | | | |/ | | |/| | | | | Change-Id: Id7ebeee3d4cc605849ac95623ffe6321bc691b7a
| | * | Optimize updating All Apps Predictions.Jon Miranda2017-07-302-17/+66
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * 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
| | * | Merging ScrimView into GradientViewMario Bertschler2017-07-261-9/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Less banding, less drawing for All Apps Transition. Bug: 63873246 Change-Id: I6c7c856e2939a10db7e44b266c1d6d51334fd152
| | * | 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
| | * | Merge "Updating UserEventDispatcher to make some methods accessible." into ↵TreeHugger Robot2017-07-192-6/+12
| | |\ \ | | | | | | | | | | | | | | | ub-launcher3-dorval-polish
* | | | | merged ub-launcher3-dorval-polish2, and resolved conflictsAdam Cohen2017-07-308-385/+243
|\| | | | | | | | | | | | | | | | | | | Change-Id: Id46c5c59762243403ae15cf951e9723e15bad4e0
| * | | | Merge "Merging ScrimView into GradientView" into ub-launcher3-dorval-polish2Mario Bertschler2017-07-261-9/+0
| |\ \ \ \
| | * | | | Merging ScrimView into GradientViewMario Bertschler2017-07-261-9/+0
| | | |_|/ | | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Less banding, less drawing for All Apps Transition. Bug: 63873246 Change-Id: I6c7c856e2939a10db7e44b266c1d6d51334fd152
| * / | | 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
| * | | Using common fling detection logic for notification and all-appsSunny Goyal2017-07-202-40/+9
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | > Refactoring SwipeDetector to both allow vertical and horizontal swipes > Using SwipeDetector and common overscroll effect for notification swipes instead of a separate logic Change-Id: Ib706ee179811ade59ddb68184e1c202365d147c4
| * | | Merge commit 'refs/changes/98/2553198/2' of ↵Sunny Goyal2017-07-192-6/+12
| |\ \ \ | | | |/ | | |/| | | | | | | | | | | | | sso://googleplex-android/platform/packages/apps/Launcher3 into am-948a617f-f892-4399-bd5c-3dd472692cca Change-Id: I4b54791fcaaf09a9aad6774d19645e7d7793c75d
| | * | Updating UserEventDispatcher to make some methods accessible.Sunny Goyal2017-07-192-6/+12
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | > Removing helper methods around fillInLogContainerData so that its easier to create events with 3 and more srcTargets > Removing setPredictedApps from userEventDispatcher as its specific to Launcher and does not apply to other activities. Instead moving it to AllAppsRecyclerView Bug: 63719473 Change-Id: Ib92621e41ede4ffe03892642ab173772b5a84dd1
| * | | Using collator for string matching am: 05d2df1678Sunny Goyal2017-07-181-4/+53
| |\ \ \ | | | |/ | | |/| | | | | Change-Id: I0e25b3d84cac2d09491aa87c7dafb2c24e12d556
| | * | Using collator for string matchingSunny Goyal2017-07-181-4/+53
| | |/ | | | | | | | | | | | | | | | | | | This provides a better matching for non-latin characters on N and above Bug: 63763127 Change-Id: I220487d242ff547311ddd13e7af380a7e47eec0e
| * | Launcher3: Can't search out local app by Chineseyingrenw2017-07-181-1/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Description: Chinese content type is Character.OTHER_LETTER. When key matches,it check the content type. And if type is Character.OTHER_LETTER, it doesn't support search and break. When the content type is Character.OTHER_LETTER, make it work normally. Bug: 63534074 Change-Id: I3713f24c9206fe16a8da2a23e6c90d68079dd533 (cherry picked from commit a9f4bffbfc9802ca86a813de2bccea9572f710af)
| * | Accounting for bottom margin in the search box in app-scroll range am: ↵Sunny Goyal2017-07-171-1/+2
| |\| | | | | | | | | | | | | | | | 0bf251b643 Change-Id: Icd2c57f7de9b46d7d4581bea94faf7d132217094
| | * Accounting for bottom margin in the search box in app-scroll rangeSunny Goyal2017-07-171-1/+2
| | | | | | | | | | | | | | | Bug: 2539098 Change-Id: I9d7cdb05d33af397a4adcfc2f1f6c1d380b9fb0e
| | * Launcher3: Can't search out local app by Chineseyingrenw2017-07-121-1/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Description: Chinese content type is Character.OTHER_LETTER. When key matches,it check the content type. And if type is Character.OTHER_LETTER, it doesn't support search and break. When the content type is Character.OTHER_LETTER, make it work normally. Bug: 63534074 Change-Id: I3713f24c9206fe16a8da2a23e6c90d68079dd533
| * | Add tests to SwipeDetector (formerly VerticalPullDetector).Hyunyoung Song2017-07-064-321/+18
| |/ | | | | | | Change-Id: I09ab4f22d7204ad806825ab0d6374c2b9616bf39
| * Add overscroll to the top of All Apps.Jon Miranda2017-07-052-19/+43
| | | | | | | | | | | | | | | | | | | | | | | | * Overscroll at the top of all apps will occur when the user scrolls up, hits the top, and continues to scroll up. * Fixed bug where All Apps jumps when the user enters overscroll from a scroll that doesn't start at the bottom. * Fix bug where AllAppsRecyclerView stays translated even after the user has finished dragging. Bug: 62628421 Change-Id: Ia1d230a7cc07a7cf8c1a7c5211a025034ae5f6df
| * Merge "Don't enter overscroll when dragging fast scrollbar." into ↵Tony Wickham2017-07-051-1/+2
| |\ | | | | | | | | | ub-launcher3-dorval-polish
| | * Don't enter overscroll when dragging fast scrollbar.Tony2017-07-051-1/+2
| | | | | | | | | | | | | | | Bug: 63298293 Change-Id: Id3a6551df265c5a92ce5da6509fdac60fb44fcb7
| * | Merge "Sanitizing various search container ids and layout names" into ↵TreeHugger Robot2017-07-041-1/+1
| |\ \ | | |/ | |/| | | | ub-launcher3-dorval-polish
| | * Sanitizing various search container ids and layout namesSunny Goyal2017-06-271-1/+1
| | | | | | | | | | | | | | | Bug: 63014381 Change-Id: Ia75a8a048c7a85c6324f8861abd2bcf1721032fa
| * | Merge "Polish for all apps physics." into ub-launcher3-dorval-polishTreeHugger Robot2017-06-293-4/+8
| |\ \
| | * | Polish for all apps physics.Jon Miranda2017-06-293-4/+8
| | |/ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | By adjusting the start value based on the direction of the scroll, the springs will appear more smooth. This only changes the appearance of the spring when scrolling down, since the start value has always been 1 and thus looked fine when scrolling up. Bug: 38349031 Change-Id: I563e6e7cfdbc74c4a95adb22f90d5efe17dfa453