/packages/apps/Launcher3/src/com/android/launcher3/ |
D | PagedViewCellLayout.java | 279 public void setGap(int widthGap, int heightGap) { in setGap() argument 280 mOriginalWidthGap = mWidthGap = widthGap; in setGap() 282 mChildren.setGap(widthGap, heightGap); in setGap() 457 int cellWidth, int cellHeight, int widthGap, int heightGap, in setup() argument 465 width = myCellHSpan * cellWidth + ((myCellHSpan - 1) * widthGap) - in setup() 471 x = hStartPadding + myCellX * (cellWidth + widthGap) + leftMargin; in setup() 474 x = myCellX * (cellWidth + widthGap) + leftMargin; in setup()
|
D | AppWidgetResizeFrame.java | 355 int widthGap = landMetrics.right; in getWidgetSizeRanges() local 357 int landWidth = (int) ((spanX * cellWidth + (spanX - 1) * widthGap) / density); in getWidgetSizeRanges() 363 widthGap = portMetrics.right; in getWidgetSizeRanges() 365 int portWidth = (int) ((spanX * cellWidth + (spanX - 1) * widthGap) / density); in getWidgetSizeRanges()
|
D | PagedViewCellLayoutChildren.java | 55 public void setGap(int widthGap, int heightGap) { in setGap() argument 56 mWidthGap = widthGap; in setGap()
|
D | ShortcutAndWidgetContainer.java | 54 public void setCellDimensions(int cellWidth, int cellHeight, int widthGap, int heightGap, in setCellDimensions() argument 58 mWidthGap = widthGap; in setCellDimensions()
|
D | CellLayout.java | 2880 final int widthGap = mWidthGap; in cellToRect() local 2886 int width = cellHSpan * cellWidth + ((cellHSpan - 1) * widthGap); in cellToRect() 2889 int x = hStartPadding + cellX * (cellWidth + widthGap); in cellToRect() 3176 public void setup(int cellWidth, int cellHeight, int widthGap, int heightGap, in setup() argument 3188 width = myCellHSpan * cellWidth + ((myCellHSpan - 1) * widthGap) - in setup() 3192 x = (int) (myCellX * (cellWidth + widthGap) + leftMargin); in setup()
|
/packages/apps/Launcher2/src/com/android/launcher2/ |
D | PagedViewCellLayout.java | 285 public void setGap(int widthGap, int heightGap) { in setGap() argument 286 mOriginalWidthGap = mWidthGap = widthGap; in setGap() 288 mChildren.setGap(widthGap, heightGap); in setGap() 462 public void setup(int cellWidth, int cellHeight, int widthGap, int heightGap, in setup() argument 470 width = myCellHSpan * cellWidth + ((myCellHSpan - 1) * widthGap) - in setup() 476 x = hStartPadding + myCellX * (cellWidth + widthGap) + leftMargin; in setup() 479 x = myCellX * (cellWidth + widthGap) + leftMargin; in setup()
|
D | CellLayout.java | 933 int widthGap; in getMetrics() local 946 widthGap = res.getDimensionPixelSize(R.dimen.workspace_width_gap_land); in getMetrics() 956 widthGap = res.getDimensionPixelSize(R.dimen.workspace_width_gap_port); in getMetrics() 964 if (widthGap < 0 || heightGap < 0) { in getMetrics() 969 widthGap = Math.min(maxGap, numWidthGaps > 0 ? (hFreeSpace / numWidthGaps) : 0); in getMetrics() 972 metrics.set(cellWidth, cellHeight, widthGap, heightGap); in getMetrics() 2967 final int widthGap = mWidthGap; in cellToRect() local 2973 int width = cellHSpan * cellWidth + ((cellHSpan - 1) * widthGap); in cellToRect() 2976 int x = hStartPadding + cellX * (cellWidth + widthGap); in cellToRect() 3255 public void setup(int cellWidth, int cellHeight, int widthGap, int heightGap, in setup() argument [all …]
|
D | AppWidgetResizeFrame.java | 358 int widthGap = landMetrics.right; in getWidgetSizeRanges() local 360 int landWidth = (int) ((spanX * cellWidth + (spanX - 1) * widthGap) / density); in getWidgetSizeRanges() 366 widthGap = portMetrics.right; in getWidgetSizeRanges() 368 int portWidth = (int) ((spanX * cellWidth + (spanX - 1) * widthGap) / density); in getWidgetSizeRanges()
|
D | PagedViewCellLayoutChildren.java | 55 public void setGap(int widthGap, int heightGap) { in setGap() argument 56 mWidthGap = widthGap; in setGap()
|
D | ShortcutAndWidgetContainer.java | 51 public void setCellDimensions(int cellWidth, int cellHeight, int widthGap, int heightGap, in setCellDimensions() argument 55 mWidthGap = widthGap; in setCellDimensions()
|