Searched refs:playTime (Results 1 – 6 of 6) sorted by relevance
57 void PropertyValuesAnimatorSet::onPlayTimeChanged(nsecs_t playTime) { in onPlayTimeChanged() argument58 if (playTime == 0 && mDuration > 0) { in onPlayTimeChanged()66 } else if (playTime >= mDuration) { in onPlayTimeChanged()73 anim->setCurrentPlayTime(playTime); in onPlayTimeChanged()121 void PropertyAnimator::setCurrentPlayTime(nsecs_t playTime) { in setCurrentPlayTime() argument122 if (playTime >= mStartDelay && playTime < mTotalDuration) { in setCurrentPlayTime()123 nsecs_t currentIterationPlayTime = (playTime - mStartDelay) % mDuration; in setCurrentPlayTime()126 } else if (mLatestFraction < 1.0f && playTime >= mTotalDuration) { in setCurrentPlayTime()
30 void setCurrentPlayTime(nsecs_t playTime);62 virtual void onPlayTimeChanged(nsecs_t playTime) override;
253 bool BaseRenderNodeAnimator::updatePlayTime(nsecs_t playTime) { in updatePlayTime() argument254 mPlayTime = mPlayState == PlayState::Reversing ? mDuration - playTime : playTime; in updatePlayTime()260 if (playTime < 0) { in updatePlayTime()274 return playTime >= mDuration; in updatePlayTime()
126 virtual void onPlayTimeChanged(nsecs_t playTime) {} in onPlayTimeChanged() argument161 bool updatePlayTime(nsecs_t playTime);
51 public void setCurrentPlayTime(long playTime) { in setCurrentPlayTime() argument53 mStartTime = Math.max(mStartTime, currentTime - playTime); in setCurrentPlayTime()
576 public void setCurrentPlayTime(long playTime) { in setCurrentPlayTime() argument577 float fraction = mDuration > 0 ? (float) playTime / mDuration : 1; in setCurrentPlayTime()