Home
last modified time | relevance | path

Searched refs:occupied (Results 1 – 9 of 9) sorted by relevance

/packages/apps/Launcher/src/com/android/launcher/
DCellLayout.java188 final boolean[][] occupied = mOccupied; in onInterceptTouchEvent()
189 findOccupiedCells(xCount, yCount, occupied, null); in onInterceptTouchEvent()
197 cellXY[1] < yCount && !occupied[cellXY[0]][cellXY[1]]; in onInterceptTouchEvent()
229 final boolean[][] occupied = mOccupied;
230 findOccupiedCells(xCount, yCount, occupied, null);
232 findIntersectingVacantCells(info, info.cellX, info.cellY, xCount, yCount, occupied);
240 int xCount, int yCount, boolean[][] occupied) {
248 if (occupied[x][y]) {
254 findVacantCell(cellInfo.current, xCount, yCount, occupied, cellInfo);
257 private static void findVacantCell(Rect current, int xCount, int yCount, boolean[][] occupied,
[all …]
DInstallShortcutReceiver.java87 boolean[][] occupied = new boolean[xCount][yCount]; in findEmptyCell()
110 occupied[x][y] = true; in findEmptyCell()
120 return CellLayout.findVacantCell(xy, 1, 1, xCount, yCount, occupied); in findEmptyCell()
DWorkspace.java335 CellLayout.CellInfo findAllVacantCells(boolean[] occupied) { in findAllVacantCells() argument
338 return group.findAllVacantCells(occupied, null); in findAllVacantCells()
348 boolean occupied[][] = new boolean[countX][countY]; in findAllVacantCellsFromModel()
349 Launcher.getModel().findAllOccupiedCells(occupied, countX, countY, mCurrentScreen); in findAllVacantCellsFromModel()
350 return group.findAllVacantCellsFromOccupied(occupied, countX, countY); in findAllVacantCellsFromModel()
DLauncherModel.java1138 void findAllOccupiedCells(boolean[][] occupied, int countX, int countY, int screen) { in findAllOccupiedCells() argument
1144 addOccupiedCells(occupied, screen, desktopItems.get(i)); in findAllOccupiedCells()
1152 addOccupiedCells(occupied, screen, desktopAppWidgets.get(i)); in findAllOccupiedCells()
1160 private void addOccupiedCells(boolean[][] occupied, int screen, in addOccupiedCells() argument
1165 occupied[xx][yy] = true; in addOccupiedCells()
DLauncher.java1303 boolean[] occupied = mSavedState != null ? in findSlot()
1305 cellInfo = mWorkspace.findAllVacantCells(occupied); in findSlot()
/packages/apps/Launcher2/src/com/android/launcher2/
DCellLayout.java201 final boolean[][] occupied = mOccupied; in onInterceptTouchEvent()
202 findOccupiedCells(xCount, yCount, occupied, null); in onInterceptTouchEvent()
210 cellXY[1] < yCount && !occupied[cellXY[0]][cellXY[1]]; in onInterceptTouchEvent()
242 final boolean[][] occupied = mOccupied;
243 findOccupiedCells(xCount, yCount, occupied, null);
245 findIntersectingVacantCells(info, info.cellX, info.cellY, xCount, yCount, occupied);
253 int xCount, int yCount, boolean[][] occupied) {
261 if (occupied[x][y]) {
267 findVacantCell(cellInfo.current, xCount, yCount, occupied, cellInfo);
270 private static void findVacantCell(Rect current, int xCount, int yCount, boolean[][] occupied,
[all …]
DInstallShortcutReceiver.java87 boolean[][] occupied = new boolean[xCount][yCount]; in findEmptyCell()
110 occupied[x][y] = true; in findEmptyCell()
120 return CellLayout.findVacantCell(xy, 1, 1, xCount, yCount, occupied); in findEmptyCell()
DWorkspace.java372 CellLayout.CellInfo findAllVacantCells(boolean[] occupied) { in findAllVacantCells() argument
375 return group.findAllVacantCells(occupied, null); in findAllVacantCells()
DLauncher.java1266 boolean[] occupied = mSavedState != null ? in findSlot()
1268 cellInfo = mWorkspace.findAllVacantCells(occupied); in findSlot()