Home
last modified time | relevance | path

Searched refs:currentPlayTime (Results 1 – 10 of 10) sorted by relevance

/frameworks/base/services/core/java/com/android/server/wm/
DSurfaceAnimationRunner.java179 long currentPlayTime = anim.getCurrentPlayTime(); in startAnimationLocked()
180 if (currentPlayTime > duration) { in startAnimationLocked()
181 currentPlayTime = duration; in startAnimationLocked()
183 applyTransformation(a, mFrameTransaction, currentPlayTime); in startAnimationLocked()
229 private void applyTransformation(RunningAnimation a, Transaction t, long currentPlayTime) { in applyTransformation() argument
233 a.mAnimSpec.apply(t, a.mLeash, currentPlayTime); in applyTransformation()
DWindowChangeAnimationSpec.java144 public void apply(Transaction t, SurfaceControl leash, long currentPlayTime) { in apply() argument
147 mAnimation.getTransformation(currentPlayTime, tmp.mTransformation); in apply()
151 mAnimation.getTransformation(currentPlayTime, tmp.mTransformation); in apply()
DWindowAnimationSpec.java94 public void apply(Transaction t, SurfaceControl leash, long currentPlayTime) { in apply() argument
97 mAnimation.getTransformation(currentPlayTime, tmp.transformation); in apply()
DLocalAnimationAdapter.java128 void apply(Transaction t, SurfaceControl leash, long currentPlayTime); in apply() argument
DDimmer.java378 public void apply(SurfaceControl.Transaction t, SurfaceControl sc, long currentPlayTime) { in apply() argument
379 float alpha = ((float) currentPlayTime / getDuration()) * (mToAlpha - mFromAlpha) in apply()
DWindowState.java5155 public void apply(Transaction t, SurfaceControl leash, long currentPlayTime) { in apply() argument
5156 final float fraction = (float) currentPlayTime / getDuration(); in apply()
/frameworks/base/core/java/android/animation/
DAnimatorSet.java818 void animateBasedOnPlayTime(long currentPlayTime, long lastPlayTime, boolean inReverse) {
819 if (currentPlayTime < 0 || lastPlayTime < 0) {
834 currentPlayTime = Math.min(currentPlayTime, duration);
835 currentPlayTime = duration - currentPlayTime;
844 if (event.getTime() > currentPlayTime || event.getTime() == DURATION_INFINITE) {
852 || event.mNode.mEndTime > currentPlayTime) {
867 long playTime = getPlayTimeForNode(currentPlayTime, node, inReverse);
877 if (event.getTime() > currentPlayTime
1258 private int findLatestEventIdForTime(long currentPlayTime) {
1263 currentPlayTime = getTotalDuration() - currentPlayTime;
[all …]
DValueAnimator.java1193 long currentPlayTime = currentTime - mStartTime; in reverse() local
1194 long timeLeft = getScaledDuration() - currentPlayTime; in reverse()
1364 void animateBasedOnPlayTime(long currentPlayTime, long lastPlayTime, boolean inReverse) { in animateBasedOnPlayTime() argument
1365 if (currentPlayTime < 0 || lastPlayTime < 0) { in animateBasedOnPlayTime()
1372 int iteration = (int) (currentPlayTime / mDuration); in animateBasedOnPlayTime()
1389 if (mRepeatCount != INFINITE && currentPlayTime >= (mRepeatCount + 1) * mDuration) { in animateBasedOnPlayTime()
1393 float fraction = currentPlayTime / (float) mDuration; in animateBasedOnPlayTime()
DAnimator.java518 void animateBasedOnPlayTime(long currentPlayTime, long lastPlayTime, boolean inReverse) {} in animateBasedOnPlayTime() argument
/frameworks/base/libs/hwui/
DAnimator.cpp174 nsecs_t currentPlayTime = mPlayTime; in pushStaging() local
187 bool changed = currentPlayTime != mPlayTime || prevFramePlayState != mStagingPlayState; in pushStaging()
256 nsecs_t currentPlayTime = context.frameTimeMs() - mStartTime; in animate() local
257 bool finished = updatePlayTime(currentPlayTime); in animate()