Loading packages/SystemUI/src/com/android/systemui/qs/tileimpl/QSTileViewImpl.kt +3 −3 Original line number Diff line number Diff line Loading @@ -242,12 +242,12 @@ open class QSTileViewImpl @JvmOverloads constructor( } private fun updateHeight() { val actualHeight = (if (heightOverride != HeightOverrideable.NO_OVERRIDE) { val actualHeight = if (heightOverride != HeightOverrideable.NO_OVERRIDE) { heightOverride } else { measuredHeight } * squishinessFraction).toInt() bottom = top + actualHeight } bottom = top + (actualHeight * squishinessFraction).toInt() scrollY = (actualHeight - height) / 2 } Loading Loading
packages/SystemUI/src/com/android/systemui/qs/tileimpl/QSTileViewImpl.kt +3 −3 Original line number Diff line number Diff line Loading @@ -242,12 +242,12 @@ open class QSTileViewImpl @JvmOverloads constructor( } private fun updateHeight() { val actualHeight = (if (heightOverride != HeightOverrideable.NO_OVERRIDE) { val actualHeight = if (heightOverride != HeightOverrideable.NO_OVERRIDE) { heightOverride } else { measuredHeight } * squishinessFraction).toInt() bottom = top + actualHeight } bottom = top + (actualHeight * squishinessFraction).toInt() scrollY = (actualHeight - height) / 2 } Loading