Home
last modified time | relevance | path

Searched refs:outInsets (Results 1 – 14 of 14) sorted by relevance

/frameworks/base/libs/WindowManager/Shell/src/com/android/wm/shell/common/
DDisplayLayout.java294 int displayHeight, DisplayCutout displayCutout, int uiMode, Rect outInsets, in computeNonDecorInsets() argument
296 outInsets.setEmpty(); in computeNonDecorInsets()
304 outInsets.bottom = navBarSize; in computeNonDecorInsets()
306 outInsets.right = navBarSize; in computeNonDecorInsets()
308 outInsets.left = navBarSize; in computeNonDecorInsets()
313 outInsets.left += displayCutout.getSafeInsetLeft(); in computeNonDecorInsets()
314 outInsets.top += displayCutout.getSafeInsetTop(); in computeNonDecorInsets()
315 outInsets.right += displayCutout.getSafeInsetRight(); in computeNonDecorInsets()
316 outInsets.bottom += displayCutout.getSafeInsetBottom(); in computeNonDecorInsets()
330 int displayHeight, DisplayCutout displayCutout, int uiMode, Rect outInsets, in computeStableInsets() argument
[all …]
/frameworks/base/services/core/java/com/android/server/wm/utils/
DInsetUtils.java81 @NonNull Rect outInsets) { in insetsBetweenFrames() argument
83 outInsets.setEmpty(); in insetsBetweenFrames()
88 outInsets.set( in insetsBetweenFrames()
/frameworks/base/tests/VoiceInteraction/src/com/android/test/voiceinteraction/
DMainInteractionSession.java340 public void onComputeInsets(Insets outInsets) { in onComputeInsets() argument
341 super.onComputeInsets(outInsets); in onComputeInsets()
343 outInsets.contentInsets.top = mBottomContent.getTop(); in onComputeInsets()
344 outInsets.touchableInsets = Insets.TOUCHABLE_INSETS_CONTENT; in onComputeInsets()
346 outInsets.touchableInsets = Insets.TOUCHABLE_INSETS_CONTENT; in onComputeInsets()
/frameworks/base/services/core/java/com/android/server/wm/
DDisplayPolicy.java2279 DisplayCutout displayCutout, Rect outInsets) {
2280 outInsets.setEmpty();
2283 getNonDecorInsetsLw(displayRotation, displayWidth, displayHeight, displayCutout, outInsets);
2284 convertNonDecorInsetsToStableInsets(outInsets, displayRotation);
2298 DisplayCutout displayCutout, Rect outInsets) {
2299 outInsets.setEmpty();
2306 outInsets.bottom = getNavigationBarHeight(displayRotation, uiMode);
2308 outInsets.right = getNavigationBarWidth(displayRotation, uiMode);
2310 outInsets.left = getNavigationBarWidth(displayRotation, uiMode);
2315 outInsets.left += displayCutout.getSafeInsetLeft();
[all …]
DWindowContainer.java3032 void getAnimationFrames(Rect outFrame, Rect outInsets, Rect outStableInsets, in getAnimationFrames() argument
3036 outInsets.setEmpty(); in getAnimationFrames()
DWindowManagerService.java6839 public void getStableInsets(int displayId, Rect outInsets) throws RemoteException { in getStableInsets() argument
6841 getStableInsetsLocked(displayId, outInsets); in getStableInsets()
6845 void getStableInsetsLocked(int displayId, Rect outInsets) { in getStableInsetsLocked() argument
6846 outInsets.setEmpty(); in getStableInsetsLocked()
6851 di.displayCutout, outInsets); in getStableInsetsLocked()
DTask.java3384 void getAnimationFrames(Rect outFrame, Rect outInsets, Rect outStableInsets, in getAnimationFrames() argument
3388 windowState.getAnimationFrames(outFrame, outInsets, outStableInsets, outSurfaceInsets); in getAnimationFrames()
3390 super.getAnimationFrames(outFrame, outInsets, outStableInsets, outSurfaceInsets); in getAnimationFrames()
DWindowState.java5875 void getAnimationFrames(Rect outFrame, Rect outInsets, Rect outStableInsets, in getAnimationFrames() argument
5899 outInsets.set(state.calculateInsets(outFrame, systemBars(), in getAnimationFrames()
DActivityRecord.java8896 void getAnimationFrames(Rect outFrame, Rect outInsets, Rect outStableInsets, in getAnimationFrames() argument
8902 win.getAnimationFrames(outFrame, outInsets, outStableInsets, outSurfaceInsets); in getAnimationFrames()
/frameworks/base/core/java/android/service/voice/
DVoiceInteractionSession.java1815 public void onComputeInsets(Insets outInsets) { in onComputeInsets() argument
1816 outInsets.contentInsets.left = 0; in onComputeInsets()
1817 outInsets.contentInsets.bottom = 0; in onComputeInsets()
1818 outInsets.contentInsets.right = 0; in onComputeInsets()
1820 outInsets.contentInsets.top = decor.getHeight(); in onComputeInsets()
1821 outInsets.touchableInsets = Insets.TOUCHABLE_INSETS_FRAME; in onComputeInsets()
1822 outInsets.touchableRegion.setEmpty(); in onComputeInsets()
/frameworks/base/core/java/android/inputmethodservice/
DInputMethodService.java1830 public void onComputeInsets(Insets outInsets) { in onComputeInsets() argument
1842 outInsets.contentTopInsets = decor.getHeight(); in onComputeInsets()
1844 outInsets.contentTopInsets = loc[1]; in onComputeInsets()
1849 outInsets.visibleTopInsets = loc[1]; in onComputeInsets()
1850 outInsets.touchableInsets = Insets.TOUCHABLE_INSETS_VISIBLE; in onComputeInsets()
1851 outInsets.touchableRegion.setEmpty(); in onComputeInsets()
/frameworks/base/graphics/java/android/graphics/
DBitmap.java1330 public void getOpticalInsets(@NonNull Rect outInsets) { in getOpticalInsets() argument
1332 outInsets.setEmpty(); in getOpticalInsets()
1334 outInsets.set(mNinePatchInsets.opticalRect); in getOpticalInsets()
/frameworks/base/core/java/android/view/
DIWindowManager.aidl474 void getStableInsets(int displayId, out Rect outInsets); in getStableInsets() argument
/frameworks/base/services/tests/wmtests/src/com/android/server/wm/
DDisplayContentTests.java1366 final Rect outInsets = new Rect(); in testApplyTopFixedRotationTransform() local
1369 mAppWindow.getAnimationFrames(outFrame, outInsets, outStableInsets, outSurfaceInsets); in testApplyTopFixedRotationTransform()