Home
last modified time | relevance | path

Searched refs:getInsets (Results 1 – 25 of 65) sorted by relevance

123

/frameworks/base/packages/SystemUI/src/com/android/systemui/biometrics/ui/
DCredentialPasswordView.kt53 val statusBarInsets: Insets = insets.getInsets(WindowInsets.Type.statusBars()) in onApplyWindowInsets()
54 val keyboardInsets: Insets = insets.getInsets(WindowInsets.Type.ime()) in onApplyWindowInsets()
55 val navigationInsets: Insets = insets.getInsets(WindowInsets.Type.navigationBars()) in onApplyWindowInsets()
DCredentialPatternView.kt43 val statusBarInsets: Insets = insets.getInsets(Type.statusBars()) in onApplyWindowInsets()
44 val navigationInsets: Insets = insets.getInsets(Type.navigationBars()) in onApplyWindowInsets()
DBiometricPromptLayout.java163 .getInsets(WindowInsets.Type.navigationBars()); in onMeasure()
/frameworks/base/core/tests/coretests/src/android/view/
DInsetsStateTest.java112 assertEquals(Insets.of(0, 100, 0, 100), insets.getInsets(Type.all())); in testCalculateInsets()
115 assertEquals(Insets.of(0, 100, 0, 0), insets.getInsets(statusBars())); in testCalculateInsets()
116 assertEquals(Insets.of(0, 0, 0, 100), insets.getInsets(ime())); in testCalculateInsets()
133 assertEquals(Insets.of(0, 0, 0, 200), insets.getInsets(Type.all())); in testCalculateInsets_imeAndNav()
134 assertEquals(Insets.of(0, 0, 0, 100), insets.getInsets(navigationBars())); in testCalculateInsets_imeAndNav()
135 assertEquals(Insets.of(0, 0, 0, 200), insets.getInsets(ime())); in testCalculateInsets_imeAndNav()
149 assertEquals(Insets.of(0, 100, 0, 0), insets.getInsets(statusBars())); in testCalculateInsets_navRightStatusTop()
150 assertEquals(Insets.of(0, 0, 20, 0), insets.getInsets(navigationBars())); in testCalculateInsets_navRightStatusTop()
164 assertEquals(Insets.of(0, 100, 0, 0), insets.getInsets(Type.statusBars())); in testCalculateInsets_extraNavRightClimateTop()
165 assertEquals(Insets.of(0, 0, 20, 0), insets.getInsets(Type.navigationBars())); in testCalculateInsets_extraNavRightClimateTop()
[all …]
DSurfaceControlViewHostInsetsTest.java54 mStatusBarInsets = w.getInsets(WindowInsets.Type.statusBars()); in createViewHierarchy()
/frameworks/base/core/java/android/view/animation/
DTransformation.java139 setInsets(Insets.add(getInsets(), t.getInsets())); in compose()
237 public Insets getInsets() { in getInsets() method in Transformation
/frameworks/base/core/tests/screenshothelpertests/src/com/android/internal/util/
DScreenshotRequestTest.java66 assertEquals(Insets.NONE, out.getInsets()); in testSimpleScreenshot()
94 assertEquals(Insets.of(2, 3, 4, 5), out.getInsets()); in testProvidedScreenshot()
131 assertEquals(Insets.NONE, out.getInsets()); in testFullScreenshot_withBitmap()
/frameworks/base/core/java/android/view/
DWindowInsets.java226 static Insets getInsets(Insets[] typeInsetsMap, @InsetsType int typeMask) { in getInsets() method in WindowInsets
344 : getInsets(mCompatInsetsTypes); in getSystemWindowInsets()
348 result = Insets.max(result, getInsets(ime())); in getSystemWindowInsets()
361 public Insets getInsets(@InsetsType int typeMask) { in getInsets() method in WindowInsets
362 return getInsets(mTypeInsetsMap, typeMask); in getInsets()
389 return getInsets(mTypeMaxInsetsMap, typeMask); in getInsetsIgnoringVisibility()
498 return !getInsets(mTypeInsetsMap, all()).equals(Insets.NONE) in hasInsets()
499 || !getInsets(mTypeMaxInsetsMap, all()).equals(Insets.NONE) in hasInsets()
811 return getInsets(mTypeMaxInsetsMap, systemBars()); in getStableInsets()
940 return getInsets(mTypeInsetsMap, SYSTEM_GESTURES); in getSystemGestureInsets()
[all …]
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/window/
DStatusBarWindowController.java249 .setInsetsSize(getInsets(height)),
251 .setInsetsSize(getInsets(height)),
326 provider.setInsetsSize(getInsets(height));
343 private Insets getInsets(int height) {
/frameworks/base/packages/SystemUI/src/com/android/systemui/mediaprojection/appselector/view/
DWindowMetricsProvider.kt27 windowManager.currentWindowMetrics.windowInsets.getInsets(
/frameworks/base/packages/SystemUI/src/com/android/systemui/keyboard/shortcut/ui/view/
DShortcutHelperActivity.kt204 getInsets(WindowInsets.Type.systemBars())
205 .union(getInsets(WindowInsets.Type.displayCutout()))
/frameworks/base/graphics/java/android/graphics/drawable/
DInsetDrawable.java225 private void getInsets(Rect out) { in getInsets() method in InsetDrawable
236 getInsets(mTmpInsetRect); in getPadding()
249 getInsets(mTmpInsetRect); in getOpticalInsets()
261 getInsets(mTmpInsetRect); in getOpacity()
/frameworks/base/libs/WindowManager/Shell/src/com/android/wm/shell/bubbles/
DBubblePositioner.java118 mRotation, deviceConfig.getInsets(), deviceConfig.isLargeScreen(), in update()
121 updateInternal(mRotation, deviceConfig.getInsets(), deviceConfig.getWindowBounds()); in update()
247 public Insets getInsets() { in getInsets() method in BubblePositioner
322 return getScreenRect().bottom - getImeHeight() - getInsets().bottom; in getImeTop()
430 int expandedContainerY = getExpandedViewYTopAligned() - getInsets().top; in getMaxExpandedViewHeight()
933 left = getInsets().left + padding; in getBubbleBarExpandedViewBounds()
/frameworks/base/tests/WindowInsetsTests/src/com/google/android/test/windowinsetstests/
DWindowInsetsTestsMainActivity.java39 final Insets i = insets.getInsets(systemBars() | displayCutout()); in onCreate()
DControllerActivity.java64 final Insets i = insets.getInsets(visibleTypes); in onCreate()
70 insets.getInsets(systemGestures() | visibleTypes), i); in onCreate()
/frameworks/base/packages/SystemUI/src/com/android/systemui/clipboardoverlay/
DEditTextActivity.java69 Insets insets = windowInsets.getInsets(WindowInsets.Type.systemBars()); in onCreate()
/frameworks/base/packages/SystemUI/src/com/android/systemui/display/ui/view/
DMirroringConfirmationDialogDelegate.kt131 setupInsets(insets.getInsets(navbarType).bottom) in <lambda>()
/frameworks/base/packages/SystemUI/src/com/android/systemui/controls/ui/
DControlsActivity.kt88 setPadding(l, t, r, insets.getInsets(Type.systemBars()).bottom) in <lambda>()
DDetailDialog.kt178 val insets = insets.getInsets(Type.systemBars()) in <lambda>()
/frameworks/base/packages/SystemUI/shared/biometrics/src/com/android/systemui/biometrics/
DUtils.kt126 return windowMetrics?.windowInsets?.getInsets(WindowInsets.Type.navigationBars()) in getNavbarInsets()
/frameworks/base/libs/WindowManager/Shell/src/com/android/wm/shell/transition/
DTransitionAnimationHelper.java318 transformationAtStart.getInsets(), transformationAtEnd.getInsets()); in edgeExtendWindow()
/frameworks/base/packages/SystemUI/src/com/android/systemui/screenshot/ui/
DScreenshotShelfView.kt129 val navBarInsets = insets.getInsets(WindowInsets.Type.navigationBars()) in <lambda>()
/frameworks/base/core/java/com/android/internal/util/
DScreenshotRequest.java100 public Insets getInsets() { in getInsets() method in ScreenshotRequest
/frameworks/base/services/core/java/com/android/server/wm/
DSurfaceAnimationRunner.java387 transformationAtStart.getInsets(), transformationAtEnd.getInsets()); in edgeExtendWindow()
DWindowAnimationSpec.java154 Insets extensionInsets = Insets.min(transformation.getInsets(), Insets.NONE); in accountForExtension()

123