/frameworks/base/core/tests/coretests/src/android/view/ |
D | InsetsSourceTest.java | 71 Insets insets = mSource.calculateInsets(new Rect(0, 0, 500, 500), in testCalculateInsetsTop() 79 Insets insets = mSource.calculateInsets(new Rect(0, 0, 500, 500), in testCalculateInsetsBottom() 87 Insets insets = mSource.calculateInsets(new Rect(0, 0, 500, 500), in testCalculateInsetsLeft() 95 Insets insets = mSource.calculateInsets(new Rect(0, 0, 500, 500), in testCalculateInsetsRight() 103 Insets insets = mSource.calculateInsets(new Rect(100, 0, 500, 500), in testCalculateInsets_overextend() 111 Insets insets = mImeSource.calculateInsets(new Rect(0, 0, 500, 500), in testCalculateInsets_ime_leftCutout() 119 Insets insets = mImeCaptionSource.calculateInsets(new Rect(0, 0, 500, 500), false); in testCalculateInsets_imeCaptionBar() 124 insets = mImeCaptionSource.calculateInsets(new Rect(0, 0, 500, 500), false); in testCalculateInsets_imeCaptionBar() 131 Insets insets = mCaptionSource.calculateInsets(new Rect(0, 0, 200, 200), false); in testCalculateInsets_caption_resizing() 133 insets = mCaptionSource.calculateInsets(new Rect(0, 0, 50, 200), false); in testCalculateInsets_caption_resizing() [all …]
|
D | InsetsStateTest.java | 108 WindowInsets insets = mState.calculateInsets(new Rect(0, 0, 100, 300), null, false, in testCalculateInsets() 127 WindowInsets insets = mState.calculateInsets(new Rect(0, 0, 100, 300), null, false, in testCalculateInsets_imeAndNav() 146 WindowInsets insets = mState.calculateInsets(new Rect(0, 0, 100, 300), null, false, in testCalculateInsets_navRightStatusTop() 161 WindowInsets insets = mState.calculateInsets(new Rect(0, 0, 100, 300), null, false, in testCalculateInsets_extraNavRightClimateTop() 176 WindowInsets insets = mState.calculateInsets(new Rect(0, 0, 100, 300), null, false, in testCalculateInsets_imeIgnoredWithoutAdjustResize() 192 WindowInsets insets = mState.calculateInsets(new Rect(0, 0, 100, 300), null, false, in testCalculateInsets_systemUiFlagLayoutStable() 196 insets = mState.calculateInsets(new Rect(0, 0, 100, 300), null, false, in testCalculateInsets_systemUiFlagLayoutStable() 207 WindowInsets insets = mState.calculateInsets(new Rect(0, 0, 100, 300), null, false, in testCalculateInsets_systemUiFlagLayoutStable_windowFlagFullscreen() 211 insets = mState.calculateInsets(new Rect(0, 0, 100, 300), null, false, in testCalculateInsets_systemUiFlagLayoutStable_windowFlagFullscreen() 223 WindowInsets insets = mState.calculateInsets(new Rect(0, 0, 100, 300), null, false, in testCalculateInsets_flagLayoutNoLimits() [all …]
|
D | ImeInsetsSourceConsumerTest.java | 86 mController.calculateInsets( in setup()
|
D | InsetsControllerTest.java | 175 mController.calculateInsets( in setup()
|
/frameworks/base/core/java/android/view/ |
D | InsetsAnimationControlImpl.java | 136 mHiddenInsets = calculateInsets(mInitialInsetsState, frame, controls, false /* shown */, in InsetsAnimationControlImpl() 138 mShownInsets = calculateInsets(mInitialInsetsState, frame, controls, true /* shown */, in InsetsAnimationControlImpl() 150 mCurrentInsets = calculateInsets(mInitialInsetsState, controls, true /* shown */); in InsetsAnimationControlImpl() 151 mHiddenInsets = calculateInsets(null, controls, false /* shown */); in InsetsAnimationControlImpl() 152 mShownInsets = calculateInsets(null, controls, true /* shown */); in InsetsAnimationControlImpl() 405 return state.calculateInsets(frame, null /* ignoringVisibilityState */, in getInsetsFromState() 412 private Insets calculateInsets(InsetsState state, Rect frame, in calculateInsets() method in InsetsAnimationControlImpl 427 private Insets calculateInsets(InsetsState state, SparseArray<InsetsSourceControl> controls, in calculateInsets() method in InsetsAnimationControlImpl
|
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()
|
D | InsetsSource.java | 220 calculateInsets(bounds, mFrame, true /* ignoreVisibility */)); in updateSideHint() 276 public Insets calculateInsets(Rect relativeFrame, boolean ignoreVisibility) { in calculateInsets() method in InsetsSource 277 return calculateInsets(relativeFrame, mFrame, ignoreVisibility); in calculateInsets() 284 return calculateInsets(relativeFrame, mVisibleFrame != null ? mVisibleFrame : mFrame, in calculateVisibleInsets() 288 private Insets calculateInsets(Rect relativeFrame, Rect frame, boolean ignoreVisibility) { in calculateInsets() method in InsetsSource
|
D | InsetsState.java | 120 public WindowInsets calculateInsets(Rect frame, @Nullable InsetsState ignoringVisibilityState, in calculateInsets() method in InsetsState 215 final Insets insets = source.calculateInsets(roundedCornerFrame, false); in calculateRelativeRoundedCorners() 256 public Insets calculateInsets(Rect frame, @InsetsType int types, boolean ignoreVisibility) { in calculateInsets() method in InsetsState 263 insets = Insets.max(source.calculateInsets(frame, ignoreVisibility), insets); in calculateInsets() 268 public Insets calculateInsets(Rect frame, @InsetsType int types, in calculateInsets() method in InsetsState 276 insets = Insets.max(source.calculateInsets(frame, true), insets); in calculateInsets() 324 final Insets insets = source.calculateInsets(frame, true /* ignoreVisibility */); in canControlSource() 335 Insets insets = source.calculateInsets(relativeFrame, ignoreVisibility); in processSource()
|
D | InsetsResizeAnimationRunner.java | 68 final Insets fromInsets = fromState.calculateInsets( in InsetsResizeAnimationRunner() 70 final Insets toInsets = toState.calculateInsets( in InsetsResizeAnimationRunner()
|
D | InsetsController.java | 812 WindowInsets insets = state.calculateInsets(mFrame, in InsetsController() 935 public WindowInsets calculateInsets(boolean isScreenRound, int windowType, int activityType, in calculateInsets() method in InsetsController 942 mLastInsets = mState.calculateInsets(mFrame, null /* ignoringVisibilityState */, in calculateInsets()
|
/frameworks/base/services/tests/wmtests/src/com/android/server/wm/ |
D | InsetsSourceProviderTest.java | 249 Insets insets = mImeSource.calculateInsets(new Rect(0, 0, 500, 500), in testUpdateSourceFrameForIme() 257 insets = mImeSource.calculateInsets(new Rect(0, 0, 500, 500), in testUpdateSourceFrameForIme() 297 mProvider.getSource().calculateInsets(new Rect(0, -100, 500, 400), in testInsetGeometries() 303 mProvider.getSource().calculateInsets(new Rect(-100, 0, 400, 500), in testInsetGeometries()
|
/frameworks/base/core/java/android/window/ |
D | WindowMetricsController.java | 123 return insetsState.calculateInsets(bounds, null /* ignoringVisibilityState */, in getWindowInsetsFromServerForDisplay()
|
D | SnapshotDrawerUtils.java | 460 return state.calculateInsets(frame, WindowInsets.Type.systemBars(), in getSystemBarInsets()
|
/frameworks/base/services/core/java/com/android/server/wm/ |
D | DisplayPolicy.java | 454 return provider.getSource().calculateInsets(win.getBounds(), in DisplayPolicy() 1490 final Insets insets = source.calculateInsets(bounds, false /* ignoreVisibility */); 1965 final Insets decor = insetsState.calculateInsets(displayFrame, 1969 : insetsState.calculateInsets(displayFrame, dc.mWmService.mConfigTypes, 1974 : insetsState.calculateInsets(displayFrame, 1979 : insetsState.calculateInsets(displayFrame, 2589 final Insets insets = source.calculateInsets(df, true /* ignoreVisibility */);
|
D | AbsAppSnapshotController.java | 464 return state.calculateInsets( in getSystemBarInsets()
|
D | RecentsAnimationController.java | 558 .calculateInsets(mTargetActivityRecord.getBounds(), Type.systemBars(), in startAnimation() 1201 final Rect insets = mainWindow.getInsetsStateWithVisibilityOverride().calculateInsets(
|
D | InsetsSourceProvider.java | 320 mInsetsHint = mSource.calculateInsets(bounds, true /* ignoreVisibility */); in getInsetsHint()
|
D | BackNavigationController.java | 1499 ? mainWindow.getInsetsStateWithVisibilityOverride().calculateInsets( in createRemoteAnimationTarget()
|
D | RecentTasks.java | 244 mTmpRect.inset(insetsState.calculateInsets(win.getFrame(),
|
D | DisplayContent.java | 3256 out.inset(state.calculateInsets(out, systemBars(), true /* ignoreVisibility */)); in getStableRect() 3411 dockFrame.inset(state.calculateInsets(dockFrame, systemBars() | displayCutout(), in getInputMethodWindowVisibleHeight() 5864 final Insets gestureInsets = state.calculateInsets(df, systemGestures(), in calculateSystemGestureExclusion()
|
D | ActivityRecord.java | 7942 insets = win.getInsetsStateWithVisibilityOverride().calculateInsets( in loadThumbnailAnimation() 8781 .getRawInsetsState().calculateInsets( in updateResolvedBoundsPosition() 8871 .getRawInsetsState().calculateInsets( in isImmersiveMode() 10981 final Rect insets = mainWindow.getInsetsStateWithVisibilityOverride().calculateInsets(
|
D | WindowState.java | 5702 outInsets.set(state.calculateInsets(outFrame, systemBars(), in getAnimationFrames() 5704 outStableInsets.set(state.calculateInsets(outFrame, systemBars(), in getAnimationFrames()
|
/frameworks/layoutlib/bridge/src/android/view/ |
D | WindowManagerImpl.java | 298 return insetsState.calculateInsets(getCurrentBounds(mContext), in computeWindowInsets()
|
/frameworks/base/libs/WindowManager/Shell/src/com/android/wm/shell/common/ |
D | DisplayLayout.java | 367 final Insets insets = insetsState.calculateInsets( in computeNonDecorInsets()
|
/frameworks/base/core/java/android/service/wallpaper/ |
D | WallpaperService.java | 1352 WindowInsets windowInsets = mInsetsState.calculateInsets(visibleFrame, in updateSurface()
|