Searched refs:dividerSize (Results 1 – 5 of 5) sorted by relevance
/frameworks/base/libs/WindowManager/Shell/src/com/android/wm/shell/common/split/ |
D | DockedDividerUtils.java | 36 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()
|
D | DividerSnapAlgorithm.java | 117 public DividerSnapAlgorithm(Resources res, int displayWidth, int displayHeight, int dividerSize, in DividerSnapAlgorithm() argument 119 this(res, displayWidth, displayHeight, dividerSize, isHorizontalDivision, insets, in DividerSnapAlgorithm() 123 public DividerSnapAlgorithm(Resources res, int displayWidth, int displayHeight, int dividerSize, in DividerSnapAlgorithm() argument 125 this(res, displayWidth, displayHeight, dividerSize, isHorizontalDivision, insets, in DividerSnapAlgorithm() 129 public DividerSnapAlgorithm(Resources res, int displayWidth, int displayHeight, int dividerSize, in DividerSnapAlgorithm() argument 136 mDividerSize = dividerSize; in DividerSnapAlgorithm()
|
D | DividerView.java | 300 int dividerSize = getResources().getDimensionPixelSize(R.dimen.split_divider_bar_width); in onLayout() local 301 left = isHorizontalSplit ? (getWidth() - dividerSize) / 2 : 0; in onLayout() 302 top = isHorizontalSplit ? 0 : (getHeight() - dividerSize) / 2; in onLayout() 303 right = isHorizontalSplit ? left + dividerSize : getWidth(); in onLayout() 304 bottom = isHorizontalSplit ? getHeight() : top + dividerSize; in onLayout()
|
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/media/dialog/ |
D | MediaOutputControllerTest.java | 528 int dividerSize = 0; in advanced_categorizeMediaItems_withSuggestedDevice_verifyDeviceListSize() local 534 dividerSize++; in advanced_categorizeMediaItems_withSuggestedDevice_verifyDeviceListSize() 540 assertThat(dividerSize).isEqualTo(2); in advanced_categorizeMediaItems_withSuggestedDevice_verifyDeviceListSize()
|
/frameworks/base/services/core/java/com/android/server/wm/ |
D | LetterboxUiController.java | 1078 int dividerSize = dividerWindowWidth - dividerInsets * 2; in getSplitScreenAspectRatio() local 1081 bounds.inset(/* dx */ dividerSize / 2, /* dy */ 0); in getSplitScreenAspectRatio() 1084 bounds.inset(/* dx */ 0, /* dy */ dividerSize / 2); in getSplitScreenAspectRatio()
|