Searched refs:windowInsets (Results 1 – 10 of 10) sorted by relevance
/frameworks/base/core/java/android/window/ |
D | WindowMetricsHelper.java | 48 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/ |
D | WindowMetrics.java | 37 public WindowMetrics(@NonNull Rect bounds, @NonNull WindowInsets windowInsets) { in WindowMetrics() argument 39 mWindowInsets = windowInsets; in WindowMetrics()
|
/frameworks/base/core/tests/coretests/src/android/view/ |
D | WindowInsetsTest.java | 63 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/ |
D | StatusBarWindowView.java | 55 public WindowInsets onApplyWindowInsets(WindowInsets windowInsets) { in onApplyWindowInsets() argument 56 final Insets insets = windowInsets.getInsetsIgnoringVisibility(systemBars()); in onApplyWindowInsets() 65 return windowInsets; in onApplyWindowInsets()
|
D | StatusBarTouchableRegionManager.java | 226 WindowInsets windowInsets = mNotificationShadeWindowView.getRootWindowInsets(); in updateRegionForNotch() local 227 if (windowInsets == null) { in updateRegionForNotch() 231 DisplayCutout cutout = windowInsets.getDisplayCutout(); in updateRegionForNotch()
|
D | NotificationShadeWindowView.java | 85 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/ |
D | CarNavigationBarView.java | 81 public WindowInsets onApplyWindowInsets(WindowInsets windowInsets) { in onApplyWindowInsets() argument 82 return windowInsets; in onApplyWindowInsets()
|
/frameworks/base/test-runner/src/android/test/ |
D | TouchUtils.java | 109 WindowInsets windowInsets = windowMetrics.getWindowInsets(); in getSizeExcludingNavigationBarAndCutout() local 110 final Insets insetsWithCutout = windowInsets in getSizeExcludingNavigationBarAndCutout()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/globalactions/ |
D | GlobalActionsDialog.java | 2406 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/ |
D | KeyguardSecurityContainer.java | 160 public WindowInsets onProgress(WindowInsets windowInsets, 178 return windowInsets;
|