Home
last modified time | relevance | path

Searched refs:itemsToPlace (Results 1 – 2 of 2) sorted by relevance

/packages/apps/Launcher3/src/com/android/launcher3/model/
DGridSizeMigrationTask.java411 private final ArrayList<DbEntry> itemsToPlace;
426 GridOccupancy occupied, ArrayList<DbEntry> itemsToPlace, int startY) {
427 this(occupied, itemsToPlace, startY, false);
430 public OptimalPlacementSolution(GridOccupancy occupied, ArrayList<DbEntry> itemsToPlace,
433 this.itemsToPlace = itemsToPlace;
438 Collections.sort(this.itemsToPlace);
460 } else if (index >= itemsToPlace.size()) {
470 DbEntry me = itemsToPlace.get(index);
596 if (index + 1 < itemsToPlace.size()
597 && itemsToPlace.get(index + 1).weight >= me.weight && !ignoreMove) {
[all …]
DGridSizeMigrationTaskV2.java368 Context context, int screenId, int trgX, int trgY, List<DbEntry> itemsToPlace) { in GridPlacementSolution() argument
385 mItemsToPlace = itemsToPlace; in GridPlacementSolution()
446 List<DbEntry> itemsToPlace) { in HotseatPlacementSolution() argument
455 mItemsToPlace = itemsToPlace; in HotseatPlacementSolution()