Searched refs:occupied (Results 1 – 12 of 12) sorted by relevance
259 boolean[][] occupied = new boolean[mTrgX][mTrgY];261 markCells(occupied, item, true);264 OptimalPlacementSolution placement = new OptimalPlacementSolution(occupied,299 boolean[][] occupied = new boolean[mTrgX][mTrgY];317 markCells(occupied, item, true);321 OptimalPlacementSolution placement = new OptimalPlacementSolution(occupied, removedItems);329 @Thunk void markCells(boolean[][] occupied, DbEntry item, boolean val) {332 occupied[i][j] = val;337 @Thunk boolean isVacant(boolean[][] occupied, int x, int y, int w, int h) {343 if (occupied[i + x][j + y]) {[all …]
1098 boolean[][] occupied = mOccupied; in animateChildToPosition()1100 occupied = mTmpOccupied; in animateChildToPosition()1116 occupied[lp.cellX][lp.cellY] = false; in animateChildToPosition()1117 occupied[cellX][cellY] = true; in animateChildToPosition()1375 boolean[][] occupied) { in findNearestArea() argument1378 markCellsAsUnoccupiedForView(ignoreView, occupied); in findNearestArea()1409 if (occupied[x + i][y + j]) { in findNearestArea()1426 if (x + xSize > countX -1 || occupied[x + xSize][y + j]) { in findNearestArea()1436 if (y + ySize > countY - 1 || occupied[x + i][y + ySize]) { in findNearestArea()1486 markCellsAsOccupiedForView(ignoreView, occupied); in findNearestArea()[all …]
1220 private boolean checkItemPlacement(ItemInfo occupied[][][], ItemInfo item) { in checkItemPlacement() argument1230 if (occupied[Launcher.SCREEN_COUNT][item.screen][0] != null) { in checkItemPlacement()1233 + ") occupied by " + occupied[Launcher.SCREEN_COUNT][item.screen][0]); in checkItemPlacement()1236 occupied[Launcher.SCREEN_COUNT][item.screen][0] = item; in checkItemPlacement()1247 if (occupied[containerIndex][x][y] != null) { in checkItemPlacement()1252 + occupied[containerIndex][x][y]); in checkItemPlacement()1259 occupied[containerIndex][x][y] = item; in checkItemPlacement()1293 final ItemInfo occupied[][][] = in loadWorkspace() local1393 if (!checkItemPlacement(occupied, info)) { in loadWorkspace()1439 if (!checkItemPlacement(occupied, folderInfo)) { in loadWorkspace()[all …]
340 boolean[][] occupied = new boolean[xCount][yCount]; in findEmptyCell()354 occupied[x][y] = true; in findEmptyCell()361 return CellLayout.findVacantCell(xy, 1, 1, xCount, yCount, occupied); in findEmptyCell()
940 boolean[][] occupied = mOccupied; in animateChildToPosition()942 occupied = mTmpOccupied; in animateChildToPosition()958 occupied[lp.cellX][lp.cellY] = false; in animateChildToPosition()959 occupied[cellX][cellY] = true; in animateChildToPosition()1300 boolean[][] occupied, boolean blockOccupied[][], int[] result) { in findNearestArea() argument1315 … if (occupied[x + i][y + j] && (blockOccupied == null || blockOccupied[i][j])) { in findNearestArea()1755 private void markCellsForRect(Rect r, boolean[][] occupied, boolean value) { in markCellsForRect() argument1756 markCellsForView(r.left, r.top, r.width(), r.height(), occupied, value); in markCellsForRect()1762 private boolean attemptPushInDirection(ArrayList<View> intersectingViews, Rect occupied, in attemptPushInDirection() argument1770 if (pushViewsToTempLocation(intersectingViews, occupied, direction, in attemptPushInDirection()[all …]
412 boolean[][] occupied = new boolean[xCount][yCount]; in findNextAvailableIconSpaceInScreen()419 occupied[x][y] = true; in findNextAvailableIconSpaceInScreen()424 return Utilities.findVacantCell(xy, spanX, spanY, xCount, yCount, occupied); in findNextAvailableIconSpaceInScreen()1614 private boolean checkItemPlacement(LongArrayMap<ItemInfo[][]> occupied, ItemInfo item, in checkItemPlacement() argument1633 occupied.get((long) LauncherSettings.Favorites.CONTAINER_HOTSEAT); in checkItemPlacement()1648 + occupied.get(LauncherSettings.Favorites.CONTAINER_HOTSEAT) in checkItemPlacement()1658 occupied.put((long) LauncherSettings.Favorites.CONTAINER_HOTSEAT, items); in checkItemPlacement()1671 if (!occupied.containsKey(item.screenId)) { in checkItemPlacement()1673 occupied.put(item.screenId, items); in checkItemPlacement()1676 final ItemInfo[][] screens = occupied.get(item.screenId); in checkItemPlacement()[all …]
591 int xCount, int yCount, boolean[][] occupied) { in findVacantCell() argument595 boolean available = !occupied[x][y]; in findVacantCell()598 available = available && !occupied[i][j]; in findVacantCell()
74 def render_cell_info(out, cell, occupied): argument78 elif cell == occupied:194 occupied = "occupied"206 screen[j][k] = occupied215 render_cell_info(out, cell, occupied)
105 def render_cell_info(out, cell, occupied): argument109 elif cell == occupied:255 occupied = "occupied"267 screen[j][k] = occupied276 render_cell_info(out, cell, occupied)
1dictionary=main:en,locale=en,description=English,date=1414726273, ...