Home
last modified time | relevance | path

Searched refs:toRect (Results 1 – 22 of 22) sorted by relevance

/aosp14/frameworks/base/packages/SystemUI/compose/core/src/com/android/compose/animation/scene/transformation/
H A DPunchHole.kt22 import androidx.compose.ui.geometry.toRect
64 canvas.withSaveLayer(size.toRect(), Paint()) {
/aosp14/frameworks/base/core/java/android/view/
H A DDisplayCutout.java405 this(safeInsets.toRect(), Insets.NONE, boundLeft, boundTop, boundRight, boundBottom, null, in DisplayCutout()
432 this(safeInsets.toRect(), waterfallInsets, boundLeft, boundTop, boundRight, boundBottom, in DisplayCutout()
457 this(safeInsets.toRect(), waterfallInsets, boundLeft, boundTop, boundRight, boundBottom, in DisplayCutout()
834 mWaterfallInsets.toRect().dumpDebug(proto, WATERFALL_INSETS); in dumpDebug()
860 mWaterfallInsets.toRect()); in inset()
1373 final Rect waterfallInsets = mInner.mWaterfallInsets.toRect(); in scale()
1444 return new DisplayCutout(mSafeInsets.toRect(), mWaterfallInsets, mBoundingRectLeft, in build()
H A DWindowInsets.java1183 assignCompatInsets(mTypeInsetsMap, systemWindowInsets.toRect()); in setSystemWindowInsets()
1342 assignCompatInsets(mTypeMaxInsetsMap, stableInsets.toRect()); in setStableInsets()
H A DCutoutSpecification.java189 return mInsets.toRect(); in getSafeInset()
H A DViewRootImpl.java3013 mAttachInfo.mContentInsets.set(mLastWindowInsets.getSystemWindowInsets().toRect()); in getWindowInsets()
3014 mAttachInfo.mStableInsets.set(mLastWindowInsets.getStableInsets().toRect()); in getWindowInsets()
3017 mWindowAttributes.softInputMode, mWindowAttributes.flags).toRect()); in getWindowInsets()
H A DView.java12721 outLocalInsets.set(result.first.toRect()); in computeSystemWindowInsets()
/aosp14/frameworks/base/core/java/com/android/internal/policy/
H A DBackdropFrameRenderer.java97 mSystemBarInsets.set(systemBarInsets.toRect()); in BackdropFrameRenderer()
98 mOldSystemBarInsets.set(systemBarInsets.toRect()); in BackdropFrameRenderer()
/aosp14/frameworks/base/graphics/java/android/graphics/
H A DInsets.java82 public @NonNull Rect toRect() { in toRect() method in Insets
/aosp14/frameworks/base/packages/SystemUI/src/com/android/systemui/accessibility/floatingmenu/
H A DMenuViewLayer.java321 final Rect imeInsetsRect = windowInsets.getInsets(ime()).toRect(); in onWindowInsetsApplied()
326 Type.systemBars() | Type.displayCutout()).toRect(); in onWindowInsetsApplied()
/aosp14/frameworks/base/core/tests/coretests/src/com/android/internal/widget/
H A DActionBarOverlayLayoutTest.java171 return new WindowInsets(WindowInsets.createCompatTypeMap(content.toRect()), null, null, in insetsWith()
/aosp14/frameworks/base/services/core/java/com/android/server/wm/
H A DPinnedTaskController.java294 Insets.of(pinnedTask.getDisplayCutoutInsets()), rotationBackDelta).toRect(); in startSeamlessRotationIfNeeded()
H A DAbsAppSnapshotController.java451 frame, WindowInsets.Type.systemBars(), false /* ignoreVisibility */).toRect(); in getSystemBarInsets()
H A DRecentsAnimationController.java542 false /* ignoreVisibility */).toRect(); in startAnimation()
1179 mBounds, Type.systemBars(), false /* ignoreVisibility */).toRect();
H A DBackNavigationController.java1015 false /* ignoreVisibility */).toRect(); in createRemoteAnimationTarget()
H A DWindowState.java5644 false /* ignoreVisibility */).toRect()); in getAnimationFrames()
5646 true /* ignoreVisibility */).toRect()); in getAnimationFrames()
H A DActivityRecord.java7714 win.getFrame(), Type.systemBars(), false /* ignoreVisibility */).toRect(); in loadThumbnailAnimation()
10604 task.getBounds(), Type.systemBars(), false /* ignoreVisibility */).toRect();
/aosp14/frameworks/base/core/java/android/window/
H A DSnapshotDrawerUtils.java446 false /* ignoreVisibility */).toRect(); in getSystemBarInsets()
/aosp14/frameworks/base/core/java/android/service/wallpaper/
H A DWallpaperService.java1323 final Rect contentInsets = windowInsets.getSystemWindowInsets().toRect(); in updateSurface()
1324 final Rect stableInsets = windowInsets.getStableInsets().toRect(); in updateSurface()
/aosp14/frameworks/base/libs/WindowManager/Shell/src/com/android/wm/shell/common/split/
H A DSplitLayout.java729 .toRect(); in getDisplayStableInsets()
/aosp14/frameworks/base/packages/CredentialManager/
H A Dprofile.txt.prof4293 HSPLandroidx/compose/ui/geometry/SizeKt;->toRect-uvyYCjk(J)Landroidx/compose/ui/geometry/Rect;
/aosp14/frameworks/base/boot/
H A Dboot-image-profile.txt6414 HSPLandroid/graphics/Insets;->toRect()Landroid/graphics/Rect;
/aosp14/frameworks/base/config/
H A Dboot-image-profile.txt6417 HSPLandroid/graphics/Insets;->toRect()Landroid/graphics/Rect;