Searched refs:topCutout (Results 1 – 2 of 2) sorted by relevance
415 val topCutout = cutout.boundingRectTop regex416 if (topCutout.isEmpty || hasCornerCutout) {422 (view.width - view.paddingLeft - view.paddingRight - topCutout.width()) / 2
922 private fun createWindowInsets(topCutout: Rect? = Rect()): WindowInsets {926 .thenReturn(if (topCutout != null) displayCutout else null)927 whenever(displayCutout.boundingRectTop).thenReturn(topCutout)