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.java99 Rect safeInset = new Rect(); in oldMethodParsingSpec() local
142 safeInset.top = boundTop.bottom; in oldMethodParsingSpec()
164 safeInset.bottom = bottomInset; in oldMethodParsingSpec()
/frameworks/base/core/java/android/view/
DDisplayCutout.java732 Rect safeInset = cutoutSpec.getSafeInset(); in pathAndDisplayCutoutFromSpec() local
740 safeInset.set( in pathAndDisplayCutoutFromSpec()
741 Math.max(waterfallInsets.left, safeInset.left), in pathAndDisplayCutoutFromSpec()
742 Math.max(waterfallInsets.top, safeInset.top), in pathAndDisplayCutoutFromSpec()
743 Math.max(waterfallInsets.right, safeInset.right), in pathAndDisplayCutoutFromSpec()
744 Math.max(waterfallInsets.bottom, safeInset.bottom)); in pathAndDisplayCutoutFromSpec()
748 safeInset, waterfallInsets, boundLeft, boundTop, in pathAndDisplayCutoutFromSpec()
/frameworks/base/core/tests/coretests/src/android/view/
DDisplayCutoutTest.java447 Insets safeInset = Insets.of(left, top, right, bottom); in createCutoutWithInsets() local
450 safeInset, null /* boundLeft */, boundTop, null /* boundRight */, in createCutoutWithInsets()