As Go will not be using RecentsView, there are several files that are
unneeded in the recents Go source. This moves these files to
recents_ui_overrides where they will be used for non-Go builds.
Bug: 114136250
Test: Build NexusLauncher, aospWithQuickstep, l3GoWithQuickstep
Change-Id: I9d0154a75f4f2c71b865d414448e262b3019b2b9
Most of TouchInteractionService is not used in Go since we don't support
a lot of the gestures, so this code swaps the file and stubs out
everything except the atomic overview commands for Go only.
Bug: 114136250
Test: Manual test NexusLauncher, l3GoIconRecents
Change-Id: I449746d01d3bbf619663399deb9600f0e4ecc000
This is a risky business, as we can be broken by platform changes like:
b/118891218
Note that TAPL itself still uses pressing Home button.
Change-Id: I55772622fac5f19f6c9f19716a185bbfdbf602a9
This splits FallbackActivityControllerHelper for Go and non-Go depending
on the underlying recents implementation. We also introduce a
GoActivityControllerHelper implementation as a base class to share the
stubbed methods for the Go ActivityControlHelper implementations.
Bug: 114136250
Test: Manual test NexusLauncher, l3GoWithIconRecents
Change-Id: I8a061bb83a851dd1d9988af17194f3e4aed24bb0
This CL splits the static methods in TaskUtils based off which ones
assume a RecentsView recents implementation. The new TaskViewUtils
is then only used by non-Go recents whereas the generic TaskUtils which
only deals with Task logic is shared.
Bug: 114136250
Test: Build NexusLauncher, l3GoIconRecents
Change-Id: If33d19dbdb421ae805767387a991769166e865c5
This splits OverviewCommandHelper between a Go and non-Go version with
functionality differing depending on the underlying recents
implementation.
Bug: 114136250
Test: Build NexusLauncher, l3goWithQuickstep, l3goIconRecents
Change-Id: I7c78d7699e5599002de64b289b0c3a47c8c418f7
Split AppToOverviewAnimationProvider between a Go recents version and
non-Go version as the animation from the app to recents will be
different for Go recents.
Bug: 114136250
Test: Manual test NexusLauncher, l3goWithQuickstep, l3goIconRecents
Change-Id: Iefdafd3838579b780817568b8c707098b79a8cdb
Go recents does not build as it uses the recently removed assist
structure. This finishes the removal for the Go src as well.
Bug: 114136250
Test: Build launcher3GoIconRecents
Change-Id: Ifdb6dacfce72caaf2d072157956e6617338e73b0
Currently, Go icon recents does not build because the shared hints src
uses resources only available in recents_ui_overrides. This fixes the
issue by moving out hints from the shared source to
recents_ui_overrides as Go recents will not use hints.
Bug: 114136250
Test: Build NexusLauncher, l3GoWithQuickstep
Change-Id: If416d6e45f1b390b76c195a9ecd89c4779e2281b
Velocity tracker is able to calculate the velocity using cached copy of motionEvent
as long as the event as correct timeStamp
Change-Id: I2b0f612e010fdfcf144d5bed928c5a96b36f3ac7
If the ENABLE_HINTS_IN_OVERVIEW flag is enabled, pulls chip hint
data (currently from the NavBarHint plugin; eventually from AiAi)
and shows the chips between the task view screenshot and the QSB.
Screenshot: https://screenshot.googleplex.com/Ww05W13XjBv
BUG:124390101
Change-Id: I7686673b705257eca31f2fa40e2744e197153c7c
- A stabilization session starts when going to a new task via a quick switch
- A stabilization session ends after 5 seconds on the same task or when completing
a gesture to go to home or overview
- We track the system task order and copy it for the duration of the stabilization session
- After the session ends, we switch back to the system task order
- Remove ENABLE_TASK_STABILIZATION flag (and also QUICK_SWITCH)
Bug: 111926330
Change-Id: I2c18dff2d20ad02b73a4935ac534e9fc9f5f49c0
Implement recents activity for Go for when the default launcher does not
have recents implemented. To do this, we factor out some common recents
activity functionality from RecentsActivity and extend it to make a Go
specific activity that pops in the icon recents fragment.
Bug: 114136250
Test: Manual test NexusLauncher and Launcher3QuickstepGo by installing a
quickstep-less launcher and setting it to default
Change-Id: I936568489e8966da4a62e4b779ae660a220f2aeb