Home
last modified time | relevance | path

Searched refs:topCutout (Results 1 – 2 of 2) sorted by relevance

/frameworks/base/packages/SystemUI/src/com/android/systemui/shade/
DShadeHeaderController.kt431 val topCutout = cutout.boundingRectTop in <lambda>() constant
432 if (topCutout.isEmpty || hasCornerCutout) { in <lambda>()
438 (view.width - view.paddingLeft - view.paddingRight - topCutout.width()) / 2 in <lambda>()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/shade/
DShadeHeaderControllerTest.kt927 private fun createWindowInsets(topCutout: Rect? = Rect()): WindowInsets { in <lambda>()
931 .thenReturn(if (topCutout != null) displayCutout else null) in <lambda>()
932 whenever(displayCutout.boundingRectTop).thenReturn(topCutout) in <lambda>()