Home
last modified time | relevance | path

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

/frameworks/base/services/core/java/com/android/server/wm/
DLocalAnimationAdapter.java142 void apply(Transaction t, SurfaceControl leash, long currentPlayTime); in apply() argument
163 default float getFraction(float currentPlayTime) { in getFraction() argument
165 return duration > 0 ? currentPlayTime / duration : 1.0f; in getFraction()
DSurfaceAnimationRunner.java278 long currentPlayTime = anim.getCurrentPlayTime(); in startAnimationLocked()
279 if (currentPlayTime > duration) { in startAnimationLocked()
280 currentPlayTime = duration; in startAnimationLocked()
282 applyTransformation(a, mFrameTransaction, currentPlayTime); in startAnimationLocked()
330 private void applyTransformation(RunningAnimation a, Transaction t, long currentPlayTime) { in applyTransformation() argument
331 a.mAnimSpec.apply(t, a.mLeash, currentPlayTime); in applyTransformation()
DFadeAnimationController.java107 long currentPlayTime) { in createAnimationSpec() argument
109 animation.getTransformation(currentPlayTime, mTransformation); in createAnimationSpec()
DWindowChangeAnimationSpec.java139 public void apply(Transaction t, SurfaceControl leash, long currentPlayTime) { in apply() argument
142 mAnimation.getTransformation(currentPlayTime, tmp.mTransformation); in apply()
146 mAnimation.getTransformation(currentPlayTime, tmp.mTransformation); in apply()
DWindowAnimationSpec.java120 public void apply(Transaction t, SurfaceControl leash, long currentPlayTime) { in apply() argument
123 mAnimation.getTransformation(currentPlayTime, tmp.transformation); in apply()
DDimmer.java360 public void apply(SurfaceControl.Transaction t, SurfaceControl sc, long currentPlayTime) { in apply() argument
361 final float fraction = getFraction(currentPlayTime); in apply()
DScreenRotationAnimation.java715 long currentPlayTime) { in startColorAnimation()
716 final float fraction = getFraction(currentPlayTime); in startColorAnimation()
DWindowState.java5893 public void apply(Transaction t, SurfaceControl leash, long currentPlayTime) { in apply() argument
5894 final float fraction = getFraction(currentPlayTime); in apply()
/frameworks/base/packages/SystemUI/animation/src/com/android/systemui/surfaceeffects/turbulencenoise/
DTurbulenceNoiseView.kt86 val timeInSec = updateListener.currentPlayTime * MS_TO_SEC in <lambda>()
128 val timeInSec = updateListener.currentPlayTime * MS_TO_SEC in <lambda>()
173 val timeInSec = updateListener.currentPlayTime * MS_TO_SEC in <lambda>()
/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.java1284 long currentPlayTime = currentTime - mStartTime; in reverse() local
1285 long timeLeft = getScaledDuration() - currentPlayTime; in reverse()
1455 void animateBasedOnPlayTime(long currentPlayTime, long lastPlayTime, boolean inReverse) { in animateBasedOnPlayTime() argument
1456 if (currentPlayTime < 0 || lastPlayTime < 0) { in animateBasedOnPlayTime()
1463 int iteration = (int) (currentPlayTime / mDuration); in animateBasedOnPlayTime()
1480 if (mRepeatCount != INFINITE && currentPlayTime >= (mRepeatCount + 1) * mDuration) { in animateBasedOnPlayTime()
1484 float fraction = currentPlayTime / (float) mDuration; in animateBasedOnPlayTime()
DAnimator.java564 void animateBasedOnPlayTime(long currentPlayTime, long lastPlayTime, boolean inReverse) {} in animateBasedOnPlayTime() argument
/frameworks/base/packages/SystemUI/src/com/android/systemui/biometrics/
DAuthRippleView.kt127 val now = animator.currentPlayTime in <lambda>()
215 val now = animator.currentPlayTime in <lambda>()
228 val now = animator.currentPlayTime in <lambda>()
266 val now = animator.currentPlayTime in <lambda>()
/frameworks/base/libs/hwui/
DAnimator.cpp170 nsecs_t currentPlayTime = mPlayTime; in pushStaging() local
183 bool changed = currentPlayTime != mPlayTime || prevFramePlayState != mStagingPlayState; in pushStaging()
252 nsecs_t currentPlayTime = context.frameTimeMs() - mStartTime; in animate() local
253 bool finished = updatePlayTime(currentPlayTime); in animate()
/frameworks/base/libs/WindowManager/Jetpack/src/androidx/window/extensions/embedding/
DTaskFragmentAnimationAdapter.java119 final void onAnimationUpdate(@NonNull SurfaceControl.Transaction t, long currentPlayTime) { in onAnimationUpdate() argument
129 mAnimation.getTransformation(Math.min(currentPlayTime, mAnimation.getDuration()), in onAnimationUpdate()
/frameworks/base/libs/WindowManager/Shell/src/com/android/wm/shell/activityembedding/
DActivityEmbeddingAnimationAdapter.java121 final void onAnimationUpdate(@NonNull SurfaceControl.Transaction t, long currentPlayTime) { in onAnimationUpdate() argument
131 mAnimation.getTransformation(Math.min(currentPlayTime, mAnimation.getDuration()), in onAnimationUpdate()
/frameworks/base/packages/SystemUI/animation/src/com/android/systemui/surfaceeffects/ripple/
DRippleAnimation.kt49 val now = updateListener.currentPlayTime in <lambda>()
DRippleView.kt190 val now = updateListener.currentPlayTime in <lambda>()
/frameworks/base/packages/SystemUI/src/com/android/systemui/media/taptotransfer/receiver/
DReceiverChipRippleView.kt80 val now = updateListener.currentPlayTime in <lambda>()
/frameworks/base/libs/WindowManager/Shell/src/com/android/wm/shell/transition/
DScreenRotationAnimation.java368 final long currentPlayTime = Math.min(va.getDuration(), va.getCurrentPlayTime()); in startColorAnimation()
369 final float fraction = currentPlayTime / va.getDuration(); in startColorAnimation()
DDefaultTransitionHandler.java635 final long currentPlayTime = Math.min(va.getDuration(), va.getCurrentPlayTime()); in startSurfaceAnimation()
637 applyTransformation(currentPlayTime, transaction, leash, anim, transformation, matrix, in startSurfaceAnimation()