Home
last modified time | relevance | path

Searched refs:waterfallInsets (Results 1 – 7 of 7) sorted by relevance

/aosp14/frameworks/base/core/java/android/view/
H A DDisplayCutout.java456 @NonNull Insets waterfallInsets) { in DisplayCutout() argument
502 mWaterfallInsets = waterfallInsets == null ? Insets.NONE : waterfallInsets; in DisplayCutout()
510 mWaterfallInsets = waterfallInsets == null ? Insets.NONE : waterfallInsets; in DisplayCutout()
518 mWaterfallInsets = waterfallInsets == null ? Insets.NONE : waterfallInsets; in DisplayCutout()
1076 waterfallInsets).second; in fromSpec()
1127 if (!waterfallInsets.equals(Insets.NONE)) { in pathAndDisplayCutoutFromSpec()
1129 Math.max(waterfallInsets.left, safeInset.left), in pathAndDisplayCutoutFromSpec()
1130 Math.max(waterfallInsets.top, safeInset.top), in pathAndDisplayCutoutFromSpec()
1149 sCachedWaterfallInsets = waterfallInsets; in pathAndDisplayCutoutFromSpec()
1374 waterfallInsets.scale(scale); in scale()
[all …]
/aosp14/frameworks/base/core/java/com/android/internal/policy/
H A DSystemBarUtils.java63 Insets waterfallInsets = cutout == null ? Insets.NONE : cutout.getWaterfallInsets(); in getStatusBarHeightForRotation() local
70 if (!waterfallInsets.equals(Insets.NONE)) { in getStatusBarHeightForRotation()
71 waterfallInsets = RotationUtils.rotateInsets( in getStatusBarHeightForRotation()
72 waterfallInsets, RotationUtils.deltaRotation(rotation, targetRot)); in getStatusBarHeightForRotation()
79 return Math.max(insets.top, defaultSize + waterfallInsets.top); in getStatusBarHeightForRotation()
/aosp14/frameworks/base/core/tests/coretests/src/android/view/
H A DDisplayCutoutTest.java362 Insets waterfallInsets = Insets.of(0, 20, 0, 20); in fromSpec_caches() local
363 DisplayCutout cached = fromSpec("L1,0 L1,1 L0,1 z", 200, 400, 1f, waterfallInsets); in fromSpec_caches()
365 fromSpec("L1,0 L1,1 L0,1 z", 200, 400, 1f, waterfallInsets), in fromSpec_caches()
403 Insets waterfallInsets = Insets.of(0, 20, 0, 20); in fromSpec_wontCacheIfWaterfallInsetsChange() local
406 fromSpec("L1,0 L1,1 L0,1 z", 200, 400, 2f, waterfallInsets), in fromSpec_wontCacheIfWaterfallInsetsChange()
598 private static DisplayCutout createCutoutWaterfallOnly(Insets waterfallInsets) { in createCutoutWaterfallOnly() argument
600 Insets.of(waterfallInsets.left, waterfallInsets.top, waterfallInsets.right, in createCutoutWaterfallOnly()
601 waterfallInsets.bottom), in createCutoutWaterfallOnly()
606 waterfallInsets); in createCutoutWaterfallOnly()
/aosp14/frameworks/base/libs/WindowManager/Shell/src/com/android/wm/shell/common/
H A DDisplayLayout.java410 final Insets waterfallInsets = rotateInsets(cutout.getWaterfallInsets(), rotation); in calculateDisplayCutoutForRotation() local
428 DisplayCutout.constructDisplayCutout(newBounds, waterfallInsets, newInfo), in calculateDisplayCutoutForRotation()
/aosp14/frameworks/base/core/java/com/android/internal/widget/
H A DPointerLocationView.java230 Insets waterfallInsets = Insets.NONE; in onApplyWindowInsets() local
247 waterfallInsets = insets.getDisplayCutout().getWaterfallInsets(); in onApplyWindowInsets()
251 mWaterfallInsets = waterfallInsets; in onApplyWindowInsets()
/aosp14/frameworks/base/services/core/java/com/android/server/wm/
H A DDisplayPolicy.java2460 final Insets waterfallInsets = state.getDisplayCutout().getWaterfallInsets();
2475 safe.left = Math.max(df.left + waterfallInsets.left, df.left);
2477 safe.top = Math.max(df.top + waterfallInsets.top, df.top);
2479 safe.right = Math.max(df.right - waterfallInsets.right, df.right);
2481 safe.bottom = Math.max(df.bottom - waterfallInsets.bottom, df.bottom);
/aosp14/frameworks/base/tools/aapt2/integration-tests/CommandTests/
H A Dandroid-33.jarAndroidManifest.xml META-INF/ META-INF/MANIFEST.MF NOTICES/ NOTICES/libcore ...