Loading packages/SystemUI/customization/src/com/android/systemui/shared/clocks/view/SimpleDigitalClockTextView.kt +2 −11 Original line number Diff line number Diff line Loading @@ -215,12 +215,7 @@ open class SimpleDigitalClockTextView( ) } setInterpolatedViewBounds( getInterpolatedTextBounds(), widthMeasureSpec, heightMeasureSpec, force = true, ) setInterpolatedViewBounds(getInterpolatedTextBounds(), widthMeasureSpec, heightMeasureSpec) } override fun onDraw(canvas: Canvas) { Loading Loading @@ -388,7 +383,6 @@ open class SimpleDigitalClockTextView( interpBounds: Rect, widthMeasureSpec: Int = measuredWidthAndState, heightMeasureSpec: Int = measuredHeightAndState, force: Boolean = false, ) { val heightMode = MeasureSpec.getMode(heightMeasureSpec) val widthMode = MeasureSpec.getMode(widthMeasureSpec) Loading @@ -415,10 +409,7 @@ open class SimpleDigitalClockTextView( ) } if (force || widthSpec != measuredWidthAndState || heightSpec != measuredHeightAndState) { setMeasuredDimension(widthSpec, heightSpec) parent?.requestLayout() } } private fun updateXTranslation(inPoint: Point, interpolatedTextBounds: Rect): Point { Loading Loading
packages/SystemUI/customization/src/com/android/systemui/shared/clocks/view/SimpleDigitalClockTextView.kt +2 −11 Original line number Diff line number Diff line Loading @@ -215,12 +215,7 @@ open class SimpleDigitalClockTextView( ) } setInterpolatedViewBounds( getInterpolatedTextBounds(), widthMeasureSpec, heightMeasureSpec, force = true, ) setInterpolatedViewBounds(getInterpolatedTextBounds(), widthMeasureSpec, heightMeasureSpec) } override fun onDraw(canvas: Canvas) { Loading Loading @@ -388,7 +383,6 @@ open class SimpleDigitalClockTextView( interpBounds: Rect, widthMeasureSpec: Int = measuredWidthAndState, heightMeasureSpec: Int = measuredHeightAndState, force: Boolean = false, ) { val heightMode = MeasureSpec.getMode(heightMeasureSpec) val widthMode = MeasureSpec.getMode(widthMeasureSpec) Loading @@ -415,10 +409,7 @@ open class SimpleDigitalClockTextView( ) } if (force || widthSpec != measuredWidthAndState || heightSpec != measuredHeightAndState) { setMeasuredDimension(widthSpec, heightSpec) parent?.requestLayout() } } private fun updateXTranslation(inPoint: Point, interpolatedTextBounds: Rect): Point { Loading