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

/packages/apps/Launcher2/src/com/android/launcher2/
H A DPagedViewCellLayout.java296 public void setGap(int widthGap, int heightGap) { argument
298 mOriginalHeightGap = mHeightGap = heightGap;
299 mChildren.setGap(widthGap, heightGap);
380 // TODO: we need to take heightGap into effect
473 public void setup(int cellWidth, int cellHeight, int widthGap, int heightGap, argument
483 height = myCellVSpan * cellHeight + ((myCellVSpan - 1) * heightGap) -
488 y = vStartPadding + myCellY * (cellHeight + heightGap) + topMargin;
491 y = myCellY * (cellHeight + heightGap) + topMargin;
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 ) {
55 mHeightGap = heightGap;
H A DAppWidgetResizeFrame.java327 int heightGap = landMetrics.bottom;
329 int landHeight = (int) ((spanY * cellHeight + (spanY - 1) * heightGap) / density);
335 heightGap = portMetrics.bottom;
337 int portHeight = (int) ((spanY * cellHeight + (spanY - 1) * heightGap) / density);
H A DCellLayout.java879 int heightGap;
892 heightGap = res.getDimensionPixelSize(R.dimen.workspace_height_gap_land);
902 heightGap = res.getDimensionPixelSize(R.dimen.workspace_height_gap_port);
909 if (widthGap < 0 || heightGap < 0) {
915 heightGap = Math.min(maxGap, numHeightGaps > 0 ? (vFreeSpace / numHeightGaps) : 0);
917 metrics.set(cellWidth, cellHeight, widthGap, heightGap);
2657 final int heightGap = mHeightGap;
2663 int height = cellVSpan * cellHeight + ((cellVSpan - 1) * heightGap);
2666 int y = vStartPadding + cellY * (cellHeight + heightGap);
2944 public void setup(int cellWidth, int cellHeight, int widthGap, int heightGap) { argument
[all...]

Completed in 57 milliseconds