/aosp14/frameworks/base/core/tests/coretests/src/android/view/ |
H A D | InsetsSourceTest.java | 67 Insets insets = mSource.calculateInsets(new Rect(0, 0, 500, 500), in testCalculateInsetsTop() 75 Insets insets = mSource.calculateInsets(new Rect(0, 0, 500, 500), in testCalculateInsetsBottom() 83 Insets insets = mSource.calculateInsets(new Rect(0, 0, 500, 500), in testCalculateInsetsLeft() 91 Insets insets = mSource.calculateInsets(new Rect(0, 0, 500, 500), in testCalculateInsetsRight() 99 Insets insets = mSource.calculateInsets(new Rect(100, 0, 500, 500), in testCalculateInsets_overextend() 107 Insets insets = mImeSource.calculateInsets(new Rect(0, 0, 500, 500), in testCalculateInsets_ime_leftCutout() 117 insets = mCaptionSource.calculateInsets(new Rect(0, 0, 50, 200), false); in testCalculateInsets_caption_resizing() 127 Insets insets = mSource.calculateInsets(new Rect(100, 0, 500, 500), in testCalculateInsets_invisible() 136 Insets insets = mSource.calculateInsets(new Rect(100, 0, 500, 500), in testCalculateInsets_ignoreVisibility() 158 Insets insets = mSource.calculateInsets(new Rect(0, 0, 0, 500), false); in testCalculateInsets_zeroWidthIntersection_vertical_start() [all …]
|
H A D | InsetsStateTest.java | 104 WindowInsets insets = mState.calculateInsets(new Rect(0, 0, 100, 300), null, false, in testCalculateInsets() 123 WindowInsets insets = mState.calculateInsets(new Rect(0, 0, 100, 300), null, false, in testCalculateInsets_imeAndNav() 142 WindowInsets insets = mState.calculateInsets(new Rect(0, 0, 100, 300), null, false, in testCalculateInsets_navRightStatusTop() 157 WindowInsets insets = mState.calculateInsets(new Rect(0, 0, 100, 300), null, false, in testCalculateInsets_extraNavRightClimateTop() 192 insets = mState.calculateInsets(new Rect(0, 0, 100, 300), null, false, in testCalculateInsets_systemUiFlagLayoutStable() 207 insets = mState.calculateInsets(new Rect(0, 0, 100, 300), null, false, in testCalculateInsets_systemUiFlagLayoutStable_windowFlagFullscreen() 223 insets = mState.calculateInsets(new Rect(0, 0, 100, 300), null, false, in testCalculateInsets_flagLayoutNoLimits() 227 insets = mState.calculateInsets(new Rect(0, 0, 100, 300), null, false, in testCalculateInsets_flagLayoutNoLimits() 231 insets = mState.calculateInsets(new Rect(0, 0, 100, 300), null, false, in testCalculateInsets_flagLayoutNoLimits() 297 WindowInsets insets1 = mState.calculateInsets(new Rect(), null, false, in testCalculateInsets_emptyIme() [all …]
|
H A D | ImeInsetsSourceConsumerTest.java | 82 mController.calculateInsets( in setup()
|
H A D | InsetsControllerTest.java | 172 mController.calculateInsets( in setup() 777 assertEquals(captionBarHeight, state.calculateInsets(frame, captionBar(), false).top); in testCaptionInsetsStateAssemble()
|
/aosp14/frameworks/base/core/java/android/view/ |
H A D | InsetsAnimationControlImpl.java | 137 mHiddenInsets = calculateInsets(mInitialInsetsState, frame, controls, false /* shown */, in InsetsAnimationControlImpl() 139 mShownInsets = calculateInsets(mInitialInsetsState, frame, controls, true /* shown */, in InsetsAnimationControlImpl() 151 mCurrentInsets = calculateInsets(mInitialInsetsState, controls, true /* shown */); in InsetsAnimationControlImpl() 152 mHiddenInsets = calculateInsets(null, controls, false /* shown */); in InsetsAnimationControlImpl() 153 mShownInsets = calculateInsets(null, controls, true /* shown */); in InsetsAnimationControlImpl() 403 return state.calculateInsets(frame, null /* ignoringVisibilityState */, in getInsetsFromState() 410 private Insets calculateInsets(InsetsState state, Rect frame, in calculateInsets() method in InsetsAnimationControlImpl 425 private Insets calculateInsets(InsetsState state, SparseArray<InsetsSourceControl> controls, in calculateInsets() method in InsetsAnimationControlImpl
|
H A D | WindowLayout.java | 79 final Insets insets = state.calculateInsets(windowBounds, attrs.getFitInsetsTypes(), in computeFrames() 94 outParentFrame.inset(source.calculateInsets( in computeFrames() 125 final Insets systemBarsInsets = state.calculateInsets( in computeFrames() 142 && state.calculateInsets(displayFrame, navigationBars(), true).bottom > 0) { in computeFrames()
|
H A D | InsetsSource.java | 203 public Insets calculateInsets(Rect relativeFrame, boolean ignoreVisibility) { in calculateInsets() method in InsetsSource 204 return calculateInsets(relativeFrame, mFrame, ignoreVisibility); in calculateInsets() 211 return calculateInsets(relativeFrame, mVisibleFrame != null ? mVisibleFrame : mFrame, in calculateVisibleInsets() 215 private Insets calculateInsets(Rect relativeFrame, Rect frame, boolean ignoreVisibility) { in calculateInsets() method in InsetsSource
|
H A D | InsetsState.java | 139 public WindowInsets calculateInsets(Rect frame, @Nullable InsetsState ignoringVisibilityState, in calculateInsets() method in InsetsState 231 final Insets insets = source.calculateInsets(roundedCornerFrame, false); in calculateRelativeRoundedCorners() 272 public Insets calculateInsets(Rect frame, @InsetsType int types, boolean ignoreVisibility) { in calculateInsets() method in InsetsState 279 insets = Insets.max(source.calculateInsets(frame, ignoreVisibility), insets); in calculateInsets() 284 public Insets calculateInsets(Rect frame, @InsetsType int types, in calculateInsets() method in InsetsState 292 insets = Insets.max(source.calculateInsets(frame, true), insets); in calculateInsets() 340 final Insets insets = source.calculateInsets(frame, true /* ignoreVisibility */); in canControlSource() 351 Insets insets = source.calculateInsets(relativeFrame, ignoreVisibility); in processSource()
|
H A D | InsetsResizeAnimationRunner.java | 66 final Insets fromInsets = fromState.calculateInsets( in InsetsResizeAnimationRunner() 68 final Insets toInsets = toState.calculateInsets( in InsetsResizeAnimationRunner()
|
H A D | InsetsController.java | 806 WindowInsets insets = state.calculateInsets(mFrame, in InsetsController() 976 public WindowInsets calculateInsets(boolean isScreenRound, int windowType, int activityType, in calculateInsets() method in InsetsController 983 mLastInsets = mState.calculateInsets(mFrame, null /* ignoringVisibilityState */, in calculateInsets()
|
H A D | ViewRootImpl.java | 3007 mLastWindowInsets = mInsetsController.calculateInsets( in getWindowInsets() 3081 bounds.inset(mInsetsController.getState().calculateInsets( in getWindowBoundsInsetSystemBars()
|
/aosp14/frameworks/base/services/tests/wmtests/src/com/android/server/wm/ |
H A D | InsetsSourceProviderTest.java | 206 Insets insets = mImeSource.calculateInsets(new Rect(0, 0, 500, 500), in testUpdateSourceFrameForIme() 214 insets = mImeSource.calculateInsets(new Rect(0, 0, 500, 500), in testUpdateSourceFrameForIme() 254 mProvider.getSource().calculateInsets(new Rect(0, -100, 500, 400), in testInsetGeometries() 260 mProvider.getSource().calculateInsets(new Rect(-100, 0, 400, 500), in testInsetGeometries()
|
/aosp14/frameworks/base/core/java/android/window/ |
H A D | WindowMetricsController.java | 121 return insetsState.calculateInsets(bounds, null /* ignoringVisibilityState */, in getWindowInsetsFromServerForDisplay()
|
H A D | SnapshotDrawerUtils.java | 445 return state.calculateInsets(frame, WindowInsets.Type.systemBars(), in getSystemBarInsets()
|
/aosp14/frameworks/base/services/core/java/com/android/server/wm/ |
H A D | DisplayPolicy.java | 446 return provider.getSource().calculateInsets(win.getBounds(), in DisplayPolicy() 1449 final Insets insets = source.calculateInsets(bounds, false /* ignoreVisibility */); 1884 final Insets decor = insetsState.calculateInsets(displayFrame, DECOR_TYPES, 1886 final Insets statusBar = insetsState.calculateInsets(displayFrame, 2471 final Insets insets = source.calculateInsets(df, true /* ignoreVisibility */);
|
H A D | AbsAppSnapshotController.java | 450 return state.calculateInsets( in getSystemBarInsets()
|
H A D | RecentsAnimationController.java | 541 .calculateInsets(mTargetActivityRecord.getBounds(), Type.systemBars(), in startAnimation() 1178 final Rect insets = mainWindow.getInsetsStateWithVisibilityOverride().calculateInsets(
|
H A D | InsetsSourceProvider.java | 306 mInsetsHint = mSource.calculateInsets(bounds, true /* ignoreVisibility */); in getInsetsHint()
|
H A D | BackNavigationController.java | 1013 insets = mainWindow.getInsetsStateWithVisibilityOverride().calculateInsets( in createRemoteAnimationTarget()
|
H A D | DisplayContent.java | 3178 out.inset(state.calculateInsets(out, systemBars(), true /* ignoreVisibility */)); in getStableRect() 3303 mTmpRect.inset(getInsetsStateController().getRawInsetsState().calculateInsets( in processTaskForTouchExcludeRegion() 3425 dockFrame.inset(state.calculateInsets(dockFrame, systemBars() | displayCutout(), in getInputMethodWindowVisibleHeight() 5797 final Insets gestureInsets = state.calculateInsets(df, systemGestures(), in calculateSystemGestureExclusion()
|
H A D | WindowState.java | 5643 outInsets.set(state.calculateInsets(outFrame, systemBars(), in getAnimationFrames() 5645 outStableInsets.set(state.calculateInsets(outFrame, systemBars(), in getAnimationFrames()
|
H A D | ActivityRecord.java | 7713 insets = win.getInsetsStateWithVisibilityOverride().calculateInsets( in loadThumbnailAnimation() 10603 final Rect insets = mainWindow.getInsetsStateWithVisibilityOverride().calculateInsets(
|
/aosp14/frameworks/base/libs/WindowManager/Shell/src/com/android/wm/shell/common/ |
H A D | DisplayLayout.java | 377 final Insets insets = insetsState.calculateInsets( in computeNonDecorInsets()
|
/aosp14/frameworks/base/core/java/android/service/wallpaper/ |
H A D | WallpaperService.java | 1293 WindowInsets windowInsets = mInsetsState.calculateInsets(visibleFrame, in updateSurface()
|
/aosp14/frameworks/base/boot/ |
H A D | boot-image-profile.txt | 16555 HSPLandroid/view/InsetsAnimationControlImpl;->calculateInsets(Landroid/view/InsetsState;Landroid/gr… 16556 HSPLandroid/view/InsetsAnimationControlImpl;->calculateInsets(Landroid/view/InsetsState;Landroid/ut… 16639 HSPLandroid/view/InsetsController;->calculateInsets(ZZIIIII)Landroid/view/WindowInsets; 16681 HSPLandroid/view/InsetsSource;->calculateInsets(Landroid/graphics/Rect;Landroid/graphics/Rect;Z)Lan… 16682 HSPLandroid/view/InsetsSource;->calculateInsets(Landroid/graphics/Rect;Z)Landroid/graphics/Insets; 16739 HSPLandroid/view/InsetsState;->calculateInsets(Landroid/graphics/Rect;II)Landroid/graphics/Insets; 16740 HSPLandroid/view/InsetsState;->calculateInsets(Landroid/graphics/Rect;IZ)Landroid/graphics/Insets; 16741 HSPLandroid/view/InsetsState;->calculateInsets(Landroid/graphics/Rect;Landroid/view/InsetsState;ZZI…
|