Home
last modified time | relevance | path

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

/packages/apps/Launcher3/src/com/android/launcher3/model/
DGridSizeMigrationTask.java335 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 …]
/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.java977 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() argument
1367 … 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() argument
1808 markCellsForView(r.left, r.top, r.width(), r.height(), occupied, value); in markCellsForRect()
1814 private boolean attemptPushInDirection(ArrayList<View> intersectingViews, Rect occupied, in attemptPushInDirection() argument
1822 if (pushViewsToTempLocation(intersectingViews, occupied, direction, in attemptPushInDirection()
[all …]
DLauncherModel.java409 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() argument
1636 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 …]
DUtilities.java651 int xCount, int yCount, boolean[][] occupied) { in findVacantCell() argument
655 boolean available = !occupied[x][y]; in findVacantCell()
658 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.py107 def render_cell_info(out, cell, occupied): argument
111 elif cell == occupied:
257 occupied = "occupied"
269 screen[j][k] = occupied
278 render_cell_info(out, cell, occupied)
/packages/services/Telephony/src/com/android/phone/common/mail/store/
DImapFolder.java748 public final int occupied; field in ImapFolder.Quota
751 public Quota(int occupied, int total) { in Quota() argument
752 this.occupied = occupied; in Quota()
/packages/services/Telephony/src/com/android/phone/vvm/omtp/imap/
DImapHelper.java395 if (quota.occupied == mQuotaOccupied && quota.total == mQuotaTotal) { in setQuota()
399 mQuotaOccupied = quota.occupied; in setQuota()
/packages/inputmethods/LatinIME/dictionaries/
Den_US_wordlist.combined.gz
Den_GB_wordlist.combined.gz1dictionary=main:en_gb,locale=en_GB,description=English (UK),date ...
Den_wordlist.combined.gz