Home
last modified time | relevance | path

Searched refs:heightGap (Results 1 – 5 of 5) sorted by relevance

/packages/apps/Launcher2/src/com/android/launcher2/
DPagedViewCellLayout.java285 public void setGap(int widthGap, int heightGap) { in setGap() argument
287 mOriginalHeightGap = mHeightGap = heightGap; in setGap()
288 mChildren.setGap(widthGap, heightGap); in setGap()
462 public void setup(int cellWidth, int cellHeight, int widthGap, int heightGap, in setup() argument
472 height = myCellVSpan * cellHeight + ((myCellVSpan - 1) * heightGap) - in setup()
477 y = vStartPadding + myCellY * (cellHeight + heightGap) + topMargin; in setup()
480 y = myCellY * (cellHeight + heightGap) + topMargin; in setup()
DAppWidgetResizeFrame.java359 int heightGap = landMetrics.bottom; in getWidgetSizeRanges() local
361 int landHeight = (int) ((spanY * cellHeight + (spanY - 1) * heightGap) / density); in getWidgetSizeRanges()
367 heightGap = portMetrics.bottom; in getWidgetSizeRanges()
369 int portHeight = (int) ((spanY * cellHeight + (spanY - 1) * heightGap) / density); in getWidgetSizeRanges()
DCellLayout.java934 int heightGap; in getMetrics() local
947 heightGap = res.getDimensionPixelSize(R.dimen.workspace_height_gap_land); in getMetrics()
957 heightGap = res.getDimensionPixelSize(R.dimen.workspace_height_gap_port); in getMetrics()
964 if (widthGap < 0 || heightGap < 0) { in getMetrics()
970 heightGap = Math.min(maxGap, numHeightGaps > 0 ? (vFreeSpace / numHeightGaps) : 0); in getMetrics()
972 metrics.set(cellWidth, cellHeight, widthGap, heightGap); in getMetrics()
2968 final int heightGap = mHeightGap; in cellToRect() local
2974 int height = cellVSpan * cellHeight + ((cellVSpan - 1) * heightGap); in cellToRect()
2977 int y = vStartPadding + cellY * (cellHeight + heightGap); in cellToRect()
3255 public void setup(int cellWidth, int cellHeight, int widthGap, int heightGap, in setup() argument
[all …]
DPagedViewCellLayoutChildren.java55 public void setGap(int widthGap, int heightGap) { in setGap() argument
57 mHeightGap = heightGap; in setGap()
DShortcutAndWidgetContainer.java51 public void setCellDimensions(int cellWidth, int cellHeight, int widthGap, int heightGap, in setCellDimensions() argument
56 mHeightGap = heightGap; in setCellDimensions()