Home
last modified time | relevance | path

Searched refs:windowInsets (Results 1 – 10 of 10) sorted by relevance

/frameworks/base/core/java/android/window/
DWindowMetricsHelper.java48 final WindowInsets windowInsets = windowMetrics.getWindowInsets(); in getBoundsExcludingNavigationBarAndCutout() local
51 insets = windowInsets.getInsetsIgnoringVisibility(navigationBars() | displayCutout()); in getBoundsExcludingNavigationBarAndCutout()
53 final Insets stableInsets = windowInsets.getStableInsets(); in getBoundsExcludingNavigationBarAndCutout()
56 final DisplayCutout cutout = windowInsets.getDisplayCutout(); in getBoundsExcludingNavigationBarAndCutout()
/frameworks/base/core/java/android/view/
DWindowMetrics.java37 public WindowMetrics(@NonNull Rect bounds, @NonNull WindowInsets windowInsets) { in WindowMetrics() argument
39 mWindowInsets = windowInsets; in WindowMetrics()
/frameworks/base/core/tests/coretests/src/android/view/
DWindowInsetsTest.java63 WindowInsets windowInsets = new WindowInsets(insets, maxInsets, visible, false, false, null, in compatInsets_layoutStable() local
65 assertEquals(Insets.of(0, 10, 0, 0), windowInsets.getSystemWindowInsets()); in compatInsets_layoutStable()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/
DStatusBarWindowView.java55 public WindowInsets onApplyWindowInsets(WindowInsets windowInsets) { in onApplyWindowInsets() argument
56 final Insets insets = windowInsets.getInsetsIgnoringVisibility(systemBars()); in onApplyWindowInsets()
65 return windowInsets; in onApplyWindowInsets()
DStatusBarTouchableRegionManager.java226 WindowInsets windowInsets = mNotificationShadeWindowView.getRootWindowInsets(); in updateRegionForNotch() local
227 if (windowInsets == null) { in updateRegionForNotch()
231 DisplayCutout cutout = windowInsets.getDisplayCutout(); in updateRegionForNotch()
DNotificationShadeWindowView.java85 public WindowInsets onApplyWindowInsets(WindowInsets windowInsets) { in onApplyWindowInsets() argument
86 final Insets insets = windowInsets.getInsetsIgnoringVisibility(systemBars()); in onApplyWindowInsets()
115 return windowInsets; in onApplyWindowInsets()
/frameworks/base/packages/CarSystemUI/src/com/android/systemui/car/navigationbar/
DCarNavigationBarView.java81 public WindowInsets onApplyWindowInsets(WindowInsets windowInsets) { in onApplyWindowInsets() argument
82 return windowInsets; in onApplyWindowInsets()
/frameworks/base/test-runner/src/android/test/
DTouchUtils.java109 WindowInsets windowInsets = windowMetrics.getWindowInsets(); in getSizeExcludingNavigationBarAndCutout() local
110 final Insets insetsWithCutout = windowInsets in getSizeExcludingNavigationBarAndCutout()
/frameworks/base/packages/SystemUI/src/com/android/systemui/globalactions/
DGlobalActionsDialog.java2406 root.setOnApplyWindowInsetsListener((v, windowInsets) -> {
2407 root.setPadding(windowInsets.getStableInsetLeft(),
2408 windowInsets.getStableInsetTop(),
2409 windowInsets.getStableInsetRight(),
2410 windowInsets.getStableInsetBottom());
/frameworks/base/packages/SystemUI/src/com/android/keyguard/
DKeyguardSecurityContainer.java160 public WindowInsets onProgress(WindowInsets windowInsets,
178 return windowInsets;