| Commit message (Collapse) | Author | Age | Files | Lines |
| |
|
|
|
|
|
|
|
|
|
|
|
|
| |
This CL introduces BackProgressAnimator which runs in app's main thread.
It receives target progress values from SysUI and drives the actual
progress value passed to the app with a high stiffness, no bounce
spring.
Bug: 238475284
Test: atest WindowOnBackDispatcherTest
Test: atest BackAnimationControllerTest
Test: atest TouchTrackerTest
Change-Id: Ib0d3ebe43929c405b10681000fb4e7ef8bccce34
|
| |
|
|
|
|
|
|
| |
Test: m -j update-api. Build and flash and test back behavior throughout
the system.
Bug: 227500290
Change-Id: Ibdb13d02e044741d05d99f1cad96e43dc0129fe4
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
| |
This makes OnBackInvokedCallback SAM compatible
Bug: 227789359
Test: atest \
CtsWindowManagerDeviceTestCases:android.server.wm.BackNavigationLegacyTest \
CtsWindowManagerDeviceTestCases:android.server.wm.BackNavigationTests \
WmTests:com.android.server.wm.BackNavigationControllerTests \
FrameworksCoreTests:android.window.BackNavigationTest \
FrameworksCoreTests:android.window.WindowOnBackInvokedDispatcherTest \
CtsViewTestCases:android.view.cts.OnBackInvokedDispatcherTest
Change-Id: Iab86b0488f1b3048eb02042191acaeb6a645a0bc
|
| |
|
|
|
|
|
|
| |
Move the callback as the last paramter to registerOnBackInvokedCallback
Test: Existing
Bug: 224562951
Change-Id: I8608a03b53baa04bedee81d2e86b2339abd6c594
|
|
|
Originally, View was implementing onBackInvokedDisptacherOwner, but now
only Activity and Dialog and since back event are related to the
window, it makes sense to move them into the android.window package
This follow up comment at:
ag/c/platform/frameworks/base/+/16764116/comments/e131f3ef_e3e1d2e0
Test: atest BackNavigationTests
Bug: 221401221
Change-Id: Ia2f26162beb6a41b6e162b31e599e882f8bf7320
|