Merge "Step clock animation: make animation cancellation instant" into udc-dev

This commit is contained in:
Christian Göllner
2023-04-21 07:13:06 +00:00
committed by Android (Google) Code Review

View File

@@ -648,7 +648,7 @@ class AnimatableClockView @JvmOverloads constructor(
private const val DIGITS_PER_LINE = 2
// How much of "fraction" to spend on canceling the animation, if needed
private const val ANIMATION_CANCELLATION_TIME = 0.4f
private const val ANIMATION_CANCELLATION_TIME = 0f
// Delays. Each digit's animation should have a slight delay, so we get a nice
// "stepping" effect. When moving right, the second digit of the hour should move first.