Searched refs:playTime (Results 1 - 6 of 6) sorted by relevance

/frameworks/base/core/java/android/animation/
H A DTimeAnimator.java51 public void setCurrentPlayTime(long playTime) { argument
53 mStartTime = Math.max(mStartTime, currentTime - playTime);
H A DValueAnimator.java577 * @param playTime The time, in milliseconds, to which the animation is advanced or rewound.
579 public void setCurrentPlayTime(long playTime) { argument
580 float fraction = mDuration > 0 ? (float) playTime / mDuration : 1;
/frameworks/base/libs/hwui/
H A DPropertyValuesAnimatorSet.cpp71 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 DPropertyValuesAnimatorSet.h30 void setCurrentPlayTime(nsecs_t playTime);
73 virtual void onPlayTimeChanged(nsecs_t playTime) override;
H A DAnimator.cpp265 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 DAnimator.h136 virtual void onPlayTimeChanged(nsecs_t playTime) {} argument
182 bool updatePlayTime(nsecs_t playTime);

Completed in 2208 milliseconds