Home
last modified time | relevance | path

Searched refs:calculateInsets (Results 1 – 25 of 28) sorted by relevance

12

/frameworks/base/core/tests/coretests/src/android/view/
DInsetsSourceTest.java71 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 …]
DInsetsStateTest.java108 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 …]
DImeInsetsSourceConsumerTest.java86 mController.calculateInsets( in setup()
DInsetsControllerTest.java175 mController.calculateInsets( in setup()
/frameworks/base/core/java/android/view/
DInsetsAnimationControlImpl.java136 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
DWindowLayout.java79 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()
DInsetsSource.java220 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
DInsetsState.java120 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()
DInsetsResizeAnimationRunner.java68 final Insets fromInsets = fromState.calculateInsets( in InsetsResizeAnimationRunner()
70 final Insets toInsets = toState.calculateInsets( in InsetsResizeAnimationRunner()
DInsetsController.java812 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/
DInsetsSourceProviderTest.java249 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/
DWindowMetricsController.java123 return insetsState.calculateInsets(bounds, null /* ignoringVisibilityState */, in getWindowInsetsFromServerForDisplay()
DSnapshotDrawerUtils.java460 return state.calculateInsets(frame, WindowInsets.Type.systemBars(), in getSystemBarInsets()
/frameworks/base/services/core/java/com/android/server/wm/
DDisplayPolicy.java454 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 */);
DAbsAppSnapshotController.java464 return state.calculateInsets( in getSystemBarInsets()
DRecentsAnimationController.java558 .calculateInsets(mTargetActivityRecord.getBounds(), Type.systemBars(), in startAnimation()
1201 final Rect insets = mainWindow.getInsetsStateWithVisibilityOverride().calculateInsets(
DInsetsSourceProvider.java320 mInsetsHint = mSource.calculateInsets(bounds, true /* ignoreVisibility */); in getInsetsHint()
DBackNavigationController.java1499 ? mainWindow.getInsetsStateWithVisibilityOverride().calculateInsets( in createRemoteAnimationTarget()
DRecentTasks.java244 mTmpRect.inset(insetsState.calculateInsets(win.getFrame(),
DDisplayContent.java3256 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()
DActivityRecord.java7942 insets = win.getInsetsStateWithVisibilityOverride().calculateInsets( in loadThumbnailAnimation()
8781 .getRawInsetsState().calculateInsets( in updateResolvedBoundsPosition()
8871 .getRawInsetsState().calculateInsets( in isImmersiveMode()
10981 final Rect insets = mainWindow.getInsetsStateWithVisibilityOverride().calculateInsets(
DWindowState.java5702 outInsets.set(state.calculateInsets(outFrame, systemBars(), in getAnimationFrames()
5704 outStableInsets.set(state.calculateInsets(outFrame, systemBars(), in getAnimationFrames()
/frameworks/layoutlib/bridge/src/android/view/
DWindowManagerImpl.java298 return insetsState.calculateInsets(getCurrentBounds(mContext), in computeWindowInsets()
/frameworks/base/libs/WindowManager/Shell/src/com/android/wm/shell/common/
DDisplayLayout.java367 final Insets insets = insetsState.calculateInsets( in computeNonDecorInsets()
/frameworks/base/core/java/android/service/wallpaper/
DWallpaperService.java1352 WindowInsets windowInsets = mInsetsState.calculateInsets(visibleFrame, in updateSurface()

12