Searched refs:durationScale (Results 1 – 4 of 4) sorted by relevance
/frameworks/base/core/java/android/animation/ |
D | AnimatorSet.java | 972 float durationScale = ValueAnimator.getDurationScale(); 973 durationScale = durationScale == 0 ? 1 : durationScale; 975 return (long) ((mLastFrameTime - mFirstFrame) / durationScale); 977 return (long) ((mLastFrameTime - mFirstFrame - mStartDelay) / durationScale); 999 float durationScale = ValueAnimator.getDurationScale(); 1000 if (durationScale == 0f) { 1030 mFirstFrame = (long) (frameTime - mSeekState.getPlayTime() * durationScale); 1033 * durationScale); 1038 if (!mReversing && frameTime < mFirstFrame + mStartDelay * durationScale) { 1045 long unscaledPlayTime = (long) ((frameTime - mFirstFrame) / durationScale); [all …]
|
D | ValueAnimator.java | 307 public static void setDurationScale(float durationScale) { in setDurationScale() argument 308 sDurationScale = durationScale; in setDurationScale() 612 public void overrideDurationScale(float durationScale) { in overrideDurationScale() argument 613 mDurationScale = durationScale; in overrideDurationScale() 776 float durationScale = resolveDurationScale(); in getCurrentPlayTime() local 777 if (durationScale == 0f) { in getCurrentPlayTime() 778 durationScale = 1f; in getCurrentPlayTime() 780 return (long) ((AnimationUtils.currentAnimationTimeMillis() - mStartTime) / durationScale); in getCurrentPlayTime()
|
/frameworks/base/services/core/java/com/android/server/wm/ |
D | WindowChangeAnimationSpec.java | 59 float durationScale, boolean isAppAnimation, boolean isThumbnail) { in WindowChangeAnimationSpec() argument 64 createBoundsInterpolator((int) (ANIMATION_DURATION * durationScale), displayInfo); in WindowChangeAnimationSpec()
|
D | WindowContainer.java | 2649 final float durationScale = mWmService.getTransitionAnimationScaleLocked(); in getAnimationAdapter() local 2655 displayInfo, durationScale, true /* isAppAnimation */, in getAnimationAdapter() 2661 mSurfaceFreezer.mFreezeBounds, mTmpRect, displayInfo, durationScale, in getAnimationAdapter()
|