Home
last modified time | relevance | path

Searched refs:durationScale (Results 1 – 25 of 26) sorted by relevance

12

/frameworks/base/packages/SystemUI/compose/features/src/com/android/systemui/scene/ui/composable/transitions/
DFromLockscreenToShadeTransition.kt6 durationScale: Double = 1.0, in TransitionBuilder()
8 toShadeTransition(durationScale = durationScale) in TransitionBuilder()
DFromLockscreenToSplitShadeTransition.kt22 durationScale: Double = 1.0, in TransitionBuilder()
24 toSplitShadeTransition(durationScale = durationScale) in TransitionBuilder()
DFromGoneToShadeTransition.kt6 durationScale: Double = 1.0, in TransitionBuilder()
8 toShadeTransition(durationScale = durationScale) in TransitionBuilder()
DFromLockscreenToQuickSettingsTransition.kt6 durationScale: Double = 1.0, in TransitionBuilder()
8 toQuickSettingsTransition(durationScale = durationScale) in TransitionBuilder()
DFromGoneToQuickSettingsTransition.kt7 durationScale: Double = 1.0, in TransitionBuilder()
9 toQuickSettingsTransition(durationScale = durationScale) in TransitionBuilder()
DFromGoneToSplitShadeTransition.kt22 durationScale: Double = 1.0, in TransitionBuilder()
24 toSplitShadeTransition(durationScale) in TransitionBuilder()
DFromLockscreenToNotificationsShadeTransition.kt22 durationScale: Double = 1.0, in TransitionBuilder()
24 toNotificationsShadeTransition(durationScale) in TransitionBuilder()
DFromGoneToQuickSettingsShadeTransition.kt22 durationScale: Double = 1.0, in TransitionBuilder()
24 toQuickSettingsShadeTransition(durationScale) in TransitionBuilder()
DFromLockscreenToQuickSettingsShadeTransition.kt22 durationScale: Double = 1.0, in TransitionBuilder()
24 toQuickSettingsShadeTransition(durationScale) in TransitionBuilder()
DFromGoneToNotificationsShadeTransition.kt22 durationScale: Double = 1.0, in TransitionBuilder()
24 toNotificationsShadeTransition(durationScale) in TransitionBuilder()
DToQuickSettingsTransition.kt28 durationScale: Double = 1.0, in TransitionBuilder()
30 spec = tween(durationMillis = (DefaultDuration * durationScale).inWholeMilliseconds.toInt()) in TransitionBuilder()
DToQuickSettingsShadeTransition.kt33 durationScale: Double = 1.0, in TransitionBuilder()
35 spec = tween(durationMillis = (DefaultDuration * durationScale).inWholeMilliseconds.toInt()) in TransitionBuilder()
DToNotificationsShadeTransition.kt35 durationScale: Double = 1.0, in TransitionBuilder()
37 spec = tween(durationMillis = (DefaultDuration * durationScale).inWholeMilliseconds.toInt()) in TransitionBuilder()
DToSplitShadeTransition.kt34 durationScale: Double = 1.0, in TransitionBuilder()
36 spec = tween(durationMillis = (DefaultDuration * durationScale).inWholeMilliseconds.toInt()) in TransitionBuilder()
DToShadeTransition.kt36 durationScale: Double = 1.0, in toShadeTransition()
38 spec = tween(durationMillis = (DefaultDuration * durationScale).inWholeMilliseconds.toInt()) in toShadeTransition()
DFromShadeToQuickSettingsTransition.kt17 durationScale: Double = 1.0, in TransitionBuilder()
19 spec = tween(durationMillis = (DefaultDuration * durationScale).inWholeMilliseconds.toInt()) in TransitionBuilder()
/frameworks/base/core/java/android/animation/
DValueAnimator.java312 public static void setDurationScale(@FloatRange(from = 0) float durationScale) { in setDurationScale()
313 sDurationScale = durationScale; in setDurationScale()
324 listener.onChanged(durationScale); in setDurationScale()
691 public void overrideDurationScale(float durationScale) { in overrideDurationScale() argument
692 mDurationScale = durationScale; in overrideDurationScale()
855 float durationScale = resolveDurationScale(); in getCurrentPlayTime() local
856 if (durationScale == 0f) { in getCurrentPlayTime()
857 durationScale = 1f; in getCurrentPlayTime()
859 return (long) ((AnimationUtils.currentAnimationTimeMillis() - mStartTime) / durationScale); in getCurrentPlayTime()
DAnimatorSet.java1119 float durationScale = ValueAnimator.getDurationScale();
1120 durationScale = durationScale == 0 ? 1 : durationScale;
1122 return (long) ((mLastFrameTime - mFirstFrame) / durationScale);
1124 return (long) ((mLastFrameTime - mFirstFrame - mStartDelay) / durationScale);
1143 float durationScale = ValueAnimator.getDurationScale();
1144 if (durationScale == 0f) {
1174 mFirstFrame = (long) (frameTime - mSeekState.getPlayTime() * durationScale);
1177 * durationScale);
1182 if (!mReversing && frameTime < mFirstFrame + mStartDelay * durationScale) {
1189 long unscaledPlayTime = (long) ((frameTime - mFirstFrame) / durationScale);
[all …]
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/unfold/util/
DScaleAwareUnfoldProgressProviderTest.kt121 val durationScale = in setAnimationsEnabled() constant
132 durationScale.toString() in setAnimationsEnabled()
/frameworks/base/packages/SystemUI/compose/features/src/com/android/systemui/scene/ui/composable/
DSceneContainerTransitions.kt59 goneToShadeTransition(durationScale = 0.9) in <lambda>()
67 goneToQuickSettingsTransition(durationScale = 0.9) in <lambda>()
91 lockscreenToShadeTransition(durationScale = 0.9) in <lambda>()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/unfold/
DUnfoldLatencyTrackerTest.kt182 val durationScale = in setAnimationsEnabled() constant
193 durationScale.toString() in setAnimationsEnabled()
/frameworks/base/core/java/com/android/internal/dynamicanimation/animation/
DDynamicAnimation.java680 float durationScale = ValueAnimator.getDurationScale(); in doAnimationFrame() local
681 deltaT = durationScale == 0.0f ? Integer.MAX_VALUE : (long) (deltaT / durationScale); in doAnimationFrame()
/frameworks/base/services/core/java/com/android/server/wm/
DWindowChangeAnimationSpec.java59 float durationScale, boolean isAppAnimation, boolean isThumbnail) { in WindowChangeAnimationSpec() argument
64 createBoundsInterpolator((int) (ANIMATION_DURATION * durationScale), displayInfo); in WindowChangeAnimationSpec()
DLegacyDimmer.java286 final float durationScale = container.mWmService.getTransitionAnimationScaleLocked(); in getDimDuration() local
287 return animationAdapter == null ? (long) (DEFAULT_DIM_ANIM_DURATION * durationScale) in getDimDuration()
DDimmerAnimationHelper.java238 final float durationScale = container.mWmService.getTransitionAnimationScaleLocked(); in getDimDuration() local
239 return animationAdapter == null ? (long) (DEFAULT_DIM_ANIM_DURATION_MS * durationScale) in getDimDuration()

12