Searched refs:xCount (Results 1 – 5 of 5) sorted by relevance
/packages/apps/Launcher2/src/com/android/launcher2/ |
D | InstallShortcutReceiver.java | 338 final int xCount = LauncherModel.getCellCountX(); in findEmptyCell() local 340 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()
|
D | PagedViewCellLayout.java | 279 public void setCellCount(int xCount, int yCount) { in setCellCount() argument 280 mCellCountX = xCount; in setCellCount()
|
D | CellLayout.java | 3058 int xCount, int yCount, boolean[][] occupied) { in findVacantCell() argument 3061 for (int x = 0; x < xCount; x++) { in findVacantCell() 3063 out: for (int i = x; i < x + spanX - 1 && x < xCount; i++) { in findVacantCell()
|
/packages/apps/Launcher3/src/com/android/launcher3/ |
D | Utilities.java | 591 int xCount, int yCount, boolean[][] occupied) { in findVacantCell() argument 594 for (int x = 0; (x + spanX) <= xCount; x++) { in findVacantCell()
|
D | LauncherModel.java | 410 final int xCount = (int) profile.numColumns; in findNextAvailableIconSpaceInScreen() local 412 boolean[][] occupied = new boolean[xCount][yCount]; in findNextAvailableIconSpaceInScreen() 417 for (int x = r.cellX; 0 <= x && x < right && x < xCount; x++) { in findNextAvailableIconSpaceInScreen() 424 return Utilities.findVacantCell(xy, spanX, spanY, xCount, yCount, occupied); in findNextAvailableIconSpaceInScreen()
|