Home
last modified time | relevance | path

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

/packages/apps/Launcher3/src/com/android/launcher3/model/
DMigrateFromRestoreTask.java259 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 …]
/packages/apps/Launcher2/src/com/android/launcher2/
DCellLayout.java1098 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() argument
1378 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 …]
DLauncherModel.java1220 private boolean checkItemPlacement(ItemInfo occupied[][][], ItemInfo item) { in checkItemPlacement() argument
1230 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() local
1393 if (!checkItemPlacement(occupied, info)) { in loadWorkspace()
1439 if (!checkItemPlacement(occupied, folderInfo)) { in loadWorkspace()
[all …]
DInstallShortcutReceiver.java340 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()
/packages/apps/Launcher3/src/com/android/launcher3/
DCellLayout.java940 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() argument
1315 … 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() argument
1756 markCellsForView(r.left, r.top, r.width(), r.height(), occupied, value); in markCellsForRect()
1762 private boolean attemptPushInDirection(ArrayList<View> intersectingViews, Rect occupied, in attemptPushInDirection() argument
1770 if (pushViewsToTempLocation(intersectingViews, occupied, direction, in attemptPushInDirection()
[all …]
DLauncherModel.java412 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() argument
1633 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 …]
DUtilities.java591 int xCount, int yCount, boolean[][] occupied) { in findVacantCell() argument
595 boolean available = !occupied[x][y]; in findVacantCell()
598 available = available && !occupied[i][j]; in findVacantCell()
/packages/apps/Launcher2/
Dprint_db.py74 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/Launcher3/
Dprint_db.py105 def render_cell_info(out, cell, occupied): argument
109 elif cell == occupied:
255 occupied = "occupied"
267 screen[j][k] = occupied
276 render_cell_info(out, cell, occupied)
/packages/inputmethods/LatinIME/dictionaries/
Den_US_wordlist.combined.gz
Den_GB_wordlist.combined.gz
Den_wordlist.combined.gz1dictionary=main:en,locale=en,description=English,date=1414726273, ...