Lines Matching refs:occupied
228 boolean[][] occupied = new boolean[xCount][yCount];
241 occupied[x][y] = true;
248 return CellLayout.findVacantCell(xy, 1, 1, xCount, yCount, occupied);
1522 // check & update map of what's occupied; used to discard overlapping/invalid items
1523 private boolean checkItemPlacement(HashMap<Long, ItemInfo[][]> occupied, ItemInfo item,
1539 if (occupied.containsKey(LauncherSettings.Favorites.CONTAINER_HOTSEAT)) {
1540 if (occupied.get(LauncherSettings.Favorites.CONTAINER_HOTSEAT)
1544 + item.cellY + ") occupied by "
1545 + occupied.get(LauncherSettings.Favorites.CONTAINER_HOTSEAT)
1552 occupied.put((long) LauncherSettings.Favorites.CONTAINER_HOTSEAT, items);
1560 if (!occupied.containsKey(item.screenId)) {
1562 occupied.put(item.screenId, items);
1565 ItemInfo[][] screens = occupied.get(item.screenId);
1573 + ") occupied by "
1632 final HashMap<Long, ItemInfo[][]> occupied = new HashMap<Long, ItemInfo[][]>();
1746 // check & update map of what's occupied
1748 if (!checkItemPlacement(occupied, info, deleteOnItemOverlap)) {
1798 // check & update map of what's occupied
1800 if (!checkItemPlacement(occupied, folderInfo,
1865 // check & update map of what's occupied
1867 if (!checkItemPlacement(occupied, appWidgetInfo,
1973 int nScreens = occupied.size();
1977 Iterator<Long> iter = occupied.keySet().iterator();
1984 line += ((occupied.get(screenId)[x][y] != null) ? "#" : ".");