Home
last modified time | relevance | path

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

/frameworks/base/core/java/android/animation/
DValueAnimator.java112 float mSeekFraction = -1; field in ValueAnimator
608 mSeekFraction = fraction; in setCurrentFraction()
690 if (!mInitialized || (!mStarted && mSeekFraction < 0)) { in getCurrentPlayTime()
693 if (mSeekFraction >= 0) { in getCurrentPlayTime()
694 return (long) (mDuration * mSeekFraction); in getCurrentPlayTime()
973 if (playBackwards && mSeekFraction != -1 && mSeekFraction != 0) { in start()
976 float fraction = (float) (mSeekFraction - Math.floor(mSeekFraction)); in start()
977 mSeekFraction = 1 - fraction; in start()
979 mSeekFraction = 1 + mRepeatCount - mSeekFraction; in start()
992 if (mStartDelay == 0 || mSeekFraction >= 0) { in start()
[all …]