Home
last modified time | relevance | path

Searched refs:markCells (Results 1 – 8 of 8) sorted by relevance

/packages/apps/Launcher3/src/com/android/launcher3/util/
DGridOccupancy.java77 public void markCells(int cellX, int cellY, int spanX, int spanY, boolean value) { in markCells() method in GridOccupancy
86 public void markCells(Rect r, boolean value) { in markCells() method in GridOccupancy
87 markCells(r.left, r.top, r.width(), r.height(), value); in markCells()
90 public void markCells(CellAndSpan cell, boolean value) { in markCells() method in GridOccupancy
91 markCells(cell.cellX, cell.cellY, cell.spanX, cell.spanY, value); in markCells()
94 public void markCells(ItemInfo item, boolean value) { in markCells() method in GridOccupancy
95 markCells(item.cellX, item.cellY, item.spanX, item.spanY, value); in markCells()
99 markCells(0, 0, mCountX, mCountY, false); in clear()
/packages/apps/Launcher3/src/com/android/launcher3/celllayout/
DReorderAlgorithm.java194 mCellLayout.mTmpOccupied.markCells(c, false); in addViewToTempLocation()
195 mCellLayout.mTmpOccupied.markCells(rectOccupiedByPotentialDrop, true); in addViewToTempLocation()
205 mCellLayout.mTmpOccupied.markCells(c, true); in addViewToTempLocation()
242 mCellLayout.mTmpOccupied.markCells(c, false); in pushViewsToTempLocation()
272 mCellLayout.mTmpOccupied.markCells(c, false); in pushViewsToTempLocation()
298 mCellLayout.mTmpOccupied.markCells(c, true); in pushViewsToTempLocation()
363 mCellLayout.mTmpOccupied.markCells(c, false); in addViewsToTempLocation()
374 blockOccupied.markCells(c.cellX - left, c.cellY - top, c.spanX, c.spanY, true); in addViewsToTempLocation()
377 mCellLayout.mTmpOccupied.markCells(rectOccupiedByPotentialDrop, true); in addViewsToTempLocation()
398 mCellLayout.mTmpOccupied.markCells(c, true); in addViewsToTempLocation()
DMulticellReorderAlgorithm.java118 grid.markCells(lp.getCellX() + seamOffset, lp.getCellY(), lp.cellHSpan, lp.cellVSpan, in createGridOccupancyWithSeam()
/packages/apps/Launcher3/src/com/android/launcher3/
DCellLayout.java749 CellLayoutLayoutParams params, boolean markCells) { in addViewToCellLayout() argument
776 if (markCells) markCellsAsOccupiedForView(child); in addViewToCellLayout()
1072 occupied.markCells(lp.getCellX(), lp.getCellY(), lp.cellHSpan, lp.cellVSpan, false); in animateChildToPosition()
1073 occupied.markCells(cellX, cellY, lp.cellHSpan, lp.cellVSpan, true); in animateChildToPosition()
1371 mTmpOccupied.markCells(c, true); in copySolutionToTempState()
1374 mTmpOccupied.markCells(solution, true); in copySolutionToTempState()
1391 occupied.markCells(c, true); in animateItemsToSolution()
1395 occupied.markCells(solution, true); in animateItemsToSolution()
1821 mOccupied.markCells(pos.cellX, pos.cellY, info.spanX, info.spanY, true); in markCellsAsOccupiedForView()
1827 mOccupied.markCells(lp.getCellX(), lp.getCellY(), lp.cellHSpan, lp.cellVSpan, true); in markCellsAsOccupiedForView()
[all …]
/packages/apps/Launcher3/tests/multivalentTests/src/com/android/launcher3/model/
DAbstractWorkspaceModelTest.kt103 occupancy.markCells(0, 0, mIdp.numColumns, mIdp.numRows, true) in <lambda>()
104 spaces.forEach { spaceRect -> occupancy.markCells(spaceRect, false) } in <lambda>()
/packages/apps/Launcher3/src/com/android/launcher3/model/
DWorkspaceItemSpaceFinder.java110 occupied.markCells(r, true); in findNextAvailableIconSpaceInScreen()
DLoaderCursor.java564 screen.markCells(0, 0, spanX, spanY, true); in checkItemPlacement()
572 occupancy.markCells(item, true); in checkItemPlacement()
DGridSizeMigrationUtil.java358 occupied.markCells(entry, true); in solveGridPlacement()
396 occupied.markCells(entry, true); in findPlacementForEntry()