summaryrefslogtreecommitdiffstats
path: root/quickstep
Commit message (Collapse)AuthorAgeFilesLines
* Update interpolators and durations for state animationsTony Wickham2018-05-165-8/+24
| | | | | | | | | | | | | | | | | | | When we enter overview (overview appears, workspace disappears): - Workspace scales down from 1f to .8f with OvershootInterpolator(1.2f) at 200 ms - Workspace fades from 1f to 0 with OvershootInterpolator(1.2f) at 200 ms - Overview scales down from 1.33f to 1f with OvershootInterpolator(1.2f) at 200 ms - Overview fades from 0 to 1f with OvershootInterpolator(1.2f) at 200 ms When we exit overview (overview disappears, workspace appears): - Workspace scales up from .92f to .1f with DecelerateInterpolator() at 200 ms - Workspace fades from 0 to 1f with AccelerateInterpolator() at 200 ms - Overview scales up from 1f to 1.1f with AccelerateInterpolator() at 180ms - Overview fades from 1f to 0 with DecelerateInterpolator(1.7f) at 200 ms Parallax while the finger moves: Workspace translates half the distance as the shelf Bug: 79776746 Change-Id: I319d982cf202bcd6dbbcd68ffc5c0c7853629c7e
* Fixing Recents sometimes restoring in Clear-all-reveal position.Vadim Tryshev2018-05-161-4/+12
| | | | | | | | This happened if a task was added between openings of Recents. Bug: 72222505 Test: Manual Change-Id: Id4cc8e7cbdb493973d329466369b62e4ac8ee0b3
* Merge "Make fling thresholds consistent" into ub-launcher3-edmontonTony Wickham2018-05-162-23/+36
|\
| * Make fling thresholds consistentTony Wickham2018-05-162-23/+36
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | There are 3 places we can block a fling: - Swiping from home to all apps (through overview) - Swiping from an app to all apps (through overview) - Dismissing a task (in the same gesture that started by swiping down) In all of these cases, we block the fling when crossing the threshold to a new state (e.g. OVERVIEW), but unblock if the user pauses their drag. With this change, the logic is consistent: - Unblock the fling after pausing a short amount of time - If a fling was blocked, increase the settling duration based on velocity Bug: 78089840 Bug: 78658678 Change-Id: I5ef52b74229418b867b26c3c6d3db2cf6e48914b
* | Merge "Logging Square button presses opening Recents" into ub-launcher3-edmontonTreeHugger Robot2018-05-163-5/+36
|\ \
| * | Logging Square button presses opening RecentsVadim Tryshev2018-05-153-5/+36
| |/ | | | | | | | | | | | | | | | | | | Examples of traces are in notes. Using the button for closing Recents is not logged. Dooble-tap logs only one entry. Bug: 79437767 Test: logcat Change-Id: Ic2c50ecc937dd2e9cb4b3a7c7439d77bba9b372c
* | First task should launch when tapped.Hyunyoung Song2018-05-162-12/+9
| | | | | | | | | | | | | | Broken from previous CL. Bug: 79539824 Change-Id: I9c4b00731afeeb815d2c7f3dcaf4ae4f029dec30
* | Merge "Fixing task location calculation in seascape" into ub-launcher3-edmontonTreeHugger Robot2018-05-161-3/+4
|\ \
| * | Fixing task location calculation in seascapeSunny Goyal2018-05-141-3/+4
| | | | | | | | | | | | | | | | | | > In seascape, the task is aligned to the left insets Change-Id: I2bc090698320045a014dc713d57ca412a58bf9e4
* | | Merge "Fix app open animation when in overview mode." into ub-launcher3-edmontonTreeHugger Robot2018-05-161-0/+27
|\ \ \
| * | | Fix app open animation when in overview mode.Jon Miranda2018-05-161-0/+27
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Avoids scrim hard line by animating the RecentsViewContainer and AllAppsTransitionController progress. Bug: 79689563 Change-Id: If467e07667ae4d6eeac663608f77bec0eb7ef82f
* | | | Merge "Dumping the excoded view hierarchy instead of the default activity ↵Sunny Goyal2018-05-162-0/+34
|\ \ \ \ | | | | | | | | | | | | | | | dump" into ub-launcher3-edmonton
| * | | | Dumping the excoded view hierarchy instead of the default activity dumpSunny Goyal2018-05-162-0/+34
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | > Encoded hierarchy is smaller is size and has a lot more information about the views Bug: 79861035 Change-Id: I84316b1b0031282b0579f3aaac22d8d8f00d8bcb
* | | | | Merge "Adding Clear All to accessibility chevron on Recents" into ↵TreeHugger Robot2018-05-161-0/+43
|\ \ \ \ \ | | | | | | | | | | | | | | | | | | ub-launcher3-edmonton
| * | | | | Adding Clear All to accessibility chevron on RecentsVadim Tryshev2018-05-161-0/+43
| |/ / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | For motivation, see email thread "Tweaks to for the reverted order of accessibility swiping" This doesn't add the action to the fallback Recents, so it will require more work. Bug: 79165501 Test: Manual Change-Id: I99d608ccc13cc1742dc4d427e763125788e8edd2
* / / / / Improve Task user event loggingHyunyoung Song2018-05-163-18/+22
|/ / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Bug: 79539824 Bug: 79541772 (1) Added page index of the TASK that is being launched (2) Covers all three cases of task launch (tap, swipe down, quick scrub) UserEvent: action:FLING direction=DOWN UserEvent: Source child:TASK, packageHash=-1598699687, componentHash=1952702153, pageIdx=0 UserEvent: action:DRAGDROP UserEvent: Source child:TASK, packageHash=-744307622, componentHash=-515832044, pageIdx=4 (3) Avoid double logging (When onStop is called, it is not logged if the cause of onStop is APP or TASK launch) Change-Id: Ic5db7d6a640d43bfb5cd667b49e37dd0ed127d5c
* | | / Loading task tiles on accessibility scrollingVadim Tryshev2018-05-151-0/+1
| |_|/ |/| | | | | | | | | | | | | | Bug: 79749339 Change-Id: I5bd2652c0fca08ddd5e366415411b9b99caa71fb Testing: Manual
* | | Merge "Add logging for Onboarding Bug: 73784423" into ub-launcher3-edmontonHyunyoung Song2018-05-154-1/+69
|\ \ \
| * | | Add logging for OnboardingHyunyoung Song2018-05-154-1/+69
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Bug: 73784423 * Discovery bounce, homescreen, hotseat UserEvent: action:TIP UserEvent: Source child:HOTSEAT id=0 BOUNCE * Discovery bounce, overview, prediction UserEvent: action:TIP UserEvent: Source child:PREDICTION BOUNCE * Swipe up from navbar text (visibility, cancel target) UserEvent: action:TIP UserEvent: Source child:TIP SWIPE_UP_TEXT UserEvent: action:TAP UserEvent: Source child:CANCEL_TARGET SWIPE_UP_TEXT * Quickscrub text (visibility, cancel target) UserEvent: action:TIP UserEvent: Source child:TIP QUICK_SCRUB_TEXT UserEvent: action:TAP UserEvent: Source child:CANCEL_TARGET QUICK_SCRUB_TEXT * Prediction apps text (visibility, cancel target) UserEvent: action:TAP UserEvent: Source child:TIP PREDICTION_TEXT UserEvent: action:TAP UserEvent: Source child:CANCEL_TARGET PREDICTION_TEXT Change-Id: I94710b5ed3d00e3599985b154eb660af4a958288
* | | | Merge "Tune quick scrub" into ub-launcher3-edmontonTony Wickham2018-05-157-38/+66
|\ \ \ \ | |_|/ / |/| | |
| * | | Tune quick scrubTony Wickham2018-05-157-38/+66
| | |/ | |/| | | | | | | | | | | | | | | | | | | - Change durations/interpolators when starting from home vs an app - Increase dim animation duration after quick scrub from an app - Also fixed contention between setting dim alpha for the animation and setting dim alpha for scrolling Change-Id: I2c9ea52d4eafaad8954f3ff9d3c0c459a07953bc
* | | Keep clear-all button revealed after dismissVadim Tryshev2018-05-151-3/+19
| |/ |/| | | | | | | | | | | | | | | | | If it was visible before the dismiss, it will be visible after that. As a nice side effect, it will preserve visibility on any layout, say, after a rotation. Bug: 79117932 Test: Manual Change-Id: Ia8a544af1326458d4e2d7a07ae2b668f604bc0b3
* | Merge "Scrolling on the most recent task upon Overview start" into ↵TreeHugger Robot2018-05-151-10/+3
|\ \ | | | | | | | | | ub-launcher3-edmonton
| * | Scrolling on the most recent task upon Overview startVadim Tryshev2018-05-141-10/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Fixes this problem: 1. Open a single task in Recents 2. Dismiss via Clear-all 3. Start a task 4. Press Home 5. Press square button get Recents revealing Clear All button Bug: 79117932 Test: Manual Change-Id: I47bcc50cb72f1757025d2abac0196460e0bb3f36
* | | Merge "Ensure that animaiton.end() is properly dispatched" into ↵TreeHugger Robot2018-05-141-0/+1
|\ \ \ | | | | | | | | | | | | ub-launcher3-edmonton
| * | | Ensure that animaiton.end() is properly dispatchedSunny Goyal2018-05-141-0/+1
| | |/ | |/| | | | | | | | | | | | | | | | | | | When window animation is cancelled, we skip running the animation. But since we initialize the UI before the animation started, the UI is never reset. Bug: 79657221 Change-Id: Ic420d1d99f5242541e6809f3207355ea9876ca9c
* | | Merge "Adding some activity state information in dump" into ↵TreeHugger Robot2018-05-141-0/+10
|\ \ \ | | | | | | | | | | | | ub-launcher3-edmonton
| * | | Adding some activity state information in dumpSunny Goyal2018-05-141-0/+10
| |/ / | | | | | | | | | | | | Bug: 79216829 Change-Id: I3e1a5f5508f09b9ce2737c13d917fbab531c2572
* | | Merge "Increating the scrim alpha for super-light wallpapers" into ↵TreeHugger Robot2018-05-141-2/+8
|\ \ \ | |_|/ |/| | | | | ub-launcher3-edmonton
| * | Increating the scrim alpha for super-light wallpapersSunny Goyal2018-05-141-2/+8
| |/ | | | | | | | | Bug: 79111591 Change-Id: I645d5e536ea504a37f7cc0bb94a677f694bf4385
* / Following correct pattern for using logToggleRecentsVadim Tryshev2018-05-142-4/+5
|/ | | | | | | | It supposed to involve checking enabledness. Bug: 72967764 Test: No Change-Id: I2a852932c665c24b8dc7c65f63bdaea91fa7ee5f
* Merge "Remove fake 319 event generation" into ub-launcher3-edmontonTreeHugger Robot2018-05-145-59/+1
|\
| * Remove fake 319 event generationVadim Tryshev2018-05-115-59/+1
| | | | | | | | | | | | Bug: 72967764 Test: Running perf tests Change-Id: If012b0f8e964b9bcd5fb230e5a2232d27cea1dfd
* | Merge "Revert "Revert "Update sysui flags on swipe, skip task backgrounds on ↵Winson Chung2018-05-113-13/+44
|\ \ | | | | | | | | | opaque apps""" into ub-launcher3-edmonton
| * | Revert "Revert "Update sysui flags on swipe, skip task backgrounds on opaque ↵Winson Chung2018-05-113-13/+44
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | apps"" This reverts commit f5d5b6f00fcf64dc7d4a0df5dad683ba8d8921f6. Reason for revert: Can be submitted once a build with ag/4040557 is available for flashing Change-Id: Id94440a1dc9b765bb9758af81b0567628befa283
* | | Merge "Fixing various quickscrup controls for fallback activity" into ↵TreeHugger Robot2018-05-115-12/+43
|\ \ \ | | | | | | | | | | | | ub-launcher3-edmonton
| * | | Fixing various quickscrup controls for fallback activitySunny Goyal2018-05-115-12/+43
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | > Not auto advancing to next task when swiping from home > Starting from the current tile, when scrubing on recents activity Bug: 79558175 Change-Id: I2975dbb254ba0004b34ce5d86d9733faad4943ff
* | | | Restoring the vertical progress if the task launch failedSunny Goyal2018-05-111-0/+3
|/ / / | | | | | | | | | | | | Bug: 79170705 Change-Id: I7b2075f7a4bad2acdc55a15b7c7a35fdbd60514e
* | | Merge "Separating the draglayer alpha into multiple dimensions so that ↵TreeHugger Robot2018-05-114-37/+62
|\ \ \ | | | | | | | | | | | | different animaitons can run without affecting the other." into ub-launcher3-edmonton
| * | | Separating the draglayer alpha into multiple dimensions so that different ↵Sunny Goyal2018-05-114-37/+62
| | |/ | |/| | | | | | | | | | | | | | | | | | | | | | | | | animaitons can run without affecting the other. Bug: 79323355 Bug: 78880824 Change-Id: I11cb464ebdaad0a7f0a56d4bc4c3dff1d56da16b
* / | Fixing Clear-all button being positioned incorrectlyVadim Tryshev2018-05-111-2/+2
|/ / | | | | | | | | | | | | | | | | Positioning used mClearAllButton.getTop(), which wasn't set until first layout. Bug: 72222505 Test: Manual Change-Id: I6f60067fe6446e2359c3598084064f2df0673f47
* | Merge "Tweak and fix bugs with new app close transition." into ↵Sunny Goyal2018-05-111-47/+48
|\ \ | | | | | | | | | ub-launcher3-edmonton
| * | Tweak and fix bugs with new app close transition.Jon Miranda2018-05-101-47/+48
| | | | | | | | | | | | | | | | | | | | | | | | | | | * Animates LauncherRootView instead of DragLayer to avoids the flashing that can occur when the overlay callback also changes the DragLayer alpha. * To avoid the scrim's hard line: we hide it and then fade it in later. * Launcher animation was wrong in landscape mode. Change-Id: I7673228f5ed8bb72d7393f3d0769577b262f286f
* | | Merge "Revert "Update sysui flags on swipe, skip task backgrounds on opaque ↵Winson Chung2018-05-113-44/+13
|\ \ \ | | |/ | |/| | | | apps"" into ub-launcher3-edmonton
| * | Revert "Update sysui flags on swipe, skip task backgrounds on opaque apps"Winson Chung2018-05-113-44/+13
| | | | | | | | | | | | | | | | | | | | | | | | This reverts commit 5dd46d51eda6e26830c994e9a0581d57316beb51. Reason for revert: Temporary revert until ag/4040557 goes in Change-Id: Iab2c747a99e1fb1cc5a91787dbf185df77f791b4
* | | Merge "Using dragHandle for workspace padding calculation instead of ↵Sunny Goyal2018-05-111-2/+1
|\ \ \ | |/ / |/| | | | | pageIndicator" into ub-launcher3-edmonton
| * | Using dragHandle for workspace padding calculation instead of pageIndicatorSunny Goyal2018-05-101-2/+1
| |/ | | | | | | | | | | | | > PageIndicator is a 1dp indicator which does not contribute in any padding calculations Bug: 79111591 Change-Id: I4d8be0149da2b3f14593ae71ca037ffe3885d9be
* | Update sysui flags on swipe, skip task backgrounds on opaque appsWinson Chung2018-05-103-13/+44
| | | | | | | | | | | | | | | | Bug: 79228291 Bug: 77984778 Bug: 78659249 Bug: 73714156 Change-Id: I3bb9ce5b4d5d16bc229a1caba99891cb87775136
* | Merge "Fixing crash when cancelAnimaiton happens while we are aboutto enter ↵Sunny Goyal2018-05-101-0/+7
|\ \ | | | | | | | | | long-swipe" into ub-launcher3-edmonton
| * | Fixing crash when cancelAnimaiton happens while we are aboutto enter long-swipeSunny Goyal2018-05-101-0/+7
| |/ | | | | | | | | Bug: 79419808 Change-Id: I17741ef7b35a8b82543e52c4958289933cf04a43