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/model/
DGridSizeMigrationTask.java339 occupied.markCells(0, 0, mTrgX, startY, true);
341 occupied.markCells(item, true);
379 occupied.markCells(0, 0, mTrgX, startY, true);
397 occupied.markCells(item, true);
503 occupied.markCells(me, true);
505 occupied.markCells(me, false);
511 occupied.markCells(me, true);
514 occupied.markCells(me, false);
521 occupied.markCells(me, true);
524 occupied.markCells(me, false);
[all …]
DGridSizeMigrationTaskV2.java382 mOccupied.markCells(entry, true); in GridPlacementSolution()
423 mOccupied.markCells(entry, true); in findPlacement()
453 mOccupied.markCells(entry, true); in HotseatPlacementSolution()
469 mOccupied.markCells(entry, true); in find()
482 private void markCells(ItemInfo item, boolean value) { in markCells() method in GridSizeMigrationTaskV2.HotseatPlacementSolution.HotseatOccupancy
DLoaderCursor.java466 screen.markCells(0, 0, countX + 1, spanY, FeatureFlags.QSB_ON_FIRST_SCREEN); in checkItemPlacement()
474 occupancy.markCells(item, true); in checkItemPlacement()
DAddWorkspaceItemsTask.java342 occupied.markCells(r, true); in findNextAvailableIconSpaceInScreen()
/packages/apps/Launcher3/src/com/android/launcher3/
DCellLayout.java681 boolean markCells) { in addViewToCellLayout() argument
707 if (markCells) markCellsAsOccupiedForView(child); in addViewToCellLayout()
958 occupied.markCells(lp.cellX, lp.cellY, lp.cellHSpan, lp.cellVSpan, false); in animateChildToPosition()
959 occupied.markCells(cellX, cellY, lp.cellHSpan, lp.cellVSpan, true); in animateChildToPosition()
1347 mTmpOccupied.markCells(c, false); in addViewToTempLocation()
1348 mTmpOccupied.markCells(rectOccupiedByPotentialDrop, true); in addViewToTempLocation()
1358 mTmpOccupied.markCells(c, true); in addViewToTempLocation()
1580 mTmpOccupied.markCells(c, false); in pushViewsToTempLocation()
1610 mTmpOccupied.markCells(c, false); in pushViewsToTempLocation()
1636 mTmpOccupied.markCells(c, true); in pushViewsToTempLocation()
[all …]
/packages/apps/Launcher3/robolectric_tests/src/com/android/launcher3/model/
DAddWorkspaceItemsTaskTest.java163 occupancy.markCells(0, 0, mIdp.numColumns, mIdp.numRows, true); in writeWorkspaceWithHoles()
165 occupancy.markCells(r, false); in writeWorkspaceWithHoles()
/packages/apps/Launcher3/quickstep/src/com/android/launcher3/hybridhotseat/
DHotseatEduController.java145 occupancy.markCells(info, true); in placeFoldersInWorkspace()