Home
last modified time | relevance | path

Searched refs:mOccupied (Results 1 – 2 of 2) sorted by relevance

/packages/apps/Launcher3/src/com/android/launcher3/model/
DGridSizeMigrationTaskV2.java358 private final GridOccupancy mOccupied; field in GridSizeMigrationTaskV2.GridPlacementSolution
373 mOccupied = new GridOccupancy(trgX, trgY); in GridPlacementSolution()
382 mOccupied.markCells(entry, true); in GridPlacementSolution()
412 boolean fits = mOccupied.isRegionVacant(x, y, entry.spanX, entry.spanY); in findPlacement()
413 boolean minFits = mOccupied.isRegionVacant(x, y, entry.minSpanX, in findPlacement()
423 mOccupied.markCells(entry, true); in findPlacement()
441 private final HotseatOccupancy mOccupied; field in GridSizeMigrationTaskV2.HotseatPlacementSolution
451 mOccupied = new HotseatOccupancy(hotseatSize); in HotseatPlacementSolution()
453 mOccupied.markCells(entry, true); in HotseatPlacementSolution()
459 for (int i = 0; i < mOccupied.mCells.length; i++) { in find()
[all …]
/packages/apps/Launcher3/src/com/android/launcher3/
DCellLayout.java110 private GridOccupancy mOccupied; field in CellLayout
249 mOccupied = new GridOccupancy(mCountX, mCountY); in CellLayout()
378 mOccupied = new GridOccupancy(mCountX, mCountY); in setGridSize()
451 if (mOccupied.cells[i][j]) { in onDraw()
716 mOccupied.clear(); in removeAllViews()
723 mOccupied.clear(); in removeAllViewsInLayout()
957 GridOccupancy occupied = permanent ? mOccupied : mTmpOccupied; in animateChildToPosition()
1191 if (mOccupied.cells[x + i][y + j]) { in findNearestArea()
1208 if (x + xSize > countX -1 || mOccupied.cells[x + xSize][y + j]) { in findNearestArea()
1218 if (y + ySize > countY - 1 || mOccupied.cells[x + i][y + ySize]) { in findNearestArea()
[all …]