Searched refs:mProgressAnimator (Results 1 – 3 of 3) sorted by relevance
46 private BackProgressAnimator mProgressAnimator; field in BackProgressAnimatorTest70 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 …]
74 public final BackProgressAnimator mProgressAnimator = new BackProgressAnimator(); field in WindowOnBackInvokedDispatcher125 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.OnBackInvokedCallbackWrapper410 mProgressAnimator = progressAnimator; in OnBackInvokedCallbackWrapper()422 if (callback != null && mProgressAnimator.isBackAnimationInProgress()) { in onBackStarted()423 mProgressAnimator.reset(); in onBackStarted()[all …]
113 private final BackProgressAnimator mProgressAnimator = new BackProgressAnimator(); field in CrossTaskBackAnimation348 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()