Home
last modified time | relevance | path

Searched refs:mProgressAnimator (Results 1 – 3 of 3) sorted by relevance

/frameworks/base/libs/WindowManager/Shell/tests/unittest/src/com/android/wm/shell/back/
DBackProgressAnimatorTest.java46 private BackProgressAnimator mProgressAnimator; field in BackProgressAnimatorTest
70 mProgressAnimator = new BackProgressAnimator(); in setUp()
71 mProgressAnimator.onBackStarted(backEvent, this::onGestureProgress); in setUp()
79 () -> mProgressAnimator.onBackProgressed(backEvent)); in testBackProgressed()
92 () -> mProgressAnimator.onBackProgressed(backEvent)); in testBackCancelled()
101 () -> mProgressAnimator.onBackCancelled(finishCallbackCalled::countDown)); in testBackCancelled()
113 () -> mProgressAnimator.onBackProgressed(backEvent)); in testBackInvoked()
120 () -> mProgressAnimator.onBackInvoked(finishCallbackCalled::countDown)); in testBackInvoked()
130 () -> mProgressAnimator.onBackProgressed(backEvent)); in testResetCallsCancelCallbackImmediately()
140 () -> mProgressAnimator.onBackCancelled(cancelCallbackCalled::countDown)); in testResetCallsCancelCallbackImmediately()
[all …]
/frameworks/base/core/java/android/window/
DWindowOnBackInvokedDispatcher.java74 public final BackProgressAnimator mProgressAnimator = new BackProgressAnimator(); field in WindowOnBackInvokedDispatcher
125 if (!mProgressAnimator.isBackAnimationInProgress()) { in onMotionEvent()
129 mProgressAnimator.onBackProgressed(backEvent); in onMotionEvent()
258 boolean isInProgress = mProgressAnimator.isBackAnimationInProgress(); in sendCancelledIfInProgress()
297 mHandler.post(mProgressAnimator::reset); in clear()
312 callback, mTouchTracker, mProgressAnimator, mHandler); in setTopOnBackInvokedCallback()
397 private final BackProgressAnimator mProgressAnimator; field in WindowOnBackInvokedDispatcher.OnBackInvokedCallbackWrapper
410 mProgressAnimator = progressAnimator; in OnBackInvokedCallbackWrapper()
422 if (callback != null && mProgressAnimator.isBackAnimationInProgress()) { in onBackStarted()
423 mProgressAnimator.reset(); in onBackStarted()
[all …]
/frameworks/base/libs/WindowManager/Shell/src/com/android/wm/shell/back/
DCrossTaskBackAnimation.java113 private final BackProgressAnimator mProgressAnimator = new BackProgressAnimator(); field in CrossTaskBackAnimation
348 mProgressAnimator.removeOnBackCancelledFinishCallback(); in onBackStarted()
352 mProgressAnimator.onBackStarted(backEvent, in onBackStarted()
358 mProgressAnimator.onBackProgressed(backEvent); in onBackProgressed()
363 mProgressAnimator.onBackCancelled(CrossTaskBackAnimation.this::finishAnimation); in onBackCancelled()
368 mProgressAnimator.reset(); in onBackInvoked()