Home
last modified time | relevance | path

Searched refs:getWindowInsets (Results 1 – 25 of 36) sorted by relevance

12

/aosp12/frameworks/base/core/java/android/view/
H A DWindowMetrics.java78 public @NonNull WindowInsets getWindowInsets() { in getWindowInsets() method in WindowMetrics
H A DWindowManagerImpl.java322 .getWindowInsets(attrs, mContext.getDisplayId(), insetsState); in getWindowInsetsFromServer()
H A DIWindowManager.aidl744 boolean getWindowInsets(in WindowManager.LayoutParams attrs, int displayId, in getWindowInsets() method
/aosp12/frameworks/base/core/java/android/window/
H A DWindowMetricsHelper.java44 final WindowInsets windowInsets = windowMetrics.getWindowInsets(); in getBoundsExcludingNavigationBarAndCutout()
/aosp12/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/accessibility/floatingmenu/
H A DAccessibilityFloatingMenuViewTest.java122 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 DDockTooltipViewTest.java74 when(mWindowMetrics.getWindowInsets()).thenReturn(new WindowInsets.Builder().build()); in setUp()
H A DBaseTooltipViewTest.java78 when(mWindowMetrics.getWindowInsets()).thenReturn(new WindowInsets.Builder().build()); in setUp()
H A DItemDelegateCompatTest.java79 when(mWindowMetrics.getWindowInsets()).thenReturn(new WindowInsets.Builder().build()); in setUp()
/aosp12/packages/apps/Launcher3/src/com/android/launcher3/util/
H A DWindowBounds.java86 Insets insets = wm.getWindowInsets().getInsets(Type.systemBars()); in fromWindowMetrics()
H A DWindowManagerCompat.java62 .getMaximumWindowMetrics().getWindowInsets(); in estimateDisplayProfiles()
/aosp12/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/accessibility/
H A DTestableWindowManager.java83 mWindowInsets == null ? realMetrics.getWindowInsets() : mWindowInsets); in getCurrentWindowMetrics()
/aosp12/frameworks/base/libs/WindowManager/Shell/src/com/android/wm/shell/bubbles/
H A DDismissView.kt108 val insets: WindowInsets = wm.getCurrentWindowMetrics().getWindowInsets()
H A DBubblePositioner.java128 WindowInsets metricInsets = windowMetrics.getWindowInsets(); in update()
235 WindowInsets metricInsets = mWindowManager.getCurrentWindowMetrics().getWindowInsets(); in adjustForTaskbar()
/aosp12/frameworks/layoutlib/bridge/src/android/view/
H A DWindowManagerImpl.java161 WindowManagerGlobal.getWindowManagerService().getWindowInsets( in computeWindowInsets()
/aosp12/frameworks/base/libs/WindowManager/Shell/src/com/android/wm/shell/pip/phone/
H A DPipDismissTargetHandler.java220 final WindowInsets insets = mWindowManager.getCurrentWindowMetrics().getWindowInsets(); in updateMagneticTargetSize()
/aosp12/packages/apps/Settings/src/com/android/settings/accessibility/
H A DAccessibilityUtil.java411 final Insets displayInsets = metrics.getWindowInsets().getInsetsIgnoringVisibility( in getDisplayBounds()
/aosp12/frameworks/base/packages/SystemUI/src/com/android/systemui/accessibility/floatingmenu/
H A DAccessibilityFloatingMenuView.java520 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 DActivityBlockingActivity.java230 .getWindowInsets() in getAppWindowRect()
/aosp12/frameworks/base/packages/SystemUI/src/com/android/systemui/biometrics/
H A DUdfpsDialogMeasureAdapter.java231 ? windowManager.getCurrentWindowMetrics().getWindowInsets() in getNavbarInsets()
/aosp12/packages/apps/Launcher3/src/com/android/launcher3/
H A DBaseDraggingActivity.java323 Insets insets = wm.getWindowInsets().getInsets(Type.systemBars()); in getMultiWindowDisplaySize()
/aosp12/frameworks/base/packages/SystemUI/src/com/android/systemui/screenshot/
H A DScreenshotController.java573 mWindowManager.getCurrentWindowMetrics().getWindowInsets()); in saveScreenshot()
608 mWindowManager.getCurrentWindowMetrics().getWindowInsets()); in saveScreenshot()
/aosp12/frameworks/base/packages/SystemUI/src/com/android/systemui/accessibility/
H A DMagnificationModeSwitch.java413 final Insets windowInsets = windowMetrics.getWindowInsets().getInsetsIgnoringVisibility( in getDraggableWindowBounds()
/aosp12/packages/apps/Launcher3/tests/tapl/com/android/launcher3/tapl/
H A DLauncherInstrumentation.java320 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 DTouchUtils.java109 WindowInsets windowInsets = windowMetrics.getWindowInsets(); in getSizeExcludingNavigationBarAndCutout()
/aosp12/packages/apps/Launcher3/src/com/android/launcher3/graphics/
H A DLauncherPreviewRenderer.java190 .getCurrentWindowMetrics().getWindowInsets(); in LauncherPreviewRenderer()

12