Searched refs:topDisplayCutout (Results 1 – 2 of 2) sorted by relevance
405 final Rect topDisplayCutout = insets.getDisplayCutout() != null in onApplyWindowInsets() local408 final boolean intersectsTopCutout = topDisplayCutout.intersects( in onApplyWindowInsets()410 width + (windowWidth / 2), topDisplayCutout.bottom); in onApplyWindowInsets()416 lp.topMargin = topDisplayCutout.bottom; in onApplyWindowInsets()
482 final Rect topDisplayCutout = insets.getDisplayCutout() != null in onApplyWindowInsets() local485 final boolean intersectsTopCutout = topDisplayCutout.intersects( in onApplyWindowInsets()487 width + (windowWidth / 2), topDisplayCutout.bottom); in onApplyWindowInsets()493 lp.topMargin = topDisplayCutout.bottom; in onApplyWindowInsets()