Home
last modified time | relevance | path

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

/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/accessibility/floatingmenu/
DRadiiAnimatorTest.java70 final float[] endRadii = generateRadii(1.0f); in skipAnimation_updatesToEnd() local
76 new Handler(Looper.getMainLooper()).post(() -> radiiAnimator.startAnimation(endRadii)); in skipAnimation_updatesToEnd()
79 && Arrays.equals(radiiAnimator.evaluate(1.0f), endRadii), in skipAnimation_updatesToEnd()
83 assertThat(mResultRadii).usingTolerance(0.001).containsExactly(endRadii); in skipAnimation_updatesToEnd()
90 final float[] endRadii = generateRadii(2.0f); in finishedAnimation_canRepeat() local
97 playAndSkipAnimation(radiiAnimator, endRadii); in finishedAnimation_canRepeat()
98 assertThat(mResultRadii).usingTolerance(0.001).containsExactly(endRadii); in finishedAnimation_canRepeat()
112 private void playAndSkipAnimation(RadiiAnimator animator, float[] endRadii) { in playAndSkipAnimation() argument
115 new Handler(Looper.getMainLooper()).post(() -> animator.startAnimation(endRadii)); in playAndSkipAnimation()
/frameworks/base/packages/SystemUI/src/com/android/systemui/accessibility/floatingmenu/
DMenuAnimationController.java419 void startRadiiAnimation(float[] endRadii) { in startRadiiAnimation() argument
420 mRadiiAnimator.startAnimation(endRadii); in startRadiiAnimation()