Home
last modified time | relevance | path

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

/frameworks/base/core/java/android/animation/
DAnimatorSet.java827 long lastPlayTime,
830 if (currentPlayTime < 0 || lastPlayTime < -1) {
845 lastPlayTime = duration - lastPlayTime;
849 int index = findNextIndex(lastPlayTime, startEndTimes);
855 if (currentPlayTime >= lastPlayTime) {
858 if (lastPlayTime != playTime) {
859 animateSkipToEnds(playTime, lastPlayTime);
860 animateValuesInRange(playTime, lastPlayTime);
861 lastPlayTime = playTime;
869 if (lastPlayTime != playTime) {
[all …]
DValueAnimator.java1420 void animateValuesInRange(long currentPlayTime, long lastPlayTime) { in animateValuesInRange() argument
1421 if (currentPlayTime < 0 || lastPlayTime < -1) { in animateValuesInRange()
1427 if (lastPlayTime < 0 || (lastPlayTime == 0 && currentPlayTime > 0)) { in animateValuesInRange()
1429 } else if (lastPlayTime > duration in animateValuesInRange()
1430 || (lastPlayTime == duration && currentPlayTime < duration) in animateValuesInRange()
1435 lastPlayTime = Math.min(duration, lastPlayTime); in animateValuesInRange()
1437 lastPlayTime -= mStartDelay; in animateValuesInRange()
1443 int lastIteration = Math.max(0, (int) (lastPlayTime / mDuration)); in animateValuesInRange()
1465 void animateSkipToEnds(long currentPlayTime, long lastPlayTime) { in animateSkipToEnds() argument
1466 boolean inReverse = currentPlayTime < lastPlayTime; in animateSkipToEnds()
[all …]
DAnimator.java572 void animateValuesInRange(long currentPlayTime, long lastPlayTime) {} in animateValuesInRange() argument
578 void animateSkipToEnds(long currentPlayTime, long lastPlayTime) {} in animateSkipToEnds() argument