Searched refs:xCount (Results 1 – 3 of 3) sorted by relevance
338 final int xCount = LauncherModel.getCellCountX(); in findEmptyCell() local340 boolean[][] occupied = new boolean[xCount][yCount]; in findEmptyCell()352 for (int x = cellX; 0 <= x && x < cellX + spanX && x < xCount; x++) { in findEmptyCell()361 return CellLayout.findVacantCell(xy, 1, 1, xCount, yCount, occupied); in findEmptyCell()
279 public void setCellCount(int xCount, int yCount) { in setCellCount() argument280 mCellCountX = xCount; in setCellCount()
3058 int xCount, int yCount, boolean[][] occupied) { in findVacantCell() argument3061 for (int x = 0; x < xCount; x++) { in findVacantCell()3063 out: for (int i = x; i < x + spanX - 1 && x < xCount; i++) { in findVacantCell()