summaryrefslogtreecommitdiffstats
path: root/quickstep/recents_ui_overrides/src
Commit message (Collapse)AuthorAgeFilesLines
* Merge "Removing unused method" into ub-launcher3-qt-devTreeHugger Robot2019-06-121-10/+0
|\
| * Removing unused methodSunny Goyal2019-06-071-10/+0
| | | | | | | | Change-Id: I25016d58b130e99c8983af48fde32e05bf6c66b1
* | Merge "Bypass systemstate check when using shared state" into ↵TreeHugger Robot2019-06-126-39/+121
|\ \ | | | | | | | | | ub-launcher3-qt-dev
| * | Bypass systemstate check when using shared stateSunny Goyal2019-06-126-39/+121
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | System state can change using the interaction, for eg: an app can enter immersive mode in the middle of quickswitch. Ignore such changes to prevent system gestures getting blocked by an app > Fixing nullpointer in device locked consumer construction when user is not locked yet > Creating a fallback resetGesture input consumer, which cancels any pending transition in case we missed to cancel it Bug: 134091263 Bug: 134406364 Change-Id: Iafc4e53691f50862b013ad9c4023839044cf1d72
* | | Merge changes I0b96f623,I019084a1 into ub-launcher3-qt-devTony Wickham2019-06-122-4/+3
|\ \ \ | | | | | | | | | | | | | | | | | | | | * changes: Fix double swipe on nav bar from an app Fix state/anim clobbering when touching down during recents animation
| * | | Fix double swipe on nav bar from an appTony Wickham2019-06-111-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Use normal OverviewInputConsumer instead of OverviewWithoutFocusInputConsumer if we are animating to launcher. This allows launcher to properly handle a second swipe in the nav region. Test: enable 2-button mode, double swipe up on nav bar to all apps Bug: 135050372 Change-Id: I0b96f6236bed4f9ac3284a921e4259e1b0d00c75
| * | | Fix state/anim clobbering when touching down during recents animationTony Wickham2019-06-111-3/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Addresses 2 problems: - Set mLauncherTransitionController = null after ending it, to prevent a subsequent end from re-setting OVERVIEW state. - Cancel the shelf animation so that it doesn't clobber the animation to all apps (for instance). Bug: 134309036 Bug: 134309189 Change-Id: I019084a1ba38c6208a6256843cb5c4b6dbb4a662
* | | | Merge "Calling sendStateEventToTest() from a place guaranteed to be called" ↵vadimt2019-06-111-3/+0
|\ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | into ub-launcher3-qt-dev am: c1fa3abd2e Change-Id: I90802248680747645bc975e81fb4fe477f2db679
| * \ \ \ Merge "Calling sendStateEventToTest() from a place guaranteed to be called" ↵TreeHugger Robot2019-06-121-3/+0
| |\ \ \ \ | | | | | | | | | | | | | | | | | | into ub-launcher3-qt-dev
| | * | | | Calling sendStateEventToTest() from a place guaranteed to be calledvadimt2019-06-101-3/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | See discussion in the bug Bug: 133867119 Change-Id: Id162cfa3b0a0aafe17dd9b41e2c4b5d02c411830
* | | | | | Merge "Tweak spring stiffness/damping for attaching recents" into ↵Tony Wickham2019-06-111-5/+2
|\| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | ub-launcher3-qt-dev am: 070866931b Change-Id: I71bf6a8dac3a4243b5ac67bdff9a829db0966b8e
| * | | | | Merge "Tweak spring stiffness/damping for attaching recents" into ↵TreeHugger Robot2019-06-111-5/+2
| |\ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | ub-launcher3-qt-dev
| | * | | | | Tweak spring stiffness/damping for attaching recentsTony Wickham2019-06-111-5/+2
| | | |/ / / | | |/| | | | | | | | | | | | | | | | | | | | | Bug: 129985827 Change-Id: Ife70528a3cdc101260df3425ec0501b318d558e7
* | | | | | Merge "Check if RecentsView is null before setting live tile icon." into ↵Tracy Zhou2019-06-112-2/+18
|\| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | ub-launcher3-qt-dev am: fc1db5861a Change-Id: I939827655df665fed9598dc4bc3d8b3d72be35cc
| * | | | | Merge "Check if RecentsView is null before setting live tile icon." into ↵Tracy Zhou2019-06-112-2/+18
| |\ \ \ \ \ | | |/ / / / | |/| | | | | | | | | | ub-launcher3-qt-dev
| | * | | | Check if RecentsView is null before setting live tile icon.Tracy Zhou2019-06-112-2/+18
| | | |/ / | | |/| | | | | | | | | | | | | | | | | | | | | | Fixes: 134969824 Test: N/A Change-Id: Ibd6d8ec729c6809d385ea5f0153ae7ff376801b9
* | | | | Merge "Fix potential NPE in BackgroundAppState" into ub-launcher3-qt-devTony Wickham2019-06-111-2/+4
|\| | | | | | | | | | | | | | | | | | | | | | | | | | | | | am: 6129e4737c Change-Id: Ifb7aeb3ba9b3cf31b8d3b7d05553e11e88c1d16e
| * | | | Merge "Fix potential NPE in BackgroundAppState" into ub-launcher3-qt-devTreeHugger Robot2019-06-111-2/+4
| |\ \ \ \ | | |/ / / | |/| | |
| | * | | Fix potential NPE in BackgroundAppStateTony Wickham2019-06-111-2/+4
| | | |/ | | |/| | | | | | | | | | | | | Bug: 134559760 Change-Id: I08be7563ec8306ede6c0c7e62b0b5fc0a7c5f998
* | | | Merge "Fixing some thread errors in TouchInteractionService" into ↵Sunny Goyal2019-06-101-34/+32
|\| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | ub-launcher3-qt-dev am: 1a66df255a Change-Id: I16036763c01935133f39851acb3cc1a984e6be51
| * | | Merge "Fixing some thread errors in TouchInteractionService" into ↵TreeHugger Robot2019-06-101-34/+32
| |\ \ \ | | |_|/ | |/| | | | | | ub-launcher3-qt-dev
| | * | Fixing some thread errors in TouchInteractionServiceSunny Goyal2019-06-101-34/+32
| | | | | | | | | | | | | | | | | | | | | | | | | | | | Accessing internal objects only on the main thread and after the user has been unlocked. Bug: 134971634 Change-Id: Iaf6a1e3ab9417836c5d34673997b0a03a76862c1
* | | | Merge "Task footer - use temporary motion for show and hide." into ↵Zak Cohen2019-06-101-0/+2
|\ \ \ \ | |/ / / |/| | | | | | | ub-launcher3-qt-r1-dev
| * | | Task footer - use temporary motion for show and hide.Zak Cohen2019-06-061-0/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | Bug: 125844074 Test: manual Change-Id: I9a26760f4bd976d0c3475db1322ee0da639d8209
* | | | Merge "Translate recents when attaching to app window instead of fading" ↵TreeHugger Robot2019-06-103-33/+105
|\ \ \ \ | |_|/ / |/| | | | | | | into ub-launcher3-qt-dev
| * | | Translate recents when attaching to app window instead of fadingTony Wickham2019-06-103-33/+105
| | |/ | |/| | | | | | | | | | | | | | | | | | | When attaching recents, translate it offscreen and use a spring to pull it into position. When detaching, use the same spring to pull it back offscreen. Bug: 129985827 Change-Id: I05339e2ec0932070365023bfafc83cbf2a4e178e
* / | Not assuming that the activity is Launcher for the fallback recentsvadimt2019-06-101-4/+4
|/ / | | | | | | | | Bug: 134919468 Change-Id: Ibb3b11a5bf57848212c806f2023e4cf43c8a862b
* | Merge "Add tracing for b/134532571" into ub-launcher3-qt-devTreeHugger Robot2019-06-072-0/+28
|\ \
| * | Add tracing for b/134532571vadimt2019-06-062-0/+28
| |/ | | | | | | | | | | Bug: 134172603 Bug: 134532571 Change-Id: I75c8e0212a9b35d33842d5380fbe733b486be932
* | Merge "Using a separate InputConsumer when Launcher is resumed but not ↵TreeHugger Robot2019-06-068-37/+255
|\ \ | | | | | | | | | focused" into ub-launcher3-qt-dev
| * | Using a separate InputConsumer when Launcher is resumed but not focusedSunny Goyal2019-06-068-37/+255
| |/ | | | | | | | | | | | | | | | | | | | | When Launcher is not focused and we try to dispatch events to Launcher, it can lead to a inconsistent state. For eg, NavBarTouchController was trying to take launcher from NORMAL to NORMAL state causing the endCallback to be called immediately, which in turn didn't clear Swipedetetor state Bug: 132209249 Bug: 132815672 Change-Id: I82e4fdcb8fd5339e82fc8551f3a6e0b046d906f8
* | Merge "Fix flicker to OVERVIEW state during quick switch" into ↵Tony Wickham2019-06-061-2/+3
|\ \ | |/ |/| | | ub-launcher3-qt-dev
| * Fix flicker to OVERVIEW state during quick switchTony Wickham2019-06-051-2/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | Here's what was happening: - When animating to a new task, the launcher controller ends first (when quick switching it likely ends immediately since we're already scaled up). - Then we get onApplyWindowInsets(), which re-builds the launcher controller. - Finally, the window animation ends, invalidating the handler and ending the new controller, which sets the state to OVERVIEW. To fix this, never create a new controller if it has ever been started. Bug: 133508173 Change-Id: Ibd0e18e488353df73159ffbdd9a3b335bed57d98
* | Merge "Fixing wrong origin when launching new task from overview" into ↵Sunny Goyal2019-06-063-2/+27
|\ \ | | | | | | | | | ub-launcher3-qt-dev
| * | Fixing wrong origin when launching new task from overviewSunny Goyal2019-06-053-2/+27
| |/ | | | | | | | | | | | | > Also removing some unnecessary layout passes during launch animation Bug: 133226418 Change-Id: I36fe69827853366deb7c56ca25f39e20c1a0b825
* | Merge "Fade out scrim when swiping to home" into ub-launcher3-qt-devTony Wickham2019-06-051-1/+21
|\ \
| * | Fade out scrim when swiping to homeTony2019-06-041-1/+21
| | | | | | | | | | | | | | | Bug: 134517106 Change-Id: Ica725e3a327c1c069e3859732ea6a878d361a3d8
* | | Merge "Adding some state for fallback recents View" into ub-launcher3-qt-devTreeHugger Robot2019-06-053-7/+100
|\ \ \ | |_|/ |/| |
| * | Adding some state for fallback recents ViewSunny Goyal2019-06-033-7/+100
| |/ | | | | | | | | | | | | | | Maintaining a boolean corresponding to overview or QuickSwitch which updates the visuals for RecentsView accordingly Bug: 134166337 Change-Id: If1aec99257de4db1796335f2cf39d2d35789915b
* | Remove unused hints code.Zak Cohen2019-06-057-348/+0
| | | | | | | | | | | | | | | | | | This layout is handled by the provider of the hints now. Bug: 132886768 Test: manual Change-Id: Ifc0db2395a7503b1b03dcb796961ef6647c0413b (cherry picked from commit f3231f417db08185ec204b247d331dba6a9b0383)
* | Merge "Use device locked input consumer when an activity is showing when ↵Winson Chung2019-06-041-2/+6
|\ \ | | | | | | | | | locked" into ub-launcher3-qt-dev
| * | Use device locked input consumer when an activity is showing when lockedWinson Chung2019-06-041-2/+6
| | | | | | | | | | | | | | | Bug: 133871965 Change-Id: I51a32a99990813e510c757e5e295a09f041c0514
* | | Some RecentsView layout fixesSunny Goyal2019-06-0410-70/+94
| |/ |/| | | | | | | | | | | | | | | | | > Only creating task overlay for one view at a time > Fixing setOverviewStateEnabled called twice when going between OVERVIEW and BACKGROUND state Bug: 132815672 Bug: 122345781 Change-Id: I51ac5b0744af87194eca08e07fd2c75b8fa0d3e0
* | Merge "Fix getting stuck in BackgroundAppState for 2-button mode" into ↵TreeHugger Robot2019-05-313-16/+18
|\ \ | | | | | | | | | ub-launcher3-qt-dev
| * | Fix getting stuck in BackgroundAppState for 2-button modeTony Wickham2019-05-313-16/+18
| |/ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | When ending in recents, we reapply the state - therefore, it's important to make sure we are in OverviewState before onSwipeUpComplete(). This is done by mLauncherTransitionController, which sets OverviewState on end. We already force mLauncherTransitionController to end before calling onSwipeUpComplete(), but in this case we were calling cancel() and setting mLauncherTransitionController = null, which meant we could never call end() on it. Instead, we should always call end() if we set it to null. Also ensure mLauncherTransitionController is created even if the gesture is completed, if an existing controller isn't already running. This can happen if you swipe up quickly enough that we get onGestureEnd before launcher is drawn, and in that case we still want the launcher component to animate once its ready. This is even more important for 2-button mode, because again, we rely on mLauncherTransitionController to set the state to OverviewState before we reapply it. Finally, clarified some methods by renaming "swipeUp" to "swipeUpToRecents". Bug: 132757019 Change-Id: Ieb24a4f36a39780e5d64d7bc312791608db474d1
* | Merge "Fixing overview scrim not initialized properly when launcher starts" ↵TreeHugger Robot2019-05-312-23/+7
|\ \ | |/ |/| | | into ub-launcher3-qt-dev
| * Fixing overview scrim not initialized properly when launcher startsSunny Goyal2019-05-312-23/+7
| | | | | | | | | | | | | | | | State UI depends on visible content, which can change due to predicitons. Reapplying the state whenever then happens ensures that we are in correct start UI Change-Id: I9f195a92b747fda8a5b217dc960f230d7a695255
* | Merge "Adds trigger for new gesture entrypoint to Assistant bundle" into ↵Govinda Wasserman2019-05-311-0/+5
|\ \ | | | | | | | | | ub-launcher3-qt-dev
| * | Adds trigger for new gesture entrypoint to Assistant bundleGovinda Wasserman2019-05-311-0/+5
| |/ | | | | | | | | | | BUG:130186141 Change-Id: I43a4c3d3c9a46b4a1a5c53a81b037ba2be194188 FIX:130186141
* | Merge "Don't recreate the launcher animation controller if gesture ended" ↵Tony Wickham2019-05-311-0/+3
|\ \ | |/ |/| | | into ub-launcher3-qt-dev