Home
last modified time | relevance | path

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

/frameworks/base/libs/hwui/
DPropertyValuesAnimatorSet.cpp70 void PropertyValuesAnimatorSet::onPlayTimeChanged(nsecs_t playTime) { in onPlayTimeChanged() argument
71 if (playTime == 0 && mDuration > 0) { in onPlayTimeChanged()
81 anim->setCurrentPlayTime(playTime); in onPlayTimeChanged()
144 void PropertyAnimator::setCurrentPlayTime(nsecs_t playTime) { in setCurrentPlayTime() argument
145 if (playTime < mStartDelay) { in setCurrentPlayTime()
151 if (playTime >= mTotalDuration) { in setCurrentPlayTime()
157 iteration = (playTime - mStartDelay) / mDuration; in setCurrentPlayTime()
158 currentIterationFraction = ((playTime - mStartDelay) % mDuration) / (float)mDuration; in setCurrentPlayTime()
DPropertyValuesAnimatorSet.h30 void setCurrentPlayTime(nsecs_t playTime);
71 virtual void onPlayTimeChanged(nsecs_t playTime) override;
DAnimator.cpp261 bool BaseRenderNodeAnimator::updatePlayTime(nsecs_t playTime) { in updatePlayTime() argument
262 mPlayTime = mPlayState == PlayState::Reversing ? mDuration - playTime : playTime; in updatePlayTime()
268 if (playTime < 0) { in updatePlayTime()
284 return playTime >= mDuration; in updatePlayTime()
DAnimator.h135 virtual void onPlayTimeChanged(nsecs_t playTime) {} in onPlayTimeChanged() argument
175 bool updatePlayTime(nsecs_t playTime);
/frameworks/base/core/java/android/animation/
DAnimatorSet.java857 long playTime = startEndTimes[index];
858 if (lastPlayTime != playTime) {
859 animateSkipToEnds(playTime, lastPlayTime);
860 animateValuesInRange(playTime, lastPlayTime);
861 lastPlayTime = playTime;
868 long playTime = startEndTimes[index];
869 if (lastPlayTime != playTime) {
870 animateSkipToEnds(playTime, lastPlayTime);
871 animateValuesInRange(playTime, lastPlayTime);
872 lastPlayTime = playTime;
[all …]
DTimeAnimator.java51 public void setCurrentPlayTime(long playTime) { in setCurrentPlayTime() argument
53 mStartTime = Math.max(mStartTime, currentTime - playTime); in setCurrentPlayTime()
DValueAnimator.java732 public void setCurrentPlayTime(long playTime) { in setCurrentPlayTime() argument
733 float fraction = mDuration > 0 ? (float) playTime / mDuration : 1; in setCurrentPlayTime()