Searched refs:occupied (Results 1 – 14 of 14) sorted by relevance
335 boolean[][] occupied = new boolean[mTrgX][mTrgY];337 markCells(occupied, item, true);340 OptimalPlacementSolution placement = new OptimalPlacementSolution(occupied,375 boolean[][] occupied = new boolean[mTrgX][mTrgY];393 markCells(occupied, item, true);397 OptimalPlacementSolution placement = new OptimalPlacementSolution(occupied, removedItems);405 private void markCells(boolean[][] occupied, DbEntry item, boolean val) {408 occupied[i][j] = val;413 private boolean isVacant(boolean[][] occupied, int x, int y, int w, int h) {419 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()
977 boolean[][] occupied = mOccupied; in animateChildToPosition()979 occupied = mTmpOccupied; in animateChildToPosition()995 occupied[lp.cellX][lp.cellY] = false; in animateChildToPosition()996 occupied[cellX][cellY] = true; in animateChildToPosition()1352 boolean[][] occupied, boolean blockOccupied[][], int[] result) { in findNearestArea() argument1367 … if (occupied[x + i][y + j] && (blockOccupied == null || blockOccupied[i][j])) { in findNearestArea()1807 private void markCellsForRect(Rect r, boolean[][] occupied, boolean value) { in markCellsForRect() argument1808 markCellsForView(r.left, r.top, r.width(), r.height(), occupied, value); in markCellsForRect()1814 private boolean attemptPushInDirection(ArrayList<View> intersectingViews, Rect occupied, in attemptPushInDirection() argument1822 if (pushViewsToTempLocation(intersectingViews, occupied, direction, in attemptPushInDirection()[all …]
409 boolean[][] occupied = new boolean[xCount][yCount]; in findNextAvailableIconSpaceInScreen()416 occupied[x][y] = true; in findNextAvailableIconSpaceInScreen()421 return Utilities.findVacantCell(xy, spanX, spanY, xCount, yCount, occupied); in findNextAvailableIconSpaceInScreen()1617 private boolean checkItemPlacement(LongArrayMap<ItemInfo[][]> occupied, ItemInfo item, in checkItemPlacement() argument1636 occupied.get((long) LauncherSettings.Favorites.CONTAINER_HOTSEAT); in checkItemPlacement()1651 + occupied.get(LauncherSettings.Favorites.CONTAINER_HOTSEAT) in checkItemPlacement()1661 occupied.put((long) LauncherSettings.Favorites.CONTAINER_HOTSEAT, items); in checkItemPlacement()1674 if (!occupied.containsKey(item.screenId)) { in checkItemPlacement()1676 occupied.put(item.screenId, items); in checkItemPlacement()1679 final ItemInfo[][] screens = occupied.get(item.screenId); in checkItemPlacement()[all …]
651 int xCount, int yCount, boolean[][] occupied) { in findVacantCell() argument655 boolean available = !occupied[x][y]; in findVacantCell()658 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)
107 def render_cell_info(out, cell, occupied): argument111 elif cell == occupied:257 occupied = "occupied"269 screen[j][k] = occupied278 render_cell_info(out, cell, occupied)
748 public final int occupied; field in ImapFolder.Quota751 public Quota(int occupied, int total) { in Quota() argument752 this.occupied = occupied; in Quota()
395 if (quota.occupied == mQuotaOccupied && quota.total == mQuotaTotal) { in setQuota()399 mQuotaOccupied = quota.occupied; in setQuota()
1dictionary=main:en_gb,locale=en_GB,description=English (UK),date ...