Home
last modified time | relevance | path

Searched refs:safeInset (Results 1 – 3 of 3) sorted by relevance

/frameworks/base/apct-tests/perftests/core/src/android/view/
DCutoutSpecificationBenchmark.java84 Rect safeInset = new Rect(); in oldMethodParsingSpec() local
127 safeInset.top = boundTop.bottom; in oldMethodParsingSpec()
149 safeInset.bottom = bottomInset; in oldMethodParsingSpec()
/frameworks/base/core/java/android/view/
DDisplayCutout.java1255 Rect safeInset = cutoutSpec.getSafeInset();
1262 safeInset.set(
1263 Math.max(waterfallInsets.left, safeInset.left),
1264 Math.max(waterfallInsets.top, safeInset.top),
1265 Math.max(waterfallInsets.right, safeInset.right),
1266 Math.max(waterfallInsets.bottom, safeInset.bottom));
/frameworks/base/core/tests/coretests/src/android/view/
DDisplayCutoutTest.java659 Insets safeInset = Insets.of(left, top, right, bottom); in createCutoutWithInsets() local
662 safeInset, null /* boundLeft */, boundTop, null /* boundRight */, in createCutoutWithInsets()