Searched refs:occupied (Results 1 - 5 of 5) sorted by relevance

/packages/apps/Launcher2/src/com/android/launcher2/
H A DCellLayout.java203 final boolean[][] occupied = mOccupied;
204 findOccupiedCells(xCount, yCount, occupied, null);
212 cellXY[1] < yCount && !occupied[cellXY[0]][cellXY[1]];
244 final boolean[][] occupied = mOccupied;
245 findOccupiedCells(xCount, yCount, occupied, null);
247 findIntersectingVacantCells(info, info.cellX, info.cellY, xCount, yCount, occupied);
255 int xCount, int yCount, boolean[][] occupied) {
263 if (occupied[x][y]) {
269 findVacantCell(cellInfo.current, xCount, yCount, occupied, cellInfo);
272 private static void findVacantCell(Rect current, int xCount, int yCount, boolean[][] occupied, argument
254 findIntersectingVacantCells(CellInfo cellInfo, int x, int y, int xCount, int yCount, boolean[][] occupied) argument
327 isColumnEmpty(int x, int top, int bottom, boolean[][] occupied) argument
336 isRowEmpty(int y, int left, int right, boolean[][] occupied) argument
775 findVacantCell(int[] vacant, int spanX, int spanY, int xCount, int yCount, boolean[][] occupied) argument
817 findOccupiedCells(int xCount, int yCount, boolean[][] occupied, View ignoreView) argument
1014 findVacantCellsFromOccupied(boolean[] occupied, int xCount, int yCount) argument
[all...]
H A DInstallShortcutReceiver.java90 boolean[][] occupied = new boolean[xCount][yCount];
113 occupied[x][y] = true;
123 return CellLayout.findVacantCell(xy, 1, 1, xCount, yCount, occupied);
H A DLauncherModel.java671 // check & update map of what's occupied; used to discard overlapping/invalid items
672 private boolean checkItemPlacement(ItemInfo occupied[][][], ItemInfo item) { argument
679 if (occupied[item.screen][x][y] != null) {
683 + ") occupied by "
684 + occupied[item.screen][x][y]);
691 occupied[item.screen][x][y] = item;
715 final ItemInfo occupied[][][] = new ItemInfo[Launcher.SCREEN_COUNT][Launcher.NUMBER_CELLS_X][Launcher.NUMBER_CELLS_Y];
791 // check & update map of what's occupied
792 if (!checkItemPlacement(occupied, info)) {
832 // check & update map of what's occupied
[all...]
H A DWorkspace.java394 CellLayout.CellInfo findAllVacantCells(boolean[] occupied) { argument
397 return group.findAllVacantCells(occupied, null);
H A DLauncher.java1315 boolean[] occupied = mSavedState != null ?
1317 cellInfo = mWorkspace.findAllVacantCells(occupied);

Completed in 45 milliseconds