/aosp12/frameworks/base/libs/WindowManager/Shell/tests/unittest/src/com/android/wm/shell/common/ |
H A D | DisplayLayoutTest.java | 81 assertEquals(new Rect(0, 0, 0, 0), dl.stableInsets()); in testInsets() 87 assertEquals(new Rect(0, 40, 0, 50), dl.stableInsets()); in testInsets() 94 assertEquals(new Rect(0, 60, 0, 0), dl.stableInsets()); in testInsets() 100 assertEquals(new Rect(0, 60, 0, 50), dl.stableInsets()); in testInsets() 112 assertEquals(new Rect(0, 60, 0, 50), dl.stableInsets()); in testRotate() 118 assertEquals(new Rect(60, 30, 0, 40), dl.stableInsets()); in testRotate() 126 assertEquals(new Rect(40, 30, 60, 0), dl.stableInsets()); in testRotate()
|
/aosp12/frameworks/base/core/java/android/view/ |
H A D | WindowCallbacks.java | 49 Rect stableInsets); in onWindowSizeIsChanging() argument 60 Rect stableInsets, int resizeMode); in onWindowDragResizeStart() argument
|
H A D | WindowInsets.java | 1296 public Builder setStableInsets(@NonNull Insets stableInsets) { in setStableInsets() argument 1297 Preconditions.checkNotNull(stableInsets); in setStableInsets() 1298 assignCompatInsets(mTypeMaxInsetsMap, stableInsets.toRect()); in setStableInsets()
|
H A D | ViewRootImpl.java | 10011 Rect stableInsets, int resizeMode) { in startDragResizing() argument 10017 initialBounds, fullscreen, systemInsets, stableInsets, resizeMode); in startDragResizing()
|
/aosp12/frameworks/base/libs/WindowManager/Shell/src/com/android/wm/shell/legacysplitscreen/ |
H A D | LegacySplitDisplayLayout.java | 83 tmpRect.inset(mDisplayLayout.stableInsets()); in rotateTo() 123 isHorizontalDivision, mDisplayLayout.stableInsets(), getPrimarySplitSide()); in getSnapAlgorithm() 134 isHorizontalDivision, mDisplayLayout.stableInsets(), getPrimarySplitSide(), in getMinimizedSnapAlgorithm() 271 insettedDisplay.inset(tmpDL.stableInsets()); in getSmallestWidthDpForBounds() 287 tmpRect.inset(dl.stableInsets()); in initSnapAlgorithmForRotation() 293 config.orientation == ORIENTATION_PORTRAIT, dl.stableInsets()); in initSnapAlgorithmForRotation()
|
H A D | DividerView.java | 695 mTmpRect.set(mSplitLayout.mDisplayLayout.stableInsets()); in notifySplitScreenBoundsChanged()
|
/aosp12/frameworks/base/libs/WindowManager/Shell/src/com/android/wm/shell/pip/phone/ |
H A D | PipMotionHelper.java | 431 final Rect insetBounds = mPipBoundsState.getDisplayLayout().stableInsets(); in movetoTarget() 512 mPipBoundsState.getDisplayLayout().stableInsets()); 526 final Rect insetBounds = mPipBoundsState.getDisplayLayout().stableInsets(); 580 final Rect insetBounds = mPipBoundsState.getDisplayLayout().stableInsets();
|
H A D | PipController.java | 508 mPipBoundsState.getDisplayLayout().stableInsets()); in onDisplayChanged() 748 mPipBoundsState.getDisplayLayout().stableInsets()); in onDisplayRotationChanged()
|
/aosp12/frameworks/base/libs/WindowManager/Shell/src/com/android/wm/shell/onehanded/ |
H A D | OneHandedBackgroundPanelOrganizer.java | 163 mStableInsets = displayLayout.stableInsets(); in onDisplayChanged()
|
/aosp12/frameworks/base/core/java/com/android/internal/policy/ |
H A D | TransitionAnimation.java | 655 @Nullable Rect surfaceInsets, @Nullable Rect stableInsets, boolean freeform, in createAspectScaledThumbnailEnterExitAnimationLocked() argument 717 mTmpFromClipRect.top += stableInsets.top; in createAspectScaledThumbnailEnterExitAnimationLocked() 718 y += stableInsets.top; in createAspectScaledThumbnailEnterExitAnimationLocked()
|
H A D | DecorView.java | 2374 Rect stableInsets) { in onWindowSizeIsChanging() argument 2382 Rect stableInsets, int resizeMode) { in onWindowDragResizeStart() argument
|
/aosp12/frameworks/base/libs/WindowManager/Shell/src/com/android/wm/shell/pip/ |
H A D | PipBoundsAlgorithm.java | 321 Rect insets = mPipBoundsState.getDisplayLayout().stableInsets(); in getInsetBounds()
|
/aosp12/frameworks/base/core/java/android/service/wallpaper/ |
H A D | WallpaperService.java | 1144 final Rect stableInsets = windowInsets.getStableInsets().toRect(); in updateSurface() local 1148 insetsChanged |= !mDispatchedStableInsets.equals(stableInsets); in updateSurface() 1209 mDispatchedStableInsets.set(stableInsets); in updateSurface()
|
/aosp12/frameworks/base/libs/WindowManager/Shell/src/com/android/wm/shell/common/ |
H A D | DisplayLayout.java | 259 public Rect stableInsets() { in stableInsets() method in DisplayLayout
|
/aosp12/frameworks/base/services/core/java/com/android/server/wm/ |
H A D | AppTransition.java | 844 @Nullable Rect surfaceInsets, @Nullable Rect stableInsets, boolean isVoiceInteraction, in loadAnimation() argument 937 stableInsets, freeform, spec != null ? spec.rect : null, in loadAnimation()
|
H A D | WindowContainer.java | 2897 final Rect stableInsets = new Rect(); in loadAnimation() local 2899 getAnimationFrames(frame, insets, stableInsets, surfaceInsets); in loadAnimation() 2915 surfaceInsets, stableInsets, isVoiceInteraction, inFreeformWindowingMode(), this); in loadAnimation()
|