/aosp12/frameworks/base/core/java/android/view/ |
H A D | WindowMetrics.java | 78 public @NonNull WindowInsets getWindowInsets() { in getWindowInsets() method in WindowMetrics
|
H A D | WindowManagerImpl.java | 322 .getWindowInsets(attrs, mContext.getDisplayId(), insetsState); in getWindowInsetsFromServer()
|
H A D | IWindowManager.aidl | 744 boolean getWindowInsets(in WindowManager.LayoutParams attrs, int displayId, in getWindowInsets() method
|
/aosp12/frameworks/base/core/java/android/window/ |
H A D | WindowMetricsHelper.java | 44 final WindowInsets windowInsets = windowMetrics.getWindowInsets(); in getBoundsExcludingNavigationBarAndCutout()
|
/aosp12/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/accessibility/floatingmenu/ |
H A D | AccessibilityFloatingMenuViewTest.java | 122 when(mWindowMetrics.getWindowInsets()).thenReturn(fakeDisplayInsets()); in initMenuView() 406 when(mWindowMetrics.getWindowInsets()).thenReturn(imeInset); in showMenuView_insetsListener_overlapWithIme_menuViewShifted() 419 when(mWindowMetrics.getWindowInsets()).thenReturn(imeInset); in hideIme_onMenuViewShifted_menuViewMovedBack() 436 when(mWindowMetrics.getWindowInsets()).thenReturn(imeInset); in showMenuAndIme_withHigherIme_alignDisplayTopEdge()
|
H A D | DockTooltipViewTest.java | 74 when(mWindowMetrics.getWindowInsets()).thenReturn(new WindowInsets.Builder().build()); in setUp()
|
H A D | BaseTooltipViewTest.java | 78 when(mWindowMetrics.getWindowInsets()).thenReturn(new WindowInsets.Builder().build()); in setUp()
|
H A D | ItemDelegateCompatTest.java | 79 when(mWindowMetrics.getWindowInsets()).thenReturn(new WindowInsets.Builder().build()); in setUp()
|
/aosp12/packages/apps/Launcher3/src/com/android/launcher3/util/ |
H A D | WindowBounds.java | 86 Insets insets = wm.getWindowInsets().getInsets(Type.systemBars()); in fromWindowMetrics()
|
H A D | WindowManagerCompat.java | 62 .getMaximumWindowMetrics().getWindowInsets(); in estimateDisplayProfiles()
|
/aosp12/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/accessibility/ |
H A D | TestableWindowManager.java | 83 mWindowInsets == null ? realMetrics.getWindowInsets() : mWindowInsets); in getCurrentWindowMetrics()
|
/aosp12/frameworks/base/libs/WindowManager/Shell/src/com/android/wm/shell/bubbles/ |
H A D | DismissView.kt | 108 val insets: WindowInsets = wm.getCurrentWindowMetrics().getWindowInsets()
|
H A D | BubblePositioner.java | 128 WindowInsets metricInsets = windowMetrics.getWindowInsets(); in update() 235 WindowInsets metricInsets = mWindowManager.getCurrentWindowMetrics().getWindowInsets(); in adjustForTaskbar()
|
/aosp12/frameworks/layoutlib/bridge/src/android/view/ |
H A D | WindowManagerImpl.java | 161 WindowManagerGlobal.getWindowManagerService().getWindowInsets( in computeWindowInsets()
|
/aosp12/frameworks/base/libs/WindowManager/Shell/src/com/android/wm/shell/pip/phone/ |
H A D | PipDismissTargetHandler.java | 220 final WindowInsets insets = mWindowManager.getCurrentWindowMetrics().getWindowInsets(); in updateMagneticTargetSize()
|
/aosp12/packages/apps/Settings/src/com/android/settings/accessibility/ |
H A D | AccessibilityUtil.java | 411 final Insets displayInsets = metrics.getWindowInsets().getInsetsIgnoringVisibility( in getDisplayBounds()
|
/aosp12/frameworks/base/packages/SystemUI/src/com/android/systemui/accessibility/floatingmenu/ |
H A D | AccessibilityFloatingMenuView.java | 520 final Rect imeInsetsRect = windowMetrics.getWindowInsets().getInsets(ime()).toRect(); in onWindowInsetsApplied() 734 return metrics.getWindowInsets().getInsetsIgnoringVisibility( in getDisplayInsets()
|
/aosp12/packages/services/Car/service/src/com/android/car/pm/ |
H A D | ActivityBlockingActivity.java | 230 .getWindowInsets() in getAppWindowRect()
|
/aosp12/frameworks/base/packages/SystemUI/src/com/android/systemui/biometrics/ |
H A D | UdfpsDialogMeasureAdapter.java | 231 ? windowManager.getCurrentWindowMetrics().getWindowInsets() in getNavbarInsets()
|
/aosp12/packages/apps/Launcher3/src/com/android/launcher3/ |
H A D | BaseDraggingActivity.java | 323 Insets insets = wm.getWindowInsets().getInsets(Type.systemBars()); in getMultiWindowDisplaySize()
|
/aosp12/frameworks/base/packages/SystemUI/src/com/android/systemui/screenshot/ |
H A D | ScreenshotController.java | 573 mWindowManager.getCurrentWindowMetrics().getWindowInsets()); in saveScreenshot() 608 mWindowManager.getCurrentWindowMetrics().getWindowInsets()); in saveScreenshot()
|
/aosp12/frameworks/base/packages/SystemUI/src/com/android/systemui/accessibility/ |
H A D | MagnificationModeSwitch.java | 413 final Insets windowInsets = windowMetrics.getWindowInsets().getInsetsIgnoringVisibility( in getDraggableWindowBounds()
|
/aosp12/packages/apps/Launcher3/tests/tapl/com/android/launcher3/tapl/ |
H A D | LauncherInstrumentation.java | 320 Insets getWindowInsets() { in getWindowInsets() method in LauncherInstrumentation 1260 return Math.max(getWindowInsets().bottom, ResourceUtils.getNavbarSize( in getBottomGestureSize() 1279 return getRealDisplaySize().x - getWindowInsets().right; in getRightGestureStartOnScreen()
|
/aosp12/frameworks/base/test-runner/src/android/test/ |
H A D | TouchUtils.java | 109 WindowInsets windowInsets = windowMetrics.getWindowInsets(); in getSizeExcludingNavigationBarAndCutout()
|
/aosp12/packages/apps/Launcher3/src/com/android/launcher3/graphics/ |
H A D | LauncherPreviewRenderer.java | 190 .getCurrentWindowMetrics().getWindowInsets(); in LauncherPreviewRenderer()
|