Loading res/layout/clock_host_view.xml +2 −1 Original line number Diff line number Diff line Loading @@ -19,4 +19,5 @@ android:importantForAccessibility="noHideDescendants" android:layout_width="match_parent" android:layout_height="match_parent" android:layout_gravity="center" /> No newline at end of file android:layout_gravity="center" android:clipChildren="false"/> No newline at end of file src/com/android/customization/picker/clock/ui/view/ClockHostView2.kt +1 −2 Original line number Diff line number Diff line Loading @@ -63,8 +63,7 @@ class ClockHostView2(context: Context, attrs: AttributeSet?) : FrameLayout(conte private fun updatePivotAndScale() { when (clockSize) { ClockSize.DYNAMIC -> { pivotX = (width / 2).toFloat() pivotY = (height / 2).toFloat() resetPivot() } ClockSize.SMALL -> { pivotX = getCenteredHostViewPivotX(this) Loading Loading
res/layout/clock_host_view.xml +2 −1 Original line number Diff line number Diff line Loading @@ -19,4 +19,5 @@ android:importantForAccessibility="noHideDescendants" android:layout_width="match_parent" android:layout_height="match_parent" android:layout_gravity="center" /> No newline at end of file android:layout_gravity="center" android:clipChildren="false"/> No newline at end of file
src/com/android/customization/picker/clock/ui/view/ClockHostView2.kt +1 −2 Original line number Diff line number Diff line Loading @@ -63,8 +63,7 @@ class ClockHostView2(context: Context, attrs: AttributeSet?) : FrameLayout(conte private fun updatePivotAndScale() { when (clockSize) { ClockSize.DYNAMIC -> { pivotX = (width / 2).toFloat() pivotY = (height / 2).toFloat() resetPivot() } ClockSize.SMALL -> { pivotX = getCenteredHostViewPivotX(this) Loading