Loading packages/SystemUI/customization/src/com/android/systemui/shared/clocks/DefaultClockController.kt +1 −1 Original line number Diff line number Diff line Loading @@ -265,7 +265,7 @@ class DefaultClockController( } } override fun onPickerCarouselSwiping(swipingFraction: Float, previewRatio: Float) { override fun onPickerCarouselSwiping(swipingFraction: Float) { // TODO(b/278936436): refactor this part when we change recomputePadding // when on the side, swipingFraction = 0, translationY should offset // the top margin change in recomputePadding to make clock be centered Loading packages/SystemUI/plugin/src/com/android/systemui/plugins/ClockProviderPlugin.kt +1 −1 Original line number Diff line number Diff line Loading @@ -156,7 +156,7 @@ interface ClockAnimations { * Runs when swiping clock picker, swipingFraction: 1.0 -> clock is scaled up in the preview, * 0.0 -> clock is scaled down in the shade; previewRatio is previewSize / screenSize */ fun onPickerCarouselSwiping(swipingFraction: Float, previewRatio: Float) {} fun onPickerCarouselSwiping(swipingFraction: Float) {} } /** Events that have specific data about the related face */ Loading Loading
packages/SystemUI/customization/src/com/android/systemui/shared/clocks/DefaultClockController.kt +1 −1 Original line number Diff line number Diff line Loading @@ -265,7 +265,7 @@ class DefaultClockController( } } override fun onPickerCarouselSwiping(swipingFraction: Float, previewRatio: Float) { override fun onPickerCarouselSwiping(swipingFraction: Float) { // TODO(b/278936436): refactor this part when we change recomputePadding // when on the side, swipingFraction = 0, translationY should offset // the top margin change in recomputePadding to make clock be centered Loading
packages/SystemUI/plugin/src/com/android/systemui/plugins/ClockProviderPlugin.kt +1 −1 Original line number Diff line number Diff line Loading @@ -156,7 +156,7 @@ interface ClockAnimations { * Runs when swiping clock picker, swipingFraction: 1.0 -> clock is scaled up in the preview, * 0.0 -> clock is scaled down in the shade; previewRatio is previewSize / screenSize */ fun onPickerCarouselSwiping(swipingFraction: Float, previewRatio: Float) {} fun onPickerCarouselSwiping(swipingFraction: Float) {} } /** Events that have specific data about the related face */ Loading