Searched refs:borderSpacing (Results 1 – 4 of 4) sorted by relevance
/packages/apps/Launcher3/src/com/android/launcher3/ |
D | InvariantDeviceProfile.java | 111 public float borderSpacing; field in InvariantDeviceProfile 176 borderSpacing = p.borderSpacing; in InvariantDeviceProfile() 244 result.borderSpacing = defaultDisplayOption.borderSpacing; in InvariantDeviceProfile() 302 borderSpacing = displayOption.borderSpacing; in initGrid() 666 private float borderSpacing; field in InvariantDeviceProfile.DisplayOption 689 borderSpacing = a.getFloat(R.styleable.ProfileDisplayOption_borderSpacingDps, 0); in DisplayOption() 716 borderSpacing = 0; in DisplayOption() 728 borderSpacing *= w; in multiply() 741 borderSpacing += p.borderSpacing; in add()
|
D | DeviceProfile.java | 287 setCellLayoutBorderSpacing(pxFromDp(inv.borderSpacing, mMetrics, 1f)); in DeviceProfile() 436 private void setCellLayoutBorderSpacing(int borderSpacing) { 437 cellLayoutBorderSpacingPx = isScalableGrid ? borderSpacing : 0; 688 int borderSpacing = (int) (cellLayoutBorderSpacingOriginalPx * scale); in updateFolderCellSize() local 689 folderCellLayoutBorderSpacingPx = borderSpacing; in updateFolderCellSize() 690 folderContentPaddingLeftRight = borderSpacing; in updateFolderCellSize() 691 folderContentPaddingTop = borderSpacing; in updateFolderCellSize() 841 public static int calculateCellWidth(int width, int borderSpacing, int countX) { in calculateCellWidth() argument 842 return (width - ((countX - 1) * borderSpacing)) / countX; in calculateCellWidth() 844 public static int calculateCellHeight(int height, int borderSpacing, int countY) { in calculateCellHeight() argument [all …]
|
D | ShortcutAndWidgetContainer.java | 67 int borderSpacing) { in setCellDimensions() argument 72 mBorderSpacing = borderSpacing; in setCellDimensions()
|
D | CellLayout.java | 2745 int rowCount, int borderSpacing, @Nullable Rect inset) { in setup() argument 2747 borderSpacing, inset); in setup() 2758 int rowCount, float cellScaleX, float cellScaleY, int borderSpacing, in setup() argument 2770 int hBorderSpacing = (myCellHSpan - 1) * borderSpacing; in setup() 2771 int vBorderSpacing = (myCellVSpan - 1) * borderSpacing; in setup() 2778 x = leftMargin + (myCellX * cellWidth) + (myCellX * borderSpacing); in setup() 2779 y = topMargin + (myCellY * cellHeight) + (myCellY * borderSpacing); in setup()
|