Home
last modified time | relevance | path

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

/frameworks/base/services/accessibility/java/com/android/server/accessibility/
DMagnificationController.java1176 private final ValueAnimator mValueAnimator; field in MagnificationController.SpecAnimationBridge
1190 mValueAnimator = mControllerCtx.newValueAnimator(); in SpecAnimationBridge()
1191 mValueAnimator.setDuration(animationDuration); in SpecAnimationBridge()
1192 mValueAnimator.setInterpolator(new DecelerateInterpolator(2.5f)); in SpecAnimationBridge()
1193 mValueAnimator.setFloatValues(0.0f, 1.0f); in SpecAnimationBridge()
1194 mValueAnimator.addUpdateListener(this); in SpecAnimationBridge()
1215 if (mValueAnimator.isRunning()) { in updateSentSpecMainThread()
1216 mValueAnimator.cancel(); in updateSentSpecMainThread()
1248 mValueAnimator.start(); in animateMagnificationSpecLocked()
/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()