Searched refs:GridOccupancy (Results 1 – 10 of 10) sorted by relevance
/packages/apps/Launcher3/src/com/android/launcher3/celllayout/ |
D | MulticellReorderAlgorithm.java | 23 import com.android.launcher3.util.GridOccupancy; 80 mcl.mTmpOccupied = new GridOccupancy(mcl.getCountX(), mcl.getCountY()); in addSeam() 87 mcl.mTmpOccupied = new GridOccupancy(mcl.getCountX(), mcl.getCountY()); in removeSeam() 103 GridOccupancy auxGrid = mcl.getOccupied(); in simulateSeam() 111 GridOccupancy createGridOccupancyWithSeam() { in createGridOccupancyWithSeam() 113 GridOccupancy grid = new GridOccupancy(mCellLayout.getCountX(), mCellLayout.getCountY()); in createGridOccupancyWithSeam()
|
D | ReorderAlgorithm.java | 23 import com.android.launcher3.util.GridOccupancy; 366 GridOccupancy blockOccupied = new GridOccupancy(boundingRect.width(), in addViewsToTempLocation()
|
/packages/apps/Launcher3/tests/multivalentTests/src/com/android/launcher3/util/ |
D | GridOccupancyTest.java | 22 GridOccupancy grid = initGrid(4, in testFindVacantCell() 43 GridOccupancy grid = initGrid(4, in testIsRegionVacant() 58 private GridOccupancy initGrid(int rows, int... cells) { in initGrid() 61 GridOccupancy grid = new GridOccupancy(cols, rows); in initGrid()
|
/packages/apps/Launcher3/src/com/android/launcher3/model/ |
D | LoaderCursor.java | 57 import com.android.launcher3.util.GridOccupancy; 84 private final IntSparseArrayMap<GridOccupancy> mOccupied = new IntSparseArrayMap<>(); 511 final GridOccupancy hotseatOccupancy = in checkItemPlacement() 533 final GridOccupancy occupancy = new GridOccupancy(mIDP.numDatabaseHotseatIcons, 1); in checkItemPlacement() 555 GridOccupancy screen = new GridOccupancy(countX + 1, countY + 1); in checkItemPlacement() 568 final GridOccupancy occupancy = mOccupied.get(item.screenId); in checkItemPlacement()
|
D | WorkspaceItemSpaceFinder.java | 28 import com.android.launcher3.util.GridOccupancy; 107 GridOccupancy occupied = new GridOccupancy(profile.numColumns, profile.numRows); in findNextAvailableIconSpaceInScreen()
|
D | GridSizeMigrationUtil.java | 53 import com.android.launcher3.util.GridOccupancy; 347 final GridOccupancy occupied = new GridOccupancy(trgX, trgY); in solveGridPlacement() 382 @NonNull final GridOccupancy occupied, final int screenId) { in findPlacementForEntry()
|
/packages/apps/Launcher3/src/com/android/launcher3/util/ |
D | GridOccupancy.java | 10 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/tests/multivalentTests/src/com/android/launcher3/model/ |
D | AbstractWorkspaceModelTest.kt | 25 import com.android.launcher3.util.GridOccupancy in <lambda>() 49 protected lateinit var mScreenOccupancy: IntSparseArrayMap<GridOccupancy> in <lambda>() 102 val occupancy = GridOccupancy(mIdp.numColumns, mIdp.numRows) in <lambda>()
|
/packages/apps/Launcher3/src/com/android/launcher3/ |
D | CellLayout.java | 73 import com.android.launcher3.util.GridOccupancy; 118 protected GridOccupancy mOccupied; 119 public GridOccupancy mTmpOccupied; 251 mOccupied = new GridOccupancy(mCountX, mCountY); in CellLayout() 252 mTmpOccupied = new GridOccupancy(mCountX, mCountY); in CellLayout() 414 mOccupied = new GridOccupancy(mCountX, mCountY); in setGridSize() 415 mTmpOccupied = new GridOccupancy(mCountX, mCountY); in setGridSize() 1071 GridOccupancy occupied = permanent ? mOccupied : mTmpOccupied; in animateChildToPosition() 1353 public GridOccupancy getOccupied() { in getOccupied() 1380 GridOccupancy occupied = DESTRUCTIVE_REORDER ? mOccupied : mTmpOccupied; in animateItemsToSolution() [all …]
|
D | MultipageCellLayout.java | 29 import com.android.launcher3.util.GridOccupancy; 209 public void setOccupied(GridOccupancy occupied) { in setOccupied()
|