Home
last modified time | relevance | path

Searched refs:dividerSize (Results 1 – 4 of 4) sorted by relevance

/aosp14/frameworks/base/libs/WindowManager/Shell/src/com/android/wm/shell/common/split/
H A DDockedDividerUtils.java36 int displayWidth, int displayHeight, int dividerSize) { in calculateBoundsForPosition() argument
46 outRect.left = position + dividerSize; in calculateBoundsForPosition()
49 outRect.top = position + dividerSize; in calculateBoundsForPosition()
85 public static int calculatePositionForBounds(Rect bounds, int dockSide, int dividerSize) { in calculatePositionForBounds() argument
92 return bounds.left - dividerSize; in calculatePositionForBounds()
94 return bounds.top - dividerSize; in calculatePositionForBounds()
101 int displayWidth, int displayHeight, int dividerSize) { in calculateMiddlePosition() argument
106 return start + (end - start) / 2 - dividerSize / 2; in calculateMiddlePosition()
H A DDividerSnapAlgorithm.java104 public DividerSnapAlgorithm(Resources res, int displayWidth, int displayHeight, int dividerSize, in DividerSnapAlgorithm() argument
106 this(res, displayWidth, displayHeight, dividerSize, isHorizontalDivision, insets, in DividerSnapAlgorithm()
110 public DividerSnapAlgorithm(Resources res, int displayWidth, int displayHeight, int dividerSize, in DividerSnapAlgorithm() argument
112 this(res, displayWidth, displayHeight, dividerSize, isHorizontalDivision, insets, in DividerSnapAlgorithm()
116 public DividerSnapAlgorithm(Resources res, int displayWidth, int displayHeight, int dividerSize, in DividerSnapAlgorithm() argument
123 mDividerSize = dividerSize; in DividerSnapAlgorithm()
/aosp14/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/media/dialog/
H A DMediaOutputControllerTest.java467 int dividerSize = 0; in advanced_categorizeMediaItems_withSuggestedDevice_verifyDeviceListSize() local
473 dividerSize++; in advanced_categorizeMediaItems_withSuggestedDevice_verifyDeviceListSize()
479 assertThat(dividerSize).isEqualTo(2); in advanced_categorizeMediaItems_withSuggestedDevice_verifyDeviceListSize()
/aosp14/frameworks/base/services/core/java/com/android/server/wm/
H A DLetterboxUiController.java1131 int dividerSize = dividerWindowWidth - dividerInsets * 2; in getSplitScreenAspectRatio() local
1134 bounds.inset(/* dx */ dividerSize / 2, /* dy */ 0); in getSplitScreenAspectRatio()
1137 bounds.inset(/* dx */ 0, /* dy */ dividerSize / 2); in getSplitScreenAspectRatio()