Searched defs:heightGap (Results 1 - 6 of 6) sorted by relevance

/packages/apps/Launcher2/src/com/android/launcher2/
H A DPagedViewCellLayoutChildren.java55 public void setGap(int widthGap, int heightGap) { argument
57 mHeightGap = heightGap;
H A DShortcutAndWidgetContainer.java51 public void setCellDimensions(int cellWidth, int cellHeight, int widthGap, int heightGap, argument
56 mHeightGap = heightGap;
H A DPagedViewCellLayout.java285 public void setGap(int widthGap, int heightGap) { argument
287 mOriginalHeightGap = mHeightGap = heightGap;
288 mChildren.setGap(widthGap, heightGap);
369 // TODO: we need to take heightGap into effect
462 public void setup(int cellWidth, int cellHeight, int widthGap, int heightGap, argument
472 height = myCellVSpan * cellHeight + ((myCellVSpan - 1) * heightGap) -
477 y = vStartPadding + myCellY * (cellHeight + heightGap) + topMargin;
480 y = myCellY * (cellHeight + heightGap) + topMargin;
H A DCellLayout.java934 int heightGap;
947 heightGap = res.getDimensionPixelSize(R.dimen.workspace_height_gap_land);
957 heightGap = res.getDimensionPixelSize(R.dimen.workspace_height_gap_port);
964 if (widthGap < 0 || heightGap < 0) {
970 heightGap = Math.min(maxGap, numHeightGaps > 0 ? (vFreeSpace / numHeightGaps) : 0);
972 metrics.set(cellWidth, cellHeight, widthGap, heightGap);
2968 final int heightGap = mHeightGap;
2974 int height = cellVSpan * cellHeight + ((cellVSpan - 1) * heightGap);
2977 int y = vStartPadding + cellY * (cellHeight + heightGap);
3255 public void setup(int cellWidth, int cellHeight, int widthGap, int heightGap, argument
[all...]
/packages/apps/Launcher3/src/com/android/launcher3/
H A DShortcutAndWidgetContainer.java58 public void setCellDimensions(int cellWidth, int cellHeight, int widthGap, int heightGap, argument
63 mHeightGap = heightGap;
H A DCellLayout.java2670 final int heightGap = mHeightGap;
2676 int height = cellVSpan * cellHeight + ((cellVSpan - 1) * heightGap);
2679 int y = vStartPadding + cellY * (cellHeight + heightGap);
2900 public void setup(int cellWidth, int cellHeight, int widthGap, int heightGap, argument
2914 height = myCellVSpan * cellHeight + ((myCellVSpan - 1) * heightGap) -
2917 y = (int) (myCellY * (cellHeight + heightGap) + topMargin);

Completed in 29 milliseconds