Searched refs:countY (Results 1 – 5 of 5) sorted by relevance
17 public GridOccupancy(int countX, int countY) { in GridOccupancy() argument19 mCountY = countY; in GridOccupancy()20 cells = new boolean[countX][countY]; in GridOccupancy()
449 final int countY = mIDP.numRows; in checkItemPlacement() local452 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()
66 public void setCellDimensions(int cellWidth, int cellHeight, int countX, int countY, in setCellDimensions() argument71 mCountY = countY; in setCellDimensions()
844 public static int calculateCellHeight(int height, int borderSpacing, int countY) { in calculateCellHeight() argument845 return (height - ((countY - 1) * borderSpacing)) / countY; in calculateCellHeight()
1175 final int countY = mCountY; in findNearestArea() local1182 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() local1305 for (int y = 0; y < countY - (spanY - 1); y++) { in findNearestArea()