Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 200d30a9 authored by Hawkwood Glazier's avatar Hawkwood Glazier
Browse files

Increase font animation frames

Bug: 391859317
Test: Ran animation on device
Flag: com.android.systemui.shared.clock_reactive_variants
Change-Id: I67ecf2856fdeee604330ee37294ca7e7440d8937
parent 1b4b7f61
Loading
Loading
Loading
Loading
+2 −1
Original line number Diff line number Diff line
@@ -108,7 +108,8 @@ class DefaultClockProvider(
    }

    companion object {
        const val NUM_CLOCK_FONT_ANIMATION_STEPS = 30
        // 750ms @ 120hz -> 90 frames of animation
        const val NUM_CLOCK_FONT_ANIMATION_STEPS = 90

        val FLEX_TYPEFACE by lazy {
            // TODO(b/364680873): Move constant to config_clockFontFamily when shipping