Searched refs:countY (Results 1 – 6 of 6) 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()
476 private static boolean isValid(int xPos, int yPos, int countX, int countY) {477 return (0 <= xPos && xPos < countX && 0 <= yPos && yPos < countY);
429 final int countY = mIDP.numRows; in checkItemPlacement() local432 item.cellX + item.spanX > countX || item.cellY + item.spanY > countY) { in checkItemPlacement()436 + ") out of screen bounds ( " + countX + "x" + countY + ")"); in checkItemPlacement()441 GridOccupancy screen = new GridOccupancy(countX + 1, countY + 1); in checkItemPlacement()
564 public static int calculateCellHeight(int height, int countY) { in calculateCellHeight() argument565 return height / countY; in calculateCellHeight()
1112 final int countY = mCountY; in findNearestArea() local1119 for (int y = 0; y < countY - (minSpanY - 1); y++) { in findNearestArea()1155 if (y + ySize > countY - 1 || mOccupied.cells[x + i][y + ySize]) { in findNearestArea()1240 final int countY = mCountY; in findNearestArea() local1242 for (int y = 0; y < countY - (spanY - 1); y++) { in findNearestArea()
57 public void setCellDimensions(int cellWidth, int cellHeight, int countX, int countY) { in setCellDimensions() argument