While any angle above 22 degrees from horizontal is permitted for
drag invocations, the SwipeDetector used to detect flings only
allowed angles within 45 degrees of vertical. This changes to using
GestureListener and permits flings in the 22-45 degree region (as
well as up to vertical).
Test: manual
Bug: 135011207
Change-Id: I8e08650395917341869b27ff381f32268fadcb3c
While removing unused files in Go version of quickstep, I removed
QuickstepProcessInitializer which seemed unused but is actually
initialized as a resource based ovverride. This CL puts it back as
common src so that both Launcher3GoIconRecents and the rest of the
variants all use this class.
Bug: 135472635
Test: Run Launcher3GoIconRecents => no exception
Test: Run Launcher3 => no exception
Change-Id: I56f319bac536ec4da96285fab932fe574afa4520
Post the update of the overlay to handler.
No way of knowing if an overlay will add / remove views during the update
so assume its not safe to do in layout.
Bug: 135287203
Test: manual
Change-Id: I7bd0c86da096e7108b71b2d0530e99ee950d6f2e
if the y threshold is not crossed
Also updating various touch thresholds to properly respect density
changes
Bug: 135214165
Bug: 132915522
Change-Id: Ifba371afd0c20790390a3bd37065cd7162d128df
- When there is no activity over the lockscreen, the validSysuiFlags
check already prevents falling into the base input consumer creation logic.
Bug: 131698448
Change-Id: I7154bc08db819574b78d375e3f9a36e610466dbc
> Recycling DigitalWellBeingToast so that the view is not inflated everytime
> Simplifying DigitalWellBeingToast to use a single text view
> Adding support for footers in taskView without creating additional layout
Bug: 122345781
Change-Id: Ia889819b93eb8644532ea95c6767554874d5e2d1
When quick switching from home or overview, go to OverviewState if the
task launch failed. Otherwise we get stuck in BackgroundAppState.
Bug: 135038270
Change-Id: I42785c261cef0df95666bc106ec5ca6ef0553cc7
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
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
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