Home
last modified time | relevance | path

Searched refs:GridOccupancy (Results 1 – 7 of 7) sorted by relevance

/packages/apps/Launcher3/robolectric_tests/src/com/android/launcher3/util/
DGridOccupancyTest.java19 GridOccupancy grid = initGrid(4, in testFindVacantCell()
40 GridOccupancy grid = initGrid(4, in testIsRegionVacant()
55 private GridOccupancy initGrid(int rows, int... cells) { in initGrid()
58 GridOccupancy grid = new GridOccupancy(cols, rows); in initGrid()
/packages/apps/Launcher3/src/com/android/launcher3/model/
DLoaderCursor.java50 import com.android.launcher3.util.GridOccupancy;
73 private final IntSparseArrayMap<GridOccupancy> occupied = new IntSparseArrayMap<>();
396 final GridOccupancy hotseatOccupancy = in checkItemPlacement()
418 final GridOccupancy occupancy = new GridOccupancy(mIDP.numHotseatIcons, 1); in checkItemPlacement()
441 GridOccupancy screen = new GridOccupancy(countX + 1, countY + 1); in checkItemPlacement()
449 final GridOccupancy occupancy = occupied.get(item.screenId); in checkItemPlacement()
DGridSizeMigrationTask.java34 import com.android.launcher3.util.GridOccupancy;
221 new GridOccupancy(mTrgX, mTrgY), deepCopy(mCarryOver), 0, true);
331 GridOccupancy occupied = new GridOccupancy(mTrgX, mTrgY);
371 GridOccupancy occupied = new GridOccupancy(mTrgX, mTrgY);
405 private final GridOccupancy occupied;
419 GridOccupancy occupied, ArrayList<DbEntry> itemsToPlace, int startY) {
423 public OptimalPlacementSolution(GridOccupancy occupied, ArrayList<DbEntry> itemsToPlace,
DAddWorkspaceItemsTask.java35 import com.android.launcher3.util.GridOccupancy;
267 GridOccupancy occupied = new GridOccupancy(profile.numColumns, profile.numRows); in findNextAvailableIconSpaceInScreen()
/packages/apps/Launcher3/robolectric_tests/src/com/android/launcher3/model/
DAddWorkspaceItemsTaskTest.java19 import com.android.launcher3.util.GridOccupancy;
45 private IntSparseArrayMap<GridOccupancy> screenOccupancy;
137 GridOccupancy occupancy = new GridOccupancy(idp.numColumns, idp.numRows); in setupWorkspaceWithHoles()
/packages/apps/Launcher3/src/com/android/launcher3/util/
DGridOccupancy.java10 public class GridOccupancy { class
17 public GridOccupancy(int countX, int countY) { in GridOccupancy() method in GridOccupancy
53 public void copyTo(GridOccupancy dest) { in copyTo()
/packages/apps/Launcher3/src/com/android/launcher3/
DCellLayout.java65 import com.android.launcher3.util.GridOccupancy;
108 private GridOccupancy mOccupied;
109 private GridOccupancy mTmpOccupied;
216 mOccupied = new GridOccupancy(mCountX, mCountY); in CellLayout()
217 mTmpOccupied = new GridOccupancy(mCountX, mCountY); in CellLayout()
376 mOccupied = new GridOccupancy(mCountX, mCountY); in setGridSize()
377 mTmpOccupied = new GridOccupancy(mCountX, mCountY); in setGridSize()
886 GridOccupancy occupied = permanent ? mOccupied : mTmpOccupied; in animateChildToPosition()
1594GridOccupancy blockOccupied = new GridOccupancy(boundingRect.width(), boundingRect.height()); in addViewsToTempLocation()
1879 GridOccupancy occupied = DESTRUCTIVE_REORDER ? mOccupied : mTmpOccupied; in animateItemsToSolution()