Home
last modified time | relevance | path

Searched refs:xCount (Results 1 – 3 of 3) sorted by relevance

/packages/apps/Launcher2/src/com/android/launcher2/
DInstallShortcutReceiver.java338 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()
DPagedViewCellLayout.java279 public void setCellCount(int xCount, int yCount) { in setCellCount() argument
280 mCellCountX = xCount; in setCellCount()
DCellLayout.java3058 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()