/frameworks/base/core/tests/coretests/src/android/view/ |
D | InsetsSourceTest.java | 62 Insets insets = mSource.calculateInsets(new Rect(0, 0, 500, 500), in testCalculateInsetsTop() 70 Insets insets = mSource.calculateInsets(new Rect(0, 0, 500, 500), in testCalculateInsetsBottom() 78 Insets insets = mSource.calculateInsets(new Rect(0, 0, 500, 500), in testCalculateInsetsLeft() 86 Insets insets = mSource.calculateInsets(new Rect(0, 0, 500, 500), in testCalculateInsetsRight() 94 Insets insets = mSource.calculateInsets(new Rect(100, 0, 500, 500), in testCalculateInsets_overextend() 102 Insets insets = mImeSource.calculateInsets(new Rect(0, 0, 500, 500), in testCalculateInsets_ime_leftCutout() 110 Insets insets = mCaptionSource.calculateInsets(new Rect(0, 0, 200, 200), false); in testCalculateInsets_caption_resizing() 112 insets = mCaptionSource.calculateInsets(new Rect(0, 0, 50, 200), false); in testCalculateInsets_caption_resizing() 114 insets = mCaptionSource.calculateInsets(new Rect(100, 100, 200, 500), false); in testCalculateInsets_caption_resizing() 122 Insets insets = mSource.calculateInsets(new Rect(100, 0, 500, 500), in testCalculateInsets_invisible() [all …]
|
D | InsetsStateTest.java | 89 WindowInsets insets = mState.calculateInsets(new Rect(0, 0, 100, 300), null, false, in testCalculateInsets() 106 WindowInsets insets = mState.calculateInsets(new Rect(0, 0, 100, 300), null, false, in testCalculateInsets_imeAndNav() 123 WindowInsets insets = mState.calculateInsets(new Rect(0, 0, 100, 300), null, false, in testCalculateInsets_navRightStatusTop() 136 WindowInsets insets = mState.calculateInsets(new Rect(0, 0, 100, 300), null, false, in testCalculateInsets_extraNavRightClimateTop() 151 WindowInsets insets = mState.calculateInsets(new Rect(0, 0, 100, 300), null, false, in testCalculateInsets_imeIgnoredWithoutAdjustResize() 165 WindowInsets insets = mState.calculateInsets(new Rect(0, 0, 100, 300), null, false, in testCalculateInsets_systemUiFlagLayoutStable() 169 insets = mState.calculateInsets(new Rect(0, 0, 100, 300), null, false, false, in testCalculateInsets_systemUiFlagLayoutStable() 179 WindowInsets insets = mState.calculateInsets(new Rect(0, 0, 100, 300), null, false, in testCalculateInsets_systemUiFlagLayoutStable_windowFlagFullscreen() 183 insets = mState.calculateInsets(new Rect(0, 0, 100, 300), null, false, false, in testCalculateInsets_systemUiFlagLayoutStable_windowFlagFullscreen() 193 WindowInsets insets = mState.calculateInsets(new Rect(0, 0, 100, 300), null, false, in testCalculateInsets_flagLayoutNoLimits() [all …]
|
D | ImeInsetsSourceConsumerTest.java | 83 mController.calculateInsets( in setup()
|
D | InsetsControllerTest.java | 162 mController.calculateInsets( in setup()
|
/frameworks/base/services/tests/wmtests/src/com/android/server/wm/ |
D | WindowContainerInsetsSourceProviderTest.java | 71 mProvider.getSource().calculateInsets(new Rect(0, 0, 500, 500), in testPostLayout() 90 mProvider.getSource().calculateInsets(new Rect(0, 0, 500, 500), in testPostLayout_givenInsets() 103 assertEquals(Insets.NONE, mProvider.getSource().calculateInsets(new Rect(0, 0, 500, 500), in testPostLayout_invisible() 190 Insets insets = mImeSource.calculateInsets(new Rect(0, 0, 500, 500), in testUpdateSourceFrameForIme() 198 insets = mImeSource.calculateInsets(new Rect(0, 0, 500, 500), in testUpdateSourceFrameForIme() 242 mProvider.getSource().calculateInsets(new Rect(0, -100, 500, 400), in testInsetGeometries() 248 mProvider.getSource().calculateInsets(new Rect(-100, 0, 400, 500), in testInsetGeometries()
|
D | DisplayPolicyLayoutTests.java | 168 statusBarProvider.getSource().calculateInsets(new Rect(0, 0, 500, 500), in addingWindow_withInsetsTypes() 174 topGesturesProvider.getSource().calculateInsets(new Rect(0, 0, 500, 500), in addingWindow_withInsetsTypes()
|
/frameworks/base/core/java/android/view/ |
D | InsetsAnimationControlImpl.java | 127 mHiddenInsets = calculateInsets(mInitialInsetsState, frame, controls, false /* shown */, in InsetsAnimationControlImpl() 129 mShownInsets = calculateInsets(mInitialInsetsState, frame, controls, true /* shown */, in InsetsAnimationControlImpl() 141 mCurrentInsets = calculateInsets(mInitialInsetsState, controls, true /* shown */); in InsetsAnimationControlImpl() 142 mHiddenInsets = calculateInsets(null, controls, false /* shown */); in InsetsAnimationControlImpl() 143 mShownInsets = calculateInsets(null, controls, true /* shown */); in InsetsAnimationControlImpl() 372 return state.calculateInsets(frame, null /* ignoringVisibilityState */, in getInsetsFromState() 380 private Insets calculateInsets(InsetsState state, Rect frame, in calculateInsets() method in InsetsAnimationControlImpl 395 private Insets calculateInsets(InsetsState state, SparseArray<InsetsSourceControl> controls, in calculateInsets() method in InsetsAnimationControlImpl
|
D | InsetsSource.java | 133 public Insets calculateInsets(Rect relativeFrame, boolean ignoreVisibility) { in calculateInsets() method in InsetsSource 134 return calculateInsets(relativeFrame, mFrame, ignoreVisibility); in calculateInsets() 141 return calculateInsets(relativeFrame, mVisibleFrame != null ? mVisibleFrame : mFrame, in calculateVisibleInsets() 145 private Insets calculateInsets(Rect relativeFrame, Rect frame, boolean ignoreVisibility) { in calculateInsets() method in InsetsSource
|
D | WindowLayout.java | 78 final Insets insets = state.calculateInsets(windowBounds, attrs.getFitInsetsTypes(), in computeFrames() 93 outParentFrame.inset(source.calculateInsets( in computeFrames() 132 final Insets systemBarsInsets = state.calculateInsets( in computeFrames() 149 if (navSource != null && navSource.calculateInsets(displayFrame, true).bottom > 0) { in computeFrames()
|
D | InsetsState.java | 218 public WindowInsets calculateInsets(Rect frame, @Nullable InsetsState ignoringVisibilityState, in calculateInsets() method in InsetsState 305 final Insets insets = source.calculateInsets(roundedCornerFrame, false); in calculateRelativeRoundedCorners() 336 public Insets calculateInsets(Rect frame, @InsetsType int types, boolean ignoreVisibility) { in calculateInsets() method in InsetsState 347 insets = Insets.max(source.calculateInsets(frame, ignoreVisibility), insets); in calculateInsets() 352 public Insets calculateInsets(Rect frame, @InsetsType int types, in calculateInsets() method in InsetsState 367 insets = Insets.max(source.calculateInsets(frame, true), insets); in calculateInsets() 419 final Insets insets = source.calculateInsets(frame, true /* ignoreVisibility */); in canControlSource() 430 Insets insets = source.calculateInsets(relativeFrame, ignoreVisibility); in processSource()
|
D | InsetsResizeAnimationRunner.java | 66 final Insets fromInsets = fromState.calculateInsets( in InsetsResizeAnimationRunner() 68 final Insets toInsets = toState.calculateInsets( in InsetsResizeAnimationRunner()
|
D | InsetsController.java | 656 WindowInsets insets = state.calculateInsets(mFrame, mState /* ignoringVisibilityState*/, in InsetsController() 835 public WindowInsets calculateInsets(boolean isScreenRound, boolean alwaysConsumeSystemBars, in calculateInsets() method in InsetsController 843 mLastInsets = mState.calculateInsets(mFrame, null /* ignoringVisibilityState*/, in calculateInsets()
|
D | WindowManagerImpl.java | 345 return insetsState.calculateInsets(bounds, null /* ignoringVisibilityState*/, in getWindowInsetsFromServerForDisplay()
|
/frameworks/base/libs/WindowManager/Shell/src/com/android/wm/shell/kidsmode/ |
D | KidsModeTaskOrganizer.java | 382 bounds.inset(navBarSource.calculateInsets(bounds, false /* ignoreVisibility */)); in calculateBounds() 384 bounds.inset(taskBarSource.calculateInsets(bounds, false /* ignoreVisibility */)); in calculateBounds()
|
/frameworks/layoutlib/bridge/src/android/view/ |
D | WindowManagerImpl.java | 242 return insetsState.calculateInsets(getCurrentBounds(mContext), in computeWindowInsets()
|
/frameworks/base/services/core/java/com/android/server/wm/ |
D | BackNaviAnimationController.java | 346 mainWindow.getInsetsStateWithVisibilityOverride().calculateInsets( in createRemoteAnimationTarget()
|
D | RecentsAnimationController.java | 548 .calculateInsets(mTargetActivityRecord.getBounds(), Type.systemBars(), in startAnimation() 1185 final Rect insets = mainWindow.getInsetsStateWithVisibilityOverride().calculateInsets(
|
D | InsetsSourceProvider.java | 336 final Insets insetsHint = mSource.calculateInsets( in onPostLayout()
|
D | TaskSnapshotController.java | 724 return state.calculateInsets(
|
D | DisplayPolicy.java | 2019 final Insets decor = insetsState.calculateInsets(displayFrame, DECOR_TYPES, in update() 2021 final Insets statusBar = insetsState.calculateInsets(displayFrame, in update()
|
D | DisplayContent.java | 3078 out.inset(state.calculateInsets(out, systemBars(), true /* ignoreVisibility */)); in getStableRect() 3207 mTmpRect.inset(getInsetsStateController().getRawInsetsState().calculateInsets( in processTaskForTouchExcludeRegion() 3328 dockFrame.inset(state.calculateInsets(dockFrame, systemBars() | displayCutout(), in getInputMethodWindowVisibleHeight()
|
D | WindowState.java | 5953 outInsets.set(state.calculateInsets(outFrame, systemBars(), in getAnimationFrames() 5955 outStableInsets.set(state.calculateInsets(outFrame, systemBars(), in getAnimationFrames()
|
D | ActivityRecord.java | 7603 insets = win.getInsetsStateWithVisibilityOverride().calculateInsets( in loadThumbnailAnimation() 10309 final Rect insets = mainWindow.getInsetsStateWithVisibilityOverride().calculateInsets(
|
/frameworks/base/libs/WindowManager/Shell/src/com/android/wm/shell/startingsurface/ |
D | TaskSnapshotWindow.java | 353 return state.calculateInsets(frame, WindowInsets.Type.systemBars(), in getSystemBarInsets()
|
/frameworks/base/core/java/android/service/wallpaper/ |
D | WallpaperService.java | 1242 WindowInsets windowInsets = mInsetsState.calculateInsets(visibleFrame, in updateSurface()
|