Home
last modified time | relevance | path

Searched refs:markCells (Results 1 – 6 of 6) 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.java334 occupied.markCells(0, 0, mTrgX, startY, true);
336 occupied.markCells(item, true);
374 occupied.markCells(0, 0, mTrgX, startY, true);
392 occupied.markCells(item, true);
498 occupied.markCells(me, true);
500 occupied.markCells(me, false);
506 occupied.markCells(me, true);
509 occupied.markCells(me, false);
516 occupied.markCells(me, true);
519 occupied.markCells(me, false);
[all …]
DLoaderCursor.java445 screen.markCells(0, 0, countX + 1, 1, FeatureFlags.QSB_ON_FIRST_SCREEN); in checkItemPlacement()
453 occupancy.markCells(item, true); in checkItemPlacement()
DAddWorkspaceItemsTask.java326 occupied.markCells(r, true); in findNextAvailableIconSpaceInScreen()
/packages/apps/Launcher3/src/com/android/launcher3/
DCellLayout.java576 boolean markCells) { in addViewToCellLayout() argument
602 if (markCells) markCellsAsOccupiedForView(child); in addViewToCellLayout()
887 occupied.markCells(lp.cellX, lp.cellY, lp.cellHSpan, lp.cellVSpan, false); in animateChildToPosition()
888 occupied.markCells(cellX, cellY, lp.cellHSpan, lp.cellVSpan, true); in animateChildToPosition()
1284 mTmpOccupied.markCells(c, false); in addViewToTempLocation()
1285 mTmpOccupied.markCells(rectOccupiedByPotentialDrop, true); in addViewToTempLocation()
1295 mTmpOccupied.markCells(c, true); in addViewToTempLocation()
1517 mTmpOccupied.markCells(c, false); in pushViewsToTempLocation()
1547 mTmpOccupied.markCells(c, false); in pushViewsToTempLocation()
1573 mTmpOccupied.markCells(c, true); in pushViewsToTempLocation()
[all …]
/packages/apps/Launcher3/robolectric_tests/src/com/android/launcher3/model/
DAddWorkspaceItemsTaskTest.java138 occupancy.markCells(0, 0, idp.numColumns, idp.numRows, true); in setupWorkspaceWithHoles()
140 occupancy.markCells(r, false); in setupWorkspaceWithHoles()