Home
last modified time | relevance | path

Searched refs:inOutInsets (Results 1 – 3 of 3) sorted by relevance

/frameworks/base/services/core/java/com/android/server/wm/utils/
DInsetUtils.java40 public static void rotateInsets(Rect inOutInsets, int rotationDelta) { in rotateInsets() argument
41 final Rect r = inOutInsets; in rotateInsets()
62 public static void addInsets(Rect inOutInsets, Rect insetsToAdd) { in addInsets() argument
63 inOutInsets.left += insetsToAdd.left; in addInsets()
64 inOutInsets.top += insetsToAdd.top; in addInsets()
65 inOutInsets.right += insetsToAdd.right; in addInsets()
66 inOutInsets.bottom += insetsToAdd.bottom; in addInsets()
/frameworks/base/packages/SystemUI/legacy/recents/src/com/android/systemui/recents/
DRecentsImpl.java836 private void calculateWindowStableInsets(Rect inOutInsets, Rect windowRect, Rect displayRect) { in calculateWindowStableInsets() argument
840 appRect.inset(inOutInsets); in calculateWindowStableInsets()
845 inOutInsets.left = windowRectWithInsets.left - windowRect.left; in calculateWindowStableInsets()
846 inOutInsets.top = windowRectWithInsets.top - windowRect.top; in calculateWindowStableInsets()
847 inOutInsets.right = windowRect.right - windowRectWithInsets.right; in calculateWindowStableInsets()
848 inOutInsets.bottom = windowRect.bottom - windowRectWithInsets.bottom; in calculateWindowStableInsets()
/frameworks/base/services/core/java/com/android/server/wm/
DDisplayPolicy.java2934 void convertNonDecorInsetsToStableInsets(Rect inOutInsets, int rotation) { in convertNonDecorInsetsToStableInsets() argument
2935 inOutInsets.top = Math.max(inOutInsets.top, mStatusBarHeightForRotation[rotation]); in convertNonDecorInsetsToStableInsets()