Searched refs:playTime (Results 1 – 7 of 7) sorted by relevance
70 void PropertyValuesAnimatorSet::onPlayTimeChanged(nsecs_t playTime) { in onPlayTimeChanged() argument71 if (playTime == 0 && mDuration > 0) { in onPlayTimeChanged()81 anim->setCurrentPlayTime(playTime); in onPlayTimeChanged()144 void PropertyAnimator::setCurrentPlayTime(nsecs_t playTime) { in setCurrentPlayTime() argument145 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()
30 void setCurrentPlayTime(nsecs_t playTime);71 virtual void onPlayTimeChanged(nsecs_t playTime) override;
261 bool BaseRenderNodeAnimator::updatePlayTime(nsecs_t playTime) { in updatePlayTime() argument262 mPlayTime = mPlayState == PlayState::Reversing ? mDuration - playTime : playTime; in updatePlayTime()268 if (playTime < 0) { in updatePlayTime()284 return playTime >= mDuration; in updatePlayTime()
135 virtual void onPlayTimeChanged(nsecs_t playTime) {} in onPlayTimeChanged() argument175 bool updatePlayTime(nsecs_t playTime);
857 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 …]
51 public void setCurrentPlayTime(long playTime) { in setCurrentPlayTime() argument53 mStartTime = Math.max(mStartTime, currentTime - playTime); in setCurrentPlayTime()
732 public void setCurrentPlayTime(long playTime) { in setCurrentPlayTime() argument733 float fraction = mDuration > 0 ? (float) playTime / mDuration : 1; in setCurrentPlayTime()