Home
last modified time | relevance | path

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

/frameworks/base/core/java/android/animation/
DAnimatorSet.java826 long currentPlayTime,
830 if (currentPlayTime < 0 || lastPlayTime < -1) {
843 currentPlayTime = Math.min(currentPlayTime, duration);
844 currentPlayTime = duration - currentPlayTime;
850 int endIndex = findNextIndex(currentPlayTime, startEndTimes);
855 if (currentPlayTime >= lastPlayTime) {
876 if (currentPlayTime != lastPlayTime) {
877 animateSkipToEnds(currentPlayTime, lastPlayTime);
878 animateValuesInRange(currentPlayTime, lastPlayTime);
898 void animateSkipToEnds(long currentPlayTime, long lastPlayTime) {
[all …]
DValueAnimator.java1263 long currentPlayTime = currentTime - mStartTime; in reverse() local
1264 long timeLeft = getScaledDuration() - currentPlayTime; in reverse()
1420 void animateValuesInRange(long currentPlayTime, long lastPlayTime) { in animateValuesInRange() argument
1421 if (currentPlayTime < 0 || lastPlayTime < -1) { in animateValuesInRange()
1427 if (lastPlayTime < 0 || (lastPlayTime == 0 && currentPlayTime > 0)) { in animateValuesInRange()
1430 || (lastPlayTime == duration && currentPlayTime < duration) in animateValuesInRange()
1438 currentPlayTime -= mStartDelay; in animateValuesInRange()
1442 int iteration = Math.max(0, (int) (currentPlayTime / mDuration)); in animateValuesInRange()
1454 if (mRepeatCount != INFINITE && currentPlayTime > (mRepeatCount + 1) * mDuration) { in animateValuesInRange()
1458 float fraction = Math.max(0, currentPlayTime) / (float) mDuration; in animateValuesInRange()
[all …]
DAnimator.java572 void animateValuesInRange(long currentPlayTime, long lastPlayTime) {} in animateValuesInRange() argument
578 void animateSkipToEnds(long currentPlayTime, long lastPlayTime) {} in animateSkipToEnds() argument
/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.java291 long currentPlayTime = anim.getCurrentPlayTime(); in startAnimationLocked()
292 if (currentPlayTime > duration) { in startAnimationLocked()
293 currentPlayTime = duration; in startAnimationLocked()
295 applyTransformation(a, mFrameTransaction, currentPlayTime); in startAnimationLocked()
343 private void applyTransformation(RunningAnimation a, Transaction t, long currentPlayTime) { in applyTransformation() argument
344 a.mAnimSpec.apply(t, a.mLeash, currentPlayTime); in applyTransformation()
DFadeAnimationController.java113 long currentPlayTime) { in createAnimationSpec() argument
115 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()
DLegacyDimmer.java326 public void apply(SurfaceControl.Transaction t, SurfaceControl sc, long currentPlayTime) { in apply() argument
327 final float fraction = getFraction(currentPlayTime); in apply()
DDimmerAnimationHelper.java285 public void apply(SurfaceControl.Transaction t, SurfaceControl sc, long currentPlayTime) { in apply() argument
293 final float fraction = getFraction(currentPlayTime); in apply()
DScreenRotationAnimation.java730 long currentPlayTime) { in startColorAnimation()
731 final float fraction = getFraction(currentPlayTime); in startColorAnimation()
DWindowState.java5645 public void apply(Transaction t, SurfaceControl leash, long currentPlayTime) { in apply() argument
5646 final float fraction = getFraction(currentPlayTime); in apply()
/frameworks/base/packages/SystemUI/animation/src/com/android/systemui/surfaceeffects/turbulencenoise/
DTurbulenceNoiseView.kt85 val timeInSec = updateListener.currentPlayTime * MS_TO_SEC in <lambda>()
128 val timeInSec = updateListener.currentPlayTime * MS_TO_SEC in <lambda>()
174 val timeInSec = updateListener.currentPlayTime * MS_TO_SEC in <lambda>()
/frameworks/base/packages/SystemUI/animation/src/com/android/systemui/surfaceeffects/loadingeffect/
DLoadingEffect.kt218 val timeInSec = updateListener.currentPlayTime * MS_TO_SEC in <lambda>()
263 val timeInSec = updateListener.currentPlayTime * MS_TO_SEC in <lambda>()
301 val timeInSec = updateListener.currentPlayTime * MS_TO_SEC in <lambda>()
/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/Shell/src/com/android/wm/shell/activityembedding/
DActivityEmbeddingAnimationAdapter.java138 final void onAnimationUpdate(@NonNull SurfaceControl.Transaction t, long currentPlayTime) { in onAnimationUpdate() argument
141 mAnimation.getTransformation(Math.min(currentPlayTime, mAnimation.getDuration()), in onAnimationUpdate()
/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/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.java359 final long currentPlayTime = Math.min(va.getDuration(), va.getCurrentPlayTime()); in startColorAnimation()
360 final float fraction = currentPlayTime / va.getDuration(); in startColorAnimation()
DDefaultTransitionHandler.java819 final long currentPlayTime = Math.min(va.getDuration(), va.getCurrentPlayTime()); in buildSurfaceAnimation()
821 applyTransformation(currentPlayTime, transaction, leash, anim, transformation, matrix, in buildSurfaceAnimation()