Home
last modified time | relevance | path

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

/packages/apps/Launcher3/quickstep/src/com/android/quickstep/util/
DRectFSpringAnim2.java108 private SpringAnimation mRectXAnim; field in RectFSpringAnim2
167 if (mRectXAnim != null && mTargetX != mTargetRect.centerX()) { in onTargetPositionChanged()
169 mRectXAnim.animateToFinalPosition(mTargetX); in onTargetPositionChanged()
194 mRectXAnim = new SpringAnimation(this, RECT_CENTER_X) in start()
200 mRectXAnim.addEndListener(((animation, canceled, centerX, velocityX) -> { in start()
233 mRectXAnim.start(); in start()
289 if (mRectXAnim.canSkipToEnd()) { in end()
290 mRectXAnim.skipToEnd(); in end()
DRectFSpringAnim.java99 private FlingSpringAnim mRectXAnim; field in RectFSpringAnim
125 if (mRectXAnim != null && mRectXAnim.getTargetPosition() != mTargetRect.centerX()) {
126 mRectXAnim.updatePosition(mCurrentCenterX, mTargetRect.centerX());
166 mRectXAnim = new FlingSpringAnim(this, context, RECT_CENTER_X, startX, endX,
199 mRectXAnim.start();
209 mRectXAnim.end(); in end()