Searched refs:occupied (Results 1 – 4 of 4) sorted by relevance
/packages/apps/Launcher2/ |
D | print_db.py | 74 def render_cell_info(out, cell, occupied): argument 78 elif cell == occupied: 194 occupied = "occupied" 206 screen[j][k] = occupied 215 render_cell_info(out, cell, occupied)
|
/packages/apps/Launcher2/src/com/android/launcher2/ |
D | CellLayout.java | 1042 boolean[][] occupied = mOccupied; in animateChildToPosition() 1044 occupied = mTmpOccupied; in animateChildToPosition() 1060 occupied[lp.cellX][lp.cellY] = false; in animateChildToPosition() 1061 occupied[cellX][cellY] = true; in animateChildToPosition() 1319 boolean[][] occupied) { in findNearestArea() argument 1322 markCellsAsUnoccupiedForView(ignoreView, occupied); in findNearestArea() 1353 if (occupied[x + i][y + j]) { in findNearestArea() 1370 if (x + xSize > countX -1 || occupied[x + xSize][y + j]) { in findNearestArea() 1380 if (y + ySize > countY - 1 || occupied[x + i][y + ySize]) { in findNearestArea() 1430 markCellsAsOccupiedForView(ignoreView, occupied); in findNearestArea() [all …]
|
D | InstallShortcutReceiver.java | 229 boolean[][] occupied = new boolean[xCount][yCount]; in findEmptyCell() 243 occupied[x][y] = true; in findEmptyCell() 250 return CellLayout.findVacantCell(xy, 1, 1, xCount, yCount, occupied); in findEmptyCell()
|
D | LauncherModel.java | 953 private boolean checkItemPlacement(ItemInfo occupied[][][], ItemInfo item) { in checkItemPlacement() argument 963 if (occupied[Launcher.SCREEN_COUNT][item.screen][0] != null) { in checkItemPlacement() 966 + ") occupied by " + occupied[Launcher.SCREEN_COUNT][item.screen][0]); in checkItemPlacement() 969 occupied[Launcher.SCREEN_COUNT][item.screen][0] = item; in checkItemPlacement() 980 if (occupied[containerIndex][x][y] != null) { in checkItemPlacement() 985 + occupied[containerIndex][x][y]); in checkItemPlacement() 992 occupied[containerIndex][x][y] = item; in checkItemPlacement() 1025 final ItemInfo occupied[][][] = in loadWorkspace() local 1112 if (!checkItemPlacement(occupied, info)) { in loadWorkspace() 1158 if (!checkItemPlacement(occupied, folderInfo)) { in loadWorkspace() [all …]
|