Home
last modified time | relevance | path

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

/packages/apps/Launcher3/src/com/android/launcher3/util/
DGridOccupancy.java17 public GridOccupancy(int countX, int countY) { in GridOccupancy() argument
19 mCountY = countY; in GridOccupancy()
20 cells = new boolean[countX][countY]; in GridOccupancy()
/packages/apps/Launcher3/src/com/android/launcher3/model/
DLoaderCursor.java449 final int countY = mIDP.numRows; in checkItemPlacement() local
452 item.cellX + item.spanX > countX || item.cellY + item.spanY > countY) { in checkItemPlacement()
456 + ") out of screen bounds ( " + countX + "x" + countY + ")"); in checkItemPlacement()
461 GridOccupancy screen = new GridOccupancy(countX + 1, countY + 1); in checkItemPlacement()
/packages/apps/Launcher3/src/com/android/launcher3/
DShortcutAndWidgetContainer.java66 public void setCellDimensions(int cellWidth, int cellHeight, int countX, int countY, in setCellDimensions() argument
71 mCountY = countY; in setCellDimensions()
DDeviceProfile.java844 public static int calculateCellHeight(int height, int borderSpacing, int countY) { in calculateCellHeight() argument
845 return (height - ((countY - 1) * borderSpacing)) / countY; in calculateCellHeight()
DCellLayout.java1175 final int countY = mCountY; in findNearestArea() local
1182 for (int y = 0; y < countY - (minSpanY - 1); y++) { in findNearestArea()
1218 if (y + ySize > countY - 1 || mOccupied.cells[x + i][y + ySize]) { in findNearestArea()
1303 final int countY = mCountY; in findNearestArea() local
1305 for (int y = 0; y < countY - (spanY - 1); y++) { in findNearestArea()