The callback exists to ensure the current running animation ends
immediately on touch down, so that we can handle that touch. It
was never intended to run for other events such as HOVER. Updated
to ensure that's the case and also updated documentation/names.
Fixes: 295984940
Test: Manual with animation duration x5:
- Swipe up followed by HOVER event, ensure animation still plays
- Swipe to overview, tap on a tile during transition, ensure
it animates back up
Flag: NONE
Change-Id: I29039ea10154083dcab2e29a97752b18ae8b9331
Flag: NONE
Fixes: 308982078
Test: quickly swipe to home after tapping a non-running task from overview
Change-Id: I1fbf669368586af4e5b9319603c6a928969cb494
The RemoteTargetHandle are created with default orientation state.
So it also needs to be initialized to apply correct transform.
Bug: 304408369
Bug: 308520924
Test: Enable home rotation. Put device in landscape.
Launch Settings and press home key. And then launch
a portrait only app and use recents to switch to Settings.
Change-Id: I489957acdaa76c689aa94dd1e5ad8824b430760c
We need to merge the next incoming transition (KEYGUARD_UNOCCLUDING) to
get a smooth transition. Sending a WCT at the end makes merging the
two transitions together difficult because the WCT is missing and may
even generate a third transition afterwards if the end result doesn't
match.
Bug: 293862576
Change-Id: Ifd19f0d445ffe21f3bb068882321a55091377173
Before handling a touch event NavHandleLongPressInputConsumer now checks
mDelegate.allowInterceptByParent() to ensure a parent has not intercepted the
touch event.
Flag: LEGACY ENABLE_LONG_PRESS_NAV_HANDLE DISABLED
Bug: 305924072
Test: Manual
Change-Id: I0d7bcceba881a21ad00e56c3e18b4ebde878ee89
The P99 latency is 30ms, which is very slow. Moving the binder call to BG thread should avoid the jank.
Fix: 299466828
Flag: N/A
Test: test device boot without issue
Change-Id: Ib24584a2608b11f02589d4ea4515a6c91c354351
- Close Animation improvement for popup.
- Popup location changed to 16dp above the taskbar view.
- Support for disabled state when user is in 3-button mode. (design changes to come in separate cl)
Test: Manual
Bug: 265170176
Flag: LEGACY ENABLE_TASKBAR_PINNING DISABLED
Change-Id: I9c91e6eb2b29c85433ba1c3d34505f0519448a6f
- For 3p launchers, the starting of the home activity is deferred until
the user moves past a slop, in these cases we don't need to worry
about finishing the recents transition before handling long press
(since it was never started)
Fixes: 307254136
Test: Enable 3p launcher and invoke omni
Change-Id: I0aed7e7d442e010c38979e3f806f6cf0eb33cfe8
we recently added support for settings app style switches to Launcher. Use that style for TaskbarDividerPopupMenu Switch
Test: Manual
Bug: 308682758
Flag: LEGACY ENABLE_TASKBAR_PINNING DISABLED
Change-Id: If61a426e4051ebce67601055942667ed93928d15
Flag: NONE
Fixes: 245736607
Test: quickly swipe to home after tapping the currently-running task in live tile mode from overview
Change-Id: I3b47ee3645db88bf20e58e673abde7a3b92cef9b
- This helps us know if the interfaces are set correctly during a gesture
Bug: 286805673
Test: dumpsys activity service TouchInteractionService
Change-Id: Icebc3d49d299495beb3880eaa591d6e96fdcd27f
- Do not show "work" at the beginning of work apps.
- Do not use the top component name in case any dialogs are on top of app.
Fix: 305988810
Fix: 305983272
Fix: 307231916
Test: OverviewImageTest
Flag: ACONFIG com.android.launcher3.enable_overview_icon_menu DEVELOPMENT
Change-Id: I4ce741529c975db778abc540e6c353ea4c76bf11