Home
last modified time | relevance | path

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

/frameworks/base/packages/SystemUI/src/com/android/systemui/accessibility/
DWindowMagnificationAnimationController.java62 private final ValueAnimator mValueAnimator; field in WindowMagnificationAnimationController
84 mValueAnimator = valueAnimator; in WindowMagnificationAnimationController()
85 mValueAnimator.addUpdateListener(this); in WindowMagnificationAnimationController()
86 mValueAnimator.addListener(this); in WindowMagnificationAnimationController()
151 mValueAnimator.cancel(); in enableWindowMagnification()
166 mValueAnimator.cancel(); in enableWindowMagnification()
172 mValueAnimator.reverse(); in enableWindowMagnification()
175 mValueAnimator.cancel(); in enableWindowMagnification()
177 mValueAnimator.start(); in enableWindowMagnification()
187 mValueAnimator.setDuration(mContext.getResources() in moveWindowMagnifierToPosition()
[all …]
/frameworks/base/packages/SystemUI/src/com/android/keyguard/
DPinShapeNonHintingView.java56 private ValueAnimator mValueAnimator = ValueAnimator.ofFloat(1f, 0f); field in PinShapeNonHintingView
108 if (mValueAnimator.isRunning()) {
109 mValueAnimator.end();
113 mValueAnimator.addUpdateListener(valueAnimator -> {
118 mValueAnimator.addListener(new AnimatorListenerAdapter() {
128 mValueAnimator.setDuration(PasswordTextView.DISAPPEAR_DURATION);
129 mValueAnimator.start();
/frameworks/base/packages/SystemUI/multivalentTests/src/com/android/systemui/ambient/touch/
DBouncerSwipeTouchHandlerTest.java101 ValueAnimator mValueAnimator; field in BouncerSwipeTouchHandlerTest
154 when(mValueAnimatorCreator.create(anyFloat(), anyFloat())).thenReturn(mValueAnimator); in setup()
474 verify(mValueAnimator, never()).addListener(any()); in testSwipeUpPositionBelowThreshold_collapsesBouncer()
476 verify(mFlingAnimationUtilsClosing).apply(eq(mValueAnimator), in testSwipeUpPositionBelowThreshold_collapsesBouncer()
480 verify(mValueAnimator).start(); in testSwipeUpPositionBelowThreshold_collapsesBouncer()
500 verify(mValueAnimator).addListener(endAnimationListenerCaptor.capture()); in testSwipeUpPositionAboveThreshold_expandsBouncer()
503 verify(mFlingAnimationUtils).apply(eq(mValueAnimator), eq(SCREEN_HEIGHT_PX * expansion), in testSwipeUpPositionAboveThreshold_expandsBouncer()
506 verify(mValueAnimator).start(); in testSwipeUpPositionAboveThreshold_expandsBouncer()
509 endAnimationListener.onAnimationEnd(mValueAnimator); in testSwipeUpPositionAboveThreshold_expandsBouncer()
531 verify(mValueAnimator).addListener(endAnimationListenerCaptor.capture()); in testSwipeUpVelocityAboveMin_expandsBouncer()
[all …]
/frameworks/base/services/accessibility/java/com/android/server/accessibility/magnification/
DFullScreenMagnificationController.java1867 private final ValueAnimator mValueAnimator; field in FullScreenMagnificationController.SpecAnimationBridge
1891 mValueAnimator = mControllerCtx.newValueAnimator(); in SpecAnimationBridge()
1892 mValueAnimator.setDuration(animationDuration); in SpecAnimationBridge()
1893 mValueAnimator.setInterpolator(new DecelerateInterpolator(2.5f)); in SpecAnimationBridge()
1894 mValueAnimator.setFloatValues(0.0f, 1.0f); in SpecAnimationBridge()
1895 mValueAnimator.addUpdateListener(this); in SpecAnimationBridge()
1896 mValueAnimator.addListener(this); in SpecAnimationBridge()
2014 mValueAnimator.start(); in animateMagnificationSpecLocked()
2108 if (mValueAnimator.isRunning()) { in cancelAnimations()
2109 mValueAnimator.cancel(); in cancelAnimations()
/frameworks/base/core/java/com/android/internal/widget/helper/
DItemTouchHelper.java2294 private final ValueAnimator mValueAnimator; field in ItemTouchHelper.RecoverAnimation
2321 mValueAnimator = ValueAnimator.ofFloat(0f, 1f); in RecoverAnimation()
2322 mValueAnimator.addUpdateListener( in RecoverAnimation()
2329 mValueAnimator.setTarget(viewHolder.itemView); in RecoverAnimation()
2330 mValueAnimator.addListener(this); in RecoverAnimation()
2335 mValueAnimator.setDuration(duration); in setDuration()
2340 mValueAnimator.start(); in start()
2344 mValueAnimator.cancel(); in cancel()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/accessibility/
DWindowMagnificationAnimationControllerTest.java123 private ValueAnimator mValueAnimator; field in WindowMagnificationAnimationControllerTest
144 mValueAnimator = newValueAnimator(); in setUp()
146 mContext, mValueAnimator); in setUp()
476 mValueAnimator.end(); in enableWindowMagnification_disabling_expectedValuesAndInvokeCallback()
783 mValueAnimator.end(); in deleteWindowMagnification_enabling_expectedValuesAndInvokeCallback()
DWindowMagnificationControllerWindowlessMagnifierTest.java166 private final ValueAnimator mValueAnimator = ValueAnimator.ofFloat(0, 1.0f).setDuration(0); field in WindowMagnificationControllerWindowlessMagnifierTest
224 mContext, mValueAnimator); in setUp()
272 mValueAnimator.cancel(); in tearDown()
DWindowMagnificationControllerTest.java164 private final ValueAnimator mValueAnimator = ValueAnimator.ofFloat(0, 1.0f).setDuration(0); field in WindowMagnificationControllerTest
224 mContext, mValueAnimator); in setUp()
262 mValueAnimator.cancel(); in tearDown()
/frameworks/base/services/tests/servicestests/src/com/android/server/accessibility/magnification/
DMagnificationControllerTest.java130 private ValueAnimator mValueAnimator; field in MagnificationControllerTest
205 when(mControllerCtx.newValueAnimator()).thenReturn(mValueAnimator); in setUp()