Searched refs:playTime (Results 1 - 7 of 7) sorted by relevance
/frameworks/base/core/java/android/animation/ |
H A D | TimeAnimator.java | 51 public void setCurrentPlayTime(long playTime) { argument 53 mStartTime = Math.max(mStartTime, currentTime - playTime);
|
H A D | AnimatorSet.java | 869 long playTime = getPlayTimeForNode(currentPlayTime, node, inReverse); 871 playTime -= node.mAnimation.getStartDelay(); 873 node.mAnimation.animateBasedOnPlayTime(playTime, lastPlayTime, inReverse); 906 * @param playTime The time, in milliseconds, to which the animation is advanced or rewound. 911 public void setCurrentPlayTime(long playTime) { argument 918 if ((getTotalDuration() != DURATION_INFINITE && playTime > getTotalDuration() - mStartDelay) 919 || playTime < 0) { 938 animateBasedOnPlayTime(playTime, 0, mReversing); 939 mSeekState.setPlayTime(playTime, mReversing); 943 mSeekState.setPlayTime(playTime, mReversin 1105 handleAnimationEvents(int startId, int latestId, long playTime) argument 1915 setPlayTime(long playTime, boolean inReverse) argument [all...] |
H A D | ValueAnimator.java | 613 * @param playTime The time, in milliseconds, to which the animation is advanced or rewound. 615 public void setCurrentPlayTime(long playTime) { argument 616 float fraction = mDuration > 0 ? (float) playTime / mDuration : 1;
|
/frameworks/base/libs/hwui/ |
H A D | PropertyValuesAnimatorSet.cpp | 71 void PropertyValuesAnimatorSet::onPlayTimeChanged(nsecs_t playTime) { argument 72 if (playTime == 0 && mDuration > 0) { 82 anim->setCurrentPlayTime(playTime); 144 void PropertyAnimator::setCurrentPlayTime(nsecs_t playTime) { argument 145 if (playTime < mStartDelay) { 151 if (playTime >= mTotalDuration) { 157 iteration = (playTime - mStartDelay) / mDuration; 158 currentIterationFraction = ((playTime - mStartDelay) % mDuration) / (float) mDuration;
|
H A D | PropertyValuesAnimatorSet.h | 30 void setCurrentPlayTime(nsecs_t playTime); 73 virtual void onPlayTimeChanged(nsecs_t playTime) override;
|
H A D | Animator.cpp | 265 bool BaseRenderNodeAnimator::updatePlayTime(nsecs_t playTime) { argument 266 mPlayTime = mPlayState == PlayState::Reversing ? mDuration - playTime : playTime; 272 if (playTime < 0) { 286 return playTime >= mDuration;
|
H A D | Animator.h | 136 virtual void onPlayTimeChanged(nsecs_t playTime) {} argument 182 bool updatePlayTime(nsecs_t playTime);
|
Completed in 203 milliseconds