/frameworks/base/packages/SystemUI/src/com/android/systemui/scene/ui/view/ |
D | SceneWindowRootView.kt | 29 private val windowInsets: MutableStateFlow<WindowInsets?> = MutableStateFlow(null) in <lambda>() constant 44 windowInsets = windowInsets, in <lambda>() 61 override fun onApplyWindowInsets(windowInsets: WindowInsets): WindowInsets { in <lambda>() 62 this.windowInsets.value = windowInsets in <lambda>() 63 return windowInsets in <lambda>()
|
D | WindowRootView.kt | 72 override fun onApplyWindowInsets(windowInsets: WindowInsets): WindowInsets? { in onApplyWindowInsets() 73 val insets = windowInsets.getInsetsIgnoringVisibility(WindowInsets.Type.systemBars()) in onApplyWindowInsets() 93 layoutInsetsController.getinsets(windowInsets, displayCutout) in onApplyWindowInsets() 97 return windowInsets in onApplyWindowInsets() 137 windowInsets: WindowInsets?, in getinsets()
|
D | SceneWindowRootViewBinder.kt | 63 windowInsets: StateFlow<WindowInsets?>, in <lambda>() 103 windowInsets = windowInsets, in <lambda>() 141 windowInsets: StateFlow<WindowInsets?>, in <lambda>() 149 displayCutout = displayCutoutFromWindowInsets(scope, context, windowInsets), in <lambda>() 168 windowInsets: StateFlow<WindowInsets?>, in <lambda>() 170 windowInsets in <lambda>()
|
/frameworks/base/core/java/android/view/ |
D | WindowMetrics.java | 63 public WindowMetrics(@NonNull Rect bounds, @NonNull WindowInsets windowInsets) { in WindowMetrics() argument 64 this(bounds, windowInsets, 1.0f); in WindowMetrics() 79 public WindowMetrics(@NonNull Rect bounds, @NonNull WindowInsets windowInsets, float density) { in WindowMetrics() argument 81 mWindowInsets = windowInsets; in WindowMetrics()
|
/frameworks/base/core/java/android/window/ |
D | WindowMetricsController.java | 144 WindowInsets windowInsets; in getPossibleMaximumWindowMetrics() local 157 windowInsets = getWindowInsetsFromServerForDisplay( in getPossibleMaximumWindowMetrics() 169 windowInsets = new WindowInsets.Builder(windowInsets).setRoundedCorners( in getPossibleMaximumWindowMetrics() 177 maxMetrics.add(new WindowMetrics(maxBounds, windowInsets, density)); in getPossibleMaximumWindowMetrics()
|
D | WindowMetricsHelper.java | 44 final WindowInsets windowInsets = windowMetrics.getWindowInsets(); in getBoundsExcludingNavigationBarAndCutout() local 46 result.inset(windowInsets.getInsetsIgnoringVisibility(navigationBars() | displayCutout())); in getBoundsExcludingNavigationBarAndCutout()
|
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/shade/ |
D | NotificationsQSContainerControllerTest.kt | 232 insets = windowInsets().withStableBottom() in testTaskbarVisibleInSplitShade() 243 insets = windowInsets().withStableBottom() in testTaskbarVisibleInSplitShade() 260 insets = windowInsets().withStableBottom() in testTaskbarNotVisibleInSplitShade() 270 insets = windowInsets().withStableBottom() in testTaskbarNotVisibleInSplitShade() 286 insets = windowInsets().withCutout() in testTaskbarNotVisibleInSplitShadeWithCutout() 296 insets = windowInsets().withCutout().withStableBottom() in testTaskbarNotVisibleInSplitShadeWithCutout() 312 insets = windowInsets().withStableBottom() in testTaskbarVisibleInSinglePaneShade() 319 insets = windowInsets().withStableBottom() in testTaskbarVisibleInSinglePaneShade() 337 insets = windowInsets().withCutout().withStableBottom() in testTaskbarNotVisibleInSinglePaneShade() 344 insets = windowInsets().withStableBottom() in testTaskbarNotVisibleInSinglePaneShade() [all …]
|
D | NotificationsQSContainerControllerLegacyTest.kt | 238 insets = windowInsets().withStableBottom() in testTaskbarVisibleInSplitShade() 249 insets = windowInsets().withStableBottom() in testTaskbarVisibleInSplitShade() 266 insets = windowInsets().withStableBottom() in testTaskbarNotVisibleInSplitShade() 276 insets = windowInsets().withStableBottom() in testTaskbarNotVisibleInSplitShade() 292 insets = windowInsets().withCutout() in testTaskbarNotVisibleInSplitShadeWithCutout() 302 insets = windowInsets().withCutout().withStableBottom() in testTaskbarNotVisibleInSplitShadeWithCutout() 318 insets = windowInsets().withStableBottom() in testTaskbarVisibleInSinglePaneShade() 325 insets = windowInsets().withStableBottom() in testTaskbarVisibleInSinglePaneShade() 343 insets = windowInsets().withCutout().withStableBottom() in testTaskbarNotVisibleInSinglePaneShade() 350 insets = windowInsets().withStableBottom() in testTaskbarNotVisibleInSinglePaneShade() [all …]
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/window/ |
D | StatusBarWindowView.java | 53 public WindowInsets onApplyWindowInsets(WindowInsets windowInsets) { in onApplyWindowInsets() argument 54 final Insets insets = windowInsets.getInsetsIgnoringVisibility(systemBars()); in onApplyWindowInsets() 63 return windowInsets; in onApplyWindowInsets()
|
/frameworks/base/packages/SettingsLib/Spa/spa/src/com/android/settingslib/spa/widget/scaffold/ |
D | CustomizedAppBar.kt | 83 private val windowInsets: WindowInsets in <lambda>() constant 100 windowInsets = windowInsets, 127 windowInsets = windowInsets, 232 windowInsets: WindowInsets, in SingleRowTopAppBar() 249 .windowInsetsPadding(windowInsets) in SingleRowTopAppBar() 287 windowInsets: WindowInsets, in TwoRowsTopAppBar() 364 .windowInsetsPadding(windowInsets) in TwoRowsTopAppBar() 384 .windowInsetsPadding(windowInsets.only(WindowInsetsSides.Horizontal)) in TwoRowsTopAppBar()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/ |
D | NotificationInsetsImpl.java | 43 public Pair<Integer, Integer> getinsets(@Nullable WindowInsets windowInsets, in getinsets() argument 45 final Insets insets = windowInsets.getInsetsIgnoringVisibility(systemBars()); in getinsets()
|
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/mediaprojection/appselector/view/ |
D | WindowMetricsProviderImplTest.kt | 36 val windowInsets = in getCurrentWindowInsets_returnsFromWMCurrentWindowMetrics() constant 40 whenever(windowManager.currentWindowMetrics).thenReturn(WindowMetrics(bounds, windowInsets)) in getCurrentWindowInsets_returnsFromWMCurrentWindowMetrics()
|
D | TaskPreviewSizeProviderTest.kt | 117 val windowInsets = WindowInsets.Builder().setInsets(Type.tappableElement(), insets).build() in givenTaskbarSize() constant 118 val windowMetrics = WindowMetrics(windowManager.maximumWindowMetrics.bounds, windowInsets) in givenTaskbarSize()
|
/frameworks/base/core/tests/coretests/src/android/view/ |
D | WindowInsetsTest.java | 66 WindowInsets windowInsets = new WindowInsets(insets, maxInsets, visible, false, 0, in compatInsets_layoutStable() local 69 assertEquals(Insets.of(0, 10, 0, 0), windowInsets.getSystemWindowInsets()); in compatInsets_layoutStable()
|
/frameworks/base/libs/WindowManager/Shell/src/com/android/wm/shell/pip/phone/ |
D | PipDismissTargetHandler.java | 112 mTargetViewContainer.setOnApplyWindowInsetsListener((view, windowInsets) -> { in init() argument 113 if (!windowInsets.equals(mWindowInsets)) { in init() 114 mWindowInsets = windowInsets; in init() 117 return windowInsets; in init()
|
/frameworks/base/libs/WindowManager/Shell/src/com/android/wm/shell/pip2/phone/ |
D | PipDismissTargetHandler.java | 112 mTargetViewContainer.setOnApplyWindowInsetsListener((view, windowInsets) -> { in init() argument 113 if (!windowInsets.equals(mWindowInsets)) { in init() 114 mWindowInsets = windowInsets; in init() 117 return windowInsets; in init()
|
/frameworks/base/core/tests/coretests/src/android/window/ |
D | WindowMetricsHelperTest.java | 92 final WindowInsets windowInsets = metrics.getWindowInsets(); in testGetBoundsExcludingNavigationBarAndCutout() local 94 expectedBounds.inset(windowInsets.getInsetsIgnoringVisibility( in testGetBoundsExcludingNavigationBarAndCutout()
|
/frameworks/base/packages/SystemUI/accessibility/accessibilitymenu/src/com/android/systemui/accessibility/accessibilitymenu/view/ |
D | A11yMenuOverlayLayout.java | 264 Insets windowInsets = windowMetrics.getWindowInsets().getInsetsIgnoringVisibility( in updateLayoutByWindowInsetsIfNeeded() local 266 int xOffset = max(windowInsets.left, windowInsets.right); in updateLayoutByWindowInsetsIfNeeded() 267 int yOffset = windowInsets.bottom; in updateLayoutByWindowInsetsIfNeeded()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/ |
D | StatusBarTouchableRegionManager.java | 257 WindowInsets windowInsets = mNotificationShadeWindowView.getRootWindowInsets(); in updateRegionForNotch() local 258 if (windowInsets == null) { in updateRegionForNotch() 262 DisplayCutout cutout = windowInsets.getDisplayCutout(); in updateRegionForNotch()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/clipboardoverlay/ |
D | EditTextActivity.java | 68 @NonNull WindowInsets windowInsets) { in onCreate() 69 Insets insets = windowInsets.getInsets(WindowInsets.Type.systemBars()); in onCreate()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/mediaprojection/appselector/view/ |
D | WindowMetricsProvider.kt | 27 windowManager.currentWindowMetrics.windowInsets.getInsets(
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/keyguard/ui/view/layout/sections/ |
D | DefaultShortcutsSection.kt | 67 .setOnApplyWindowInsetsListener { _, windowInsets -> in <lambda>() method 68 val tempSafeInset = windowInsets?.displayCutout?.safeInsetBottom ?: 0 in <lambda>()
|
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/navigationbar/ |
D | NavigationBarTest.java | 439 WindowInsets windowInsets = new WindowInsets.Builder().setVisible(ime(), false).build(); in testSetImeWindowStatusWhenImeSwitchOnDisplay() local 440 doReturn(windowInsets).when(mockShadeWindowView).getRootWindowInsets(); in testSetImeWindowStatusWhenImeSwitchOnDisplay() 480 WindowInsets windowInsets = new WindowInsets.Builder().setVisible(ime(), false).build(); in testSetImeWindowStatusWhenKeyguardLockingAndImeInsetsChange() local 481 doReturn(windowInsets).when(mockShadeWindowView).getRootWindowInsets(); in testSetImeWindowStatusWhenKeyguardLockingAndImeInsetsChange() 503 windowInsets = new WindowInsets.Builder().setVisible(ime(), true).build(); in testSetImeWindowStatusWhenKeyguardLockingAndImeInsetsChange() 504 doReturn(windowInsets).when(mockShadeWindowView).getRootWindowInsets(); in testSetImeWindowStatusWhenKeyguardLockingAndImeInsetsChange()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/keyguard/ui/binder/ |
D | KeyguardBottomAreaViewBinder.kt | 123 startButton.setOnApplyWindowInsetsListener { inView, windowInsets -> in <lambda>() method 124 val bottomInset = windowInsets.displayCutout?.safeInsetBottom ?: 0 in <lambda>() 139 endButton.setOnApplyWindowInsetsListener { inView, windowInsets -> in <lambda>() method 140 val bottomInset = windowInsets.displayCutout?.safeInsetBottom ?: 0 in <lambda>()
|
/frameworks/base/core/java/android/inputmethodservice/ |
D | NavigationBarController.java | 196 final WindowInsets windowInsets = decorView.getRootWindowInsets(); in getSystemInsets() local 197 if (windowInsets == null) { in getSystemInsets() 201 windowInsets.getInsetsIgnoringVisibility(WindowInsets.Type.systemBars()); in getSystemInsets() 202 return Insets.min(windowInsets.getInsets(WindowInsets.Type.systemBars() in getSystemInsets()
|