Searched defs:heightGap (Results 1 - 8 of 8) 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 DPagedViewCellLayoutChildren.java55 public void setGap(int widthGap, int heightGap) { argument
57 mHeightGap = heightGap;
H A DShortcutAndWidgetContainer.java54 public void setCellDimensions(int cellWidth, int cellHeight, int widthGap, int heightGap, argument
59 mHeightGap = heightGap;
H A DPagedViewCellLayout.java279 public void setGap(int widthGap, int heightGap) { argument
281 mOriginalHeightGap = mHeightGap = heightGap;
282 mChildren.setGap(widthGap, heightGap);
363 // TODO: we need to take heightGap into effect
457 int cellWidth, int cellHeight, int widthGap, int heightGap,
467 height = myCellVSpan * cellHeight + ((myCellVSpan - 1) * heightGap) -
472 y = vStartPadding + myCellY * (cellHeight + heightGap) + topMargin;
475 y = myCellY * (cellHeight + heightGap) + topMargin;
456 setup(Context context, int cellWidth, int cellHeight, int widthGap, int heightGap, int hStartPadding, int vStartPadding) argument
H A DCellLayout.java819 * widthGap/heightGap (right, bottom) */
2881 final int heightGap = mHeightGap;
2887 int height = cellVSpan * cellHeight + ((cellVSpan - 1) * heightGap);
2890 int y = vStartPadding + cellY * (cellHeight + heightGap);
3176 public void setup(int cellWidth, int cellHeight, int widthGap, int heightGap, argument
3190 height = myCellVSpan * cellHeight + ((myCellVSpan - 1) * heightGap) -
3193 y = (int) (myCellY * (cellHeight + heightGap) + topMargin);

Completed in 165 milliseconds