Home
last modified time | relevance | path

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

/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/accessibility/floatingmenu/
DMenuAnimationControllerTest.java167 final Runnable onSpringAnimationsEndCallback = mock(Runnable.class); in startSpringAnimationsAndEndOneAnimation_notTriggerEndAction() local
168 mMenuAnimationController.setSpringAnimationsEndAction(onSpringAnimationsEndCallback); in startSpringAnimationsAndEndOneAnimation_notTriggerEndAction()
175 verifyZeroInteractions(onSpringAnimationsEndCallback); in startSpringAnimationsAndEndOneAnimation_notTriggerEndAction()
180 final Runnable onSpringAnimationsEndCallback = mock(Runnable.class); in startAndEndSpringAnimations_triggerEndAction() local
181 mMenuAnimationController.setSpringAnimationsEndAction(onSpringAnimationsEndCallback); in startAndEndSpringAnimations_triggerEndAction()
186 verify(onSpringAnimationsEndCallback).run(); in startAndEndSpringAnimations_triggerEndAction()
191 final Runnable onSpringAnimationsEndCallback = mock(Runnable.class); in flingThenSpringAnimationsAreEnded_triggerEndAction() local
192 mMenuAnimationController.setSpringAnimationsEndAction(onSpringAnimationsEndCallback); in flingThenSpringAnimationsAreEnded_triggerEndAction()
204 verify(onSpringAnimationsEndCallback).run(); in flingThenSpringAnimationsAreEnded_triggerEndAction()
209 final Runnable onSpringAnimationsEndCallback = mock(Runnable.class); in existFlingIsRunningAndTheOtherAreEnd_notTriggerEndAction() local
[all …]