summaryrefslogtreecommitdiffstats
path: root/quickstep
Commit message (Collapse)AuthorAgeFilesLines
* Remove OverviewToAllAppsController for GoKevin2019-01-233-6/+25
| | | | | | | | | | | | Go's recents does not support an overview to all apps transition (as there will be no hotseat and swiping will be used to navigate the view itself). As a result, we never need the controller, so we don't take in the class as a source and do not add it as a touch controller. Bug: 114136250 Test: Manual test Launcher3QuickstepGo, NexusLauncher, Launcher3IconRecentsGo Change-Id: I7fff9d1e8727bd978e84462436e37219c57f7af6
* Merge "Split LauncherAppTransitionManagerImpl for Go" into ub-launcher3-masterTreeHugger Robot2019-01-247-142/+276
|\
| * Split LauncherAppTransitionManagerImpl for GoKevin2019-01-237-142/+276
| | | | | | | | | | | | | | | | | | | | | | | | Split LauncherAppTransitionManagerImpl common functionality into a base quickstep app transition class and subclass for recents-specific implementation. In addition, override the app transition manager to the appropriate manager depending on the build. Bug: 114136250 Test: Manual test NexusLauncher, Launcher3GoWithQuickstep Test: Build Launcher3GoIconRecents Change-Id: Iab1b5ae0c75af276879d5e12df95f62a514bf571
* | Merge "Split OverviewState for IconRecents Go" into ub-launcher3-masterTreeHugger Robot2019-01-231-0/+0
|\ \
| * | Split OverviewState for IconRecents GoKevin2019-01-231-0/+0
| |/ | | | | | | | | | | | | | | | | | | Split common functionality in OverviewState so that it can be reused in both implementations for IconRecents Go and non-Go. Bug: 114136250 Test: Manual test NexusLauncher, Launcher3GoWithQuickstep Test: Manual test IconRecentsGo (gets to recents screen w/o crashing) Change-Id: Ibff5d3573b3b22dcdfda1b0662d4dd219d2e382f
* | Merge "Adding more events for reproducing race conditions during Launcher ↵TreeHugger Robot2019-01-232-0/+12
|\ \ | |/ |/| | | start" into ub-launcher3-master
| * Adding more events for reproducing race conditions during Launcher startvadimt2019-01-112-0/+12
| | | | | | | | | | | | Bug: 120628042 Change-Id: Ifcb6a170e3b227c690eff0255ca3e25cd5d491a5 Tests: StartLauncherViaGestureTests
* | Merge "Revert "Remove scrim fade animation when returning to launcher."" ↵Jonathan Miranda2019-01-221-4/+4
|\ \ | | | | | | | | | into ub-launcher3-master
| * | Revert "Remove scrim fade animation when returning to launcher."Jonathan Miranda2019-01-161-4/+4
| | | | | | | | | | | | | | | | | | | | | | | | This reverts commit dad8d4434d3fad9856ad607848872d87e642e997. Reason for revert: Bottom scrim is still visible so it creates a hard line when animation starts Change-Id: If3e2a8e0965d40924a475f077d3c42e64d4d382d
* | | Split out logic in RecentsViewStateController.Kevin2019-01-222-38/+153
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Split logic in RecentsViewStateController based off code that should be shared and code that should not between Go icon recents and regular quickstep recents. The Go version will maintain changes in scale/translationY as per normal recents. Bug: 114136250 Test: Manual test NexusLauncher, Launcher3GoQuickstep Test: Build Launcher3GoIconRecents (no longer crashes immediately!) Change-Id: Id060d6f8f0b68edee4becdf6b91b876bb8dbcefb
* | | Merge "Split PortraitOverviewStateTouchHelper for Go" into ub-launcher3-masterTreeHugger Robot2019-01-222-15/+107
|\ \ \
| * | | Split PortraitOverviewStateTouchHelper for GoKevin2019-01-172-15/+107
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Split out the logic in PortraitOverviewStateTouchHelper that is dependent on the recents view implementation. This is done through a separate helper class that we override on Go to stub out most of the behavior. This results in the Go version not supporting swipe transitions from the recents state which is desired since we would otherwise risk confusion over whether the swipe should go to the view or to the transition (note that we will also take out the hotseat in this state). Bug: 114136250 Test: Manual test NexusLauncher and l3goWithQuickstep Test: Build l3goWithQuickstepIconRecents Change-Id: I9b0e9c05171d279d03bbcb7f05344fa425f34b3e
* | | | Merge "Add icon recents view for Go" into ub-launcher3-masterTreeHugger Robot2019-01-221-0/+4
|\ \ \ \
| * | | | Add icon recents view for GoKevin2019-01-181-0/+4
| |/ / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Add a specific view for Go's icon recents. We also add a few properties for use in future refactors. Bug: 114136250 Test: Build Launcher3GoIconRecents Change-Id: I9852679256158344ab276d1c477f55b7dd2d6a52
* | | | Using "remaining time" APIvadimt2019-01-181-10/+43
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Given the execution schedule restrictions, this will first use reflection, and afterwards will switch to a "solid" API. Bug: 118319143 Change-Id: I3410a043e81b09212cda256252d85ccf37381d6e Tests: Manual
* | | | Merge "Using hourglass icons for DWB toast" into ub-launcher3-masterTreeHugger Robot2019-01-184-7/+55
|\ \ \ \
| * | | | Using hourglass icons for DWB toastvadimt2019-01-184-7/+55
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Bug: 118319143 Change-Id: I67018db3ceb8b6c0d863a46c9a9148013c68c1f7 Tests: Manual
* | | | | Merge "Switching from mDevice.pressHome() to mLauncher.pressHome()" into ↵TreeHugger Robot2019-01-181-2/+2
|\ \ \ \ \ | |/ / / / |/| | | | | | | | | ub-launcher3-master
| * | | | Switching from mDevice.pressHome() to mLauncher.pressHome()vadimt2019-01-111-2/+2
| | |_|/ | |/| | | | | | | | | | | | | | | | | | | | | | Using mDevice.pressHome() was a workaround for the shifted-search bug. Change-Id: I740db2109af531c55f8ab59a42998bdc329fb72e Tests: affected tests
* | | | Merge "Implementing available part of UX spec for DW toast" into ↵TreeHugger Robot2019-01-184-11/+124
|\ \ \ \ | | | | | | | | | | | | | | | ub-launcher3-master
| * | | | Implementing available part of UX spec for DW toastvadimt2019-01-174-11/+124
| |/ / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | See https://docs.google.com/presentation/d/1AepsnLeKcRhjMW35SkB5yMKO3u6waigug8Tyfe0LO5o/edit#slide=id.g4c5ab81849_0_0 Also using time formatting code copy-pasted from Google DWB app. Bug: 118319143 Tests: Manual Change-Id: I84392d7655f402e38cf4c46ae530d06f755a7df8
* / / / Generalize SpringObjectAnimator.Jon Miranda2019-01-161-1/+3
|/ / / | | | | | | | | | | | | | | | | | | This is in preparation for adding more springs to the state transitions. Bug: 111698021 Change-Id: I32cd7894e940dae00895799280b244d68400d374
* | | Recycling taskViews instead of inflating & throwing them away everytimeSunny Goyal2019-01-107-36/+35
| | | | | | | | | | | | | | | Bug: 122345781 Change-Id: If86d22729a42b8d5200f24dbf37a568fb9b11a5b
* | | Merge "Track window rather than shelf when FeatureFlags.SWIPE_HOME = true" ↵Tony Wickham2019-01-114-7/+17
|\ \ \ | | | | | | | | | | | | into ub-launcher3-master
| * | | Track window rather than shelf when FeatureFlags.SWIPE_HOME = trueTony Wickham2019-01-114-7/+17
| | | | | | | | | | | | | | | | | | | | Bug: 111926330 Change-Id: I439a682df14e4f559aa62b7f589d17acdac1d367
* | | | Merge "Always set mPassedInitialSlop = true in onQuickStep()" into ↵Tony Wickham2019-01-111-2/+2
|\ \ \ \ | |_|/ / |/| | | | | | | ub-launcher3-master
| * | | Always set mPassedInitialSlop = true in onQuickStep()Tony Wickham2019-01-101-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | This way we always start tracking the window when the system tells us to, if we're not already. Change-Id: Id9c1f0d9672f43d877f114839b1489a83ac713ef
* | | | Merge "Fix issue with black flash when swiping up" into ub-launcher3-masterWinson Chung2019-01-102-9/+8
|\ \ \ \
| * | | | Fix issue with black flash when swiping upWinson Chung2019-01-102-9/+8
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | - Ensure we update the background paint whenever the thumbnail is bound to the task view (we still draw with the background paint when the thumbnail has not yet loaded) - Ensure that the dim is applied to the background paint even before the thumbnail has loaded Bug: 122612839 Test: Kill launcher, launch overview Change-Id: Ia09ff49e4641b6a02a37cec3f94f74c2b0b8fd24
* | | | | Merge "Split out recents logic from UiFactory" into ub-launcher3-masterTreeHugger Robot2019-01-103-32/+123
|\ \ \ \ \
| * | | | | Split out recents logic from UiFactoryKevin2019-01-103-32/+123
| | |/ / / | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This CL splits out RecentsView specific logic from UiFactory and overrides it in the Go IconRecents version, stubbing out much of the functionality. Bug: 114136250 Test: Manual test NexusLauncher, Launcher3GoQuickstep Test: Build Launcher3GoIconRecents Change-Id: I043f7f2b2581831f1a74a80110e9c4c25231c046
* | | | | Merge "Rename goingToHome to goingToRecents" into ub-launcher3-masterTreeHugger Robot2019-01-103-32/+33
|\ \ \ \ \ | | |_|/ / | |/| | |
| * | | | Rename goingToHome to goingToRecentsTony2019-01-103-32/+33
| |/ / / | | | | | | | | | | | | | | | | Bug: 111926330 Change-Id: I92890828e74f99768723976a0415f234eb2de5f4
* | | | Merge "Moving some more stuff behind the live tile feature flag" into ↵Winson Chung2019-01-104-11/+18
|\ \ \ \ | | |/ / | |/| | | | | | ub-launcher3-master
| * | | Moving some more stuff behind the live tile feature flagWinson Chung2019-01-094-11/+18
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | - With live tiles disabled, we are still calling LauncherLayoutListener.update with shouldFinish=true, which can cause the layout listener to be closed prior to the screenshot being taken and shown. When we enable live tiles, it should obliviate the need to switching to screenshot as well. Bug: 122612839 Change-Id: I5c951ba2a486051016e9fed49e7f8f5dd015f8ea
* | | | Merge "Reusing LayoutListener instead of creating a new one everytime" into ↵TreeHugger Robot2019-01-103-3/+32
|\ \ \ \ | |/ / / |/| | | | | | | ub-launcher3-master
| * | | Reusing LayoutListener instead of creating a new one everytimeSunny Goyal2019-01-093-3/+32
| | | | | | | | | | | | | | | | | | | | Bug: 122345781 Change-Id: Ica43849030afb497b0444e9ce474e7c3bdb9ee73
* | | | Avoiding new view creation and additional layout during app launchSunny Goyal2019-01-091-8/+15
| |/ / |/| | | | | | | | Change-Id: Ia9589b70bcdc64a2174b52aabaa1ab392800a081
* | | Merge "Refresh icon cache for recents when rro overrides the adaptive icon ↵Hyunyoung Song2019-01-091-1/+19
|\ \ \ | | | | | | | | | | | | path" into ub-launcher3-master
| * | | Refresh icon cache for recents when rro overrides the adaptive icon pathHyunyoung Song2019-01-091-1/+19
| |/ / | | | | | | | | | | | | Bug: 122472687 Change-Id: I646c3918480740ea322e60252e3ceb006964567f
* | | Merge "Fix flickering when long swiping from an app" into ub-launcher3-masterTreeHugger Robot2019-01-091-1/+3
|\ \ \ | |/ / |/| |
| * | Fix flickering when long swiping from an appTony Wickham2019-01-091-1/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Since we update the progress of the launcher anim when recents scrolls, we were essentially jumping back to the overview state every couple frames. Now we don't update that shift once we're in long swipe mode. Bug: 111926330 Change-Id: Ib751becb70df71679ff7557f113d6339a39777d0
* | | Add remote animation for unlocking device.Jon Miranda2019-01-091-11/+56
|/ / | | | | | | | | | | | | | | Removed the workaround we had for animating sysui scrim based on SCREEN_OFF and USER_PRESENT, since it is now properly handled via the unlock animation. Bug: 65162781 Change-Id: I5341cc1d3b4f0761b8cf58fdc9fc1b895f2a128e
* | Support live tile in Overview (Pt2) - Complete functionalityTracy Zhou2019-01-0815-122/+509
| | | | | | | | | | | | | | | | | | | | | | | | | | - Punch a hole (by erasing part of launcher where current task is rendered) to reveal app surface drawn underneath using surface transform. We use LauncherLayoutListener before reaching OVERVIEW threshold, and TaskView after threshold due to layering constraint (it's above Overview but below All Apps) - Render live tile following user-trigger scrolling (horizontal and vertical) by tracking the task view rect. - When user launches the current running app (through the live tile or icon in the app drawer), finish recents animation to app. - When user launches another app (through Overview or other entry points where user opens an app), take a screenshot of the current running app, switch to screenshot mode and launch the other app. - Refactor ClipAnimationController#ApplyTransform to consolidate transforming by progress and by getting the current rect of the app on the screen. Bug: 111697218 Test: manual test Change-Id: I0ad764399e872f181a9d65dc453f0175f2b58dd1
* | Merge "Add icon recents fragment for IconRecents" into ub-launcher3-masterTreeHugger Robot2019-01-092-0/+0
|\ \
| * | Add icon recents fragment for IconRecentsKevin2019-01-082-0/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Split out overview_panel from recents and override it with IconRecents version to replace the recents view entirely. Currently, on the IconRecents build variant, as expected, this hits a class cast exception since many quickstep classes assume the overview panel is an instance of RecentsView. All other variants build and push fine. Bug: 114136250 Test: Build + push NexusLauncherDebug, Launcher3Go, Launcher3GoQuickstep, Launcher3GoQuickstepIconRecents Change-Id: I3ac7331772e53ee81cb1735a709b4fb7b3bdb78c
* | | Revert "Revert "Add spring to shelf for home <-> overview <-> all apps state ↵Jon Miranda2019-01-083-14/+25
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | transitions."" This reverts commit 2bdac8f7e53cb933b84a63799aa6195dd9486b8d. Reason for revert: Reverting and added fix to crash Change-Id: I20508eb05c85ba5dfba52630aa9becea270f890b
* | | Merge changes I13dfced7,I1ff160cf into ub-launcher3-masterTony Wickham2019-01-088-58/+197
|\ \ \ | | | | | | | | | | | | | | | | | | | | * changes: Scale adjacent task icon during swipe up Scroll recents side to side during swipe up from an app
| * | | Scale adjacent task icon during swipe upTony Wickham2019-01-081-7/+18
| | | | | | | | | | | | | | | | | | | | Bug: 111699315 Change-Id: I13dfced7b32213590b1be267e6ddd1a2a0caddab
| * | | Scroll recents side to side during swipe up from an appTony Wickham2019-01-077-51/+179
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | - Swiping straight up and down works the same as before. - We dispatch the MotionEvents to RecentsView so that it scrolls if you swipe side to side as you swipe up. - As RecentsView scrolls, we offset the window to match the position of the first task - If you scroll or fling towards the previous app, it will settle on it and launch it. Bug: 111699315 Change-Id: I1ff160cfc3ca66302a2506d18a4788015de75b94