Home
last modified time | relevance | path

Searched refs:leftInset (Results 1 – 9 of 9) sorted by relevance

/frameworks/base/services/core/java/com/android/server/wm/utils/
DWmDisplayCutout.java126 int leftInset = findInsetForSide(displaySize, boundingRects, Gravity.LEFT); in computeSafeInsets() local
128 return new Rect(leftInset, 0, right, 0); in computeSafeInsets()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/
DPhoneStatusBarView.java374 int leftInset = insets.getSystemWindowInsetLeft(); in updateSafeInsets() local
376 if (lp.leftMargin <= leftInset) { in updateSafeInsets()
DHeadsUpAppearanceController.java230 int leftInset = Math.max(sysWinLeft, cutoutLeft); in getRtlTranslation() local
233 return leftInset + mStackScroller.getRight() + rightInset - realDisplaySize; in getRtlTranslation()
DEdgeBackGestureHandler.java498 public void setInsets(int leftInset, int rightInset) { in setInsets() argument
499 mLeftInset = leftInset; in setInsets()
DNavigationBarView.java1145 int leftInset = insets.getSystemWindowInsetLeft(); in onApplyWindowInsets() local
1147 setPadding(leftInset, insets.getSystemWindowInsetTop(), rightInset, in onApplyWindowInsets()
1151 mEdgeBackGestureHandler.setInsets(leftInset, rightInset); in onApplyWindowInsets()
/frameworks/base/services/core/java/com/android/server/wm/
DDockedStackDividerController.java294 final int leftInset = mTmpRect.left; in initSnapAlgorithmForRotations() local
297 config.windowConfiguration.setAppBounds(leftInset /*left*/, topInset /*top*/, in initSnapAlgorithmForRotations()
298 leftInset + appWidth /*right*/, topInset + appHeight /*bottom*/); in initSnapAlgorithmForRotations()
DDisplayContent.java1701 final int leftInset = mTmpRect.left; in computeScreenConfiguration() local
1704 config.windowConfiguration.setAppBounds(leftInset /* left */, topInset /* top */, in computeScreenConfiguration()
1705 leftInset + displayInfo.appWidth /* right */, in computeScreenConfiguration()
/frameworks/base/core/java/com/android/internal/policy/
DDecorView.java1077 public static boolean isNavBarToLeftEdge(int bottomInset, int leftInset) { in isNavBarToLeftEdge() argument
1078 return bottomInset == 0 && leftInset > 0; in isNavBarToLeftEdge()
1081 public static int getNavBarSize(int bottomInset, int rightInset, int leftInset) { in getNavBarSize() argument
1083 : isNavBarToLeftEdge(bottomInset, leftInset) ? leftInset : bottomInset; in getNavBarSize()
1090 final int leftInset = in getNavigationBarRect() local
1094 final int size = getNavBarSize(bottomInset, rightInset, leftInset); in getNavigationBarRect()
1097 } else if (isNavBarToLeftEdge(bottomInset, leftInset)) { in getNavigationBarRect()
/frameworks/base/packages/SystemUI/legacy/recents/src/com/android/systemui/recents/views/
DTaskStackLayoutAlgorithm.java1034 public void getTaskStackBounds(Rect displayRect, Rect windowRect, int topInset, int leftInset, in getTaskStackBounds() argument
1036 taskStackBounds.set(windowRect.left + leftInset, windowRect.top + topInset, in getTaskStackBounds()