Home
last modified time | relevance | path

Searched refs:onBackProgressed (Results 1 – 25 of 29) sorted by relevance

12

/frameworks/base/packages/SystemUI/animation/src/com/android/systemui/animation/back/
DOnBackAnimationCallbackExtension.kt38 onBackProgressed: (BackTransformation) -> Unit, in onBackAnimationCallbackFrom()
52 override fun onBackProgressed(backEvent: BackEvent) { in onBackProgressed() method
61 onBackProgressed(lastTransformation) in onBackProgressed()
/frameworks/base/libs/WindowManager/Shell/tests/unittest/src/com/android/wm/shell/back/
DBackProgressAnimatorTest.java79 () -> mProgressAnimator.onBackProgressed(backEvent)); in testBackProgressed()
92 () -> mProgressAnimator.onBackProgressed(backEvent)); in testBackCancelled()
113 () -> mProgressAnimator.onBackProgressed(backEvent)); in testBackInvoked()
130 () -> mProgressAnimator.onBackProgressed(backEvent)); in testResetCallsCancelCallbackImmediately()
160 () -> mProgressAnimator.onBackProgressed(backEvent)); in testCancelFinishCallbackNotInvokedWhenRemoved()
DBackAnimationControllerTest.java271 verify(mAnimatorCallback, atLeastOnce()).onBackProgressed(backEventCaptor.capture()); in backToHome_dispatchesEvents()
295 verify(mAnimatorCallback, atLeastOnce()).onBackProgressed(backEventCaptor.capture()); in backToHomeWithAnimationCallback_dispatchesEvents()
336 verify(mAnimatorCallback, never()).onBackProgressed(backEventCaptor.capture()); in animationDisabledFromSettings()
535 verify(mAppCallback, never()).onBackProgressed(any()); in animationNotDefined()
539 verify(mAnimatorCallback, never()).onBackProgressed(any()); in animationNotDefined()
567 verify(mAppCallback, never()).onBackProgressed(any()); in appCallback_receivesStartAndInvoke()
570 verify(mAnimatorCallback, never()).onBackProgressed(any()); in appCallback_receivesStartAndInvoke()
587 verify(mAppCallback, never()).onBackProgressed(any()); in skipsCancelWithoutStart()
/frameworks/base/core/tests/coretests/src/android/view/
DImeBackAnimationControllerTest.java156 mBackAnimationController.onBackProgressed(new BackEvent(100f, 0f, 0.5f, EDGE_LEFT)); in testAdjustResizeWithoutAppWindowInsetsListenerNotPlayingAnim()
181 mBackAnimationController.onBackProgressed(new BackEvent(100f, 0f, progress, EDGE_LEFT)); in testAdjustPanScrollsViewRoot()
202 mBackAnimationController.onBackProgressed(new BackEvent(100f, 0f, 0.5f, EDGE_LEFT)); in testNewGestureAfterCancelSeamlessTakeover()
232 mBackAnimationController.onBackProgressed(new BackEvent(100f, 0f, progress, EDGE_LEFT)); in testImeInsetsManipulationCurve()
248 mBackAnimationController.onBackProgressed(new BackEvent(100f, 0f, 0.5f, EDGE_LEFT)); in testOnReadyAfterGestureFinished()
/frameworks/base/core/java/android/window/
DImeOnBackInvokedDispatcher.java234 public void onBackProgressed(@NonNull BackEvent backEvent) { in onBackProgressed() method in ImeOnBackInvokedDispatcher.ImeOnBackInvokedCallback
236 mIOnBackInvokedCallback.onBackProgressed( in onBackProgressed()
324 public void onBackProgressed(BackMotionEvent backMotionEvent) { in onBackProgressed() method in ImeOnBackInvokedDispatcher.ImeOnBackInvokedCallbackWrapper
325 maybeRunOnAnimationCallback((animationCallback) -> animationCallback.onBackProgressed( in onBackProgressed()
DIOnBackInvokedCallback.aidl45 void onBackProgressed(in BackMotionEvent backMotionEvent); in onBackProgressed() method
DOnBackAnimationCallback.java58 default void onBackProgressed(@NonNull BackEvent backEvent) { } in onBackProgressed() method
DWindowOnBackInvokedDispatcher.java129 mProgressAnimator.onBackProgressed(backEvent); in onMotionEvent()
432 mProgressAnimator.onBackStarted(backEvent, callback::onBackProgressed); in onBackStarted()
438 public void onBackProgressed(BackMotionEvent backEvent) { in onBackProgressed() method in WindowOnBackInvokedDispatcher.OnBackInvokedCallbackWrapper
444 mProgressAnimator.onBackProgressed(backEvent); in onBackProgressed()
DBackProgressAnimator.java115 public void onBackProgressed(BackMotionEvent event) { in onBackProgressed() method in BackProgressAnimator
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/animation/back/
DOnBackAnimationCallbackExtensionTest.kt35 onBackProgressed = onBackProgress,
52 onBackAnimationCallback.onBackProgressed(backEvent) in onBackProgressed_shouldInvoke_onBackProgress()
/frameworks/base/packages/SystemUI/src/com/android/systemui/back/domain/interactor/
DBackActionInteractor.kt66 override fun onBackProgressed(backEvent: BackEvent) { in <lambda>() method in com.android.systemui.back.domain.interactor.BackActionInteractor
68 shadeBackActionInteractor.onBackProgressed(backEvent.progress) in <lambda>()
/frameworks/base/packages/SystemUI/src/com/android/systemui/shade/domain/interactor/
DShadeBackActionInteractor.kt48 fun onBackProgressed(progressFraction: Float) method
DShadeBackActionInteractorImpl.kt63 override fun onBackProgressed(progressFraction: Float) { in onBackProgressed() method in com.android.systemui.shade.domain.interactor.ShadeBackActionInteractorImpl
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/back/domain/interactor/
DBackActionInteractorTest.kt293 callback.onBackProgressed(createBackEvent(0.3f)) in onBackProgressed_shadeCannotBeCollapsed_shadeViewControllerNotNotified()
295 verify(shadeBackActionInteractor, never()).onBackProgressed(0.3f) in onBackProgressed_shadeCannotBeCollapsed_shadeViewControllerNotNotified()
308 callback.onBackProgressed(createBackEvent(0.4f)) in onBackProgressed_shadeCanBeCollapsed_shadeViewControllerNotified()
310 verify(shadeBackActionInteractor).onBackProgressed(0.4f) in onBackProgressed_shadeCanBeCollapsed_shadeViewControllerNotified()
/frameworks/base/packages/SystemUI/src/com/android/systemui/shade/
DShadeViewControllerEmptyImpl.kt60 override fun onBackProgressed(progressFraction: Float) {} in onBackProgressed() method in com.android.systemui.shade.ShadeViewControllerEmptyImpl
/frameworks/base/packages/SystemUI/animation/src/com/android/systemui/util/
DDialog.kt51 onBackProgressed = { backTransformation -> backTransformation.applyTo(targetView) }, in backTransformation()
/frameworks/base/libs/WindowManager/Shell/src/com/android/wm/shell/back/
DCrossTaskBackAnimation.java357 public void onBackProgressed(@NonNull BackMotionEvent backEvent) { in onBackProgressed() method in CrossTaskBackAnimation.Callback
358 mProgressAnimator.onBackProgressed(backEvent); in onBackProgressed()
DCrossActivityBackAnimation.kt498 override fun onBackProgressed(backEvent: BackMotionEvent) { in <lambda>() method in com.android.wm.shell.back.CrossActivityBackAnimation.Callback
500 progressAnimator.onBackProgressed(backEvent) in <lambda>()
DBackAnimationController.java673 callback.onBackProgressed(backEvent); in dispatchOnBackProgressed()
/frameworks/base/core/java/android/view/
DImeBackAnimationController.java126 public void onBackProgressed(@NonNull BackEvent backEvent) { in onBackProgressed() method in ImeBackAnimationController
/frameworks/base/core/tests/coretests/src/android/window/
DWindowOnBackInvokedDispatcherTest.java453 verify(mCallback1, atLeast(1)).onBackProgressed(any()); in handlesMotionEvent()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/phone/
DStatusBarKeyguardViewManagerTest.java666 backCallback.onBackProgressed(event); in testPredictiveBackCallback_forwardsBackDispatches()
667 verify(mBouncerViewDelegateBackCallback).onBackProgressed(eq(event)); in testPredictiveBackCallback_forwardsBackDispatches()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/shade/
DNotificationPanelViewControllerTest.java97 mNotificationPanelViewController.onBackProgressed(0.0f); in testBackGesture_min_scrimAtMaxScale()
106 mNotificationPanelViewController.onBackProgressed(1.0f); in testBackGesture_max_scrimAtMinScale()
/frameworks/base/packages/SystemUI/multivalentTests/src/com/android/keyguard/
DKeyguardSecurityContainerTest.java387 mKeyguardSecurityContainer.getBackCallback().onBackProgressed( in testPlayBackAnimation()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/
DStatusBarKeyguardViewManager.java247 public void onBackProgressed(BackEvent event) {
249 mPrimaryBouncerView.getDelegate().getBackCallback().onBackProgressed(event);

12