Searched refs:dividerSize (Results 1 – 3 of 3) sorted by relevance
/frameworks/base/core/java/com/android/internal/policy/ |
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 | 104 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()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/stackdivider/ |
D | SplitDisplayLayout.java | 228 int dividerSize = DockedDividerUtils.getDividerSize(context.getResources(), in getSmallestWidthDpForBounds() local 243 DividerSnapAlgorithm snap = initSnapAlgorithmForRotation(context, tmpDL, dividerSize); in getSmallestWidthDpForBounds() 251 dividerSize); in getSmallestWidthDpForBounds() 256 tmpDL.width(), tmpDL.height(), dividerSize); in getSmallestWidthDpForBounds() 266 int dividerSize) { in initSnapAlgorithmForRotation() argument 279 rotationContext.getResources(), dl.width(), dl.height(), dividerSize, in initSnapAlgorithmForRotation()
|