Loading packages/SystemUI/src/com/android/systemui/qs/composefragment/QSFragmentCompose.kt +1 −16 Original line number Diff line number Diff line Loading @@ -479,7 +479,6 @@ constructor( } override fun setQsVisible(qsVisible: Boolean) { containerView?.qsVisible = qsVisible viewModel.isQsVisible = qsVisible } Loading Loading @@ -1182,14 +1181,6 @@ private class FrameLayoutTouchPassthrough( } } var qsVisible: Boolean = false set(value) { if (value != field) { field = value invalidate() } } private var dirtyClipData = false private val clipEnabled Loading Loading @@ -1228,14 +1219,8 @@ private class FrameLayoutTouchPassthrough( canvas.clipOutPath(currentClippingPath) canvas.translate(0f, translationY) } if (qsVisible) { // If QS should not be visible, there's no need to draw this tree at all. We do this // in the view (instead of in compose) so it's completely synchronized with the clip. // As this FrameLayout doesn't have any content, and the ComposeView is the only child, // this is equivalent to blocking the draw in `drawChild`. super.dispatchDraw(canvas) } } override fun isTransformedTouchPointInView( x: Float, Loading Loading
packages/SystemUI/src/com/android/systemui/qs/composefragment/QSFragmentCompose.kt +1 −16 Original line number Diff line number Diff line Loading @@ -479,7 +479,6 @@ constructor( } override fun setQsVisible(qsVisible: Boolean) { containerView?.qsVisible = qsVisible viewModel.isQsVisible = qsVisible } Loading Loading @@ -1182,14 +1181,6 @@ private class FrameLayoutTouchPassthrough( } } var qsVisible: Boolean = false set(value) { if (value != field) { field = value invalidate() } } private var dirtyClipData = false private val clipEnabled Loading Loading @@ -1228,14 +1219,8 @@ private class FrameLayoutTouchPassthrough( canvas.clipOutPath(currentClippingPath) canvas.translate(0f, translationY) } if (qsVisible) { // If QS should not be visible, there's no need to draw this tree at all. We do this // in the view (instead of in compose) so it's completely synchronized with the clip. // As this FrameLayout doesn't have any content, and the ComposeView is the only child, // this is equivalent to blocking the draw in `drawChild`. super.dispatchDraw(canvas) } } override fun isTransformedTouchPointInView( x: Float, Loading