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.java357 private final GridOccupancy mOccupied; field in GridSizeMigrationTaskV2.GridPlacementSolution
372 mOccupied = new GridOccupancy(trgX, trgY); in GridPlacementSolution()
381 mOccupied.markCells(entry, true); in GridPlacementSolution()
411 boolean fits = mOccupied.isRegionVacant(x, y, entry.spanX, entry.spanY); in findPlacement()
412 boolean minFits = mOccupied.isRegionVacant(x, y, entry.minSpanX, in findPlacement()
422 mOccupied.markCells(entry, true); in findPlacement()
440 private final HotseatOccupancy mOccupied; field in GridSizeMigrationTaskV2.HotseatPlacementSolution
450 mOccupied = new HotseatOccupancy(hotseatSize); in HotseatPlacementSolution()
452 mOccupied.markCells(entry, true); in HotseatPlacementSolution()
458 for (int i = 0; i < mOccupied.mCells.length; i++) { in find()
[all …]
/packages/apps/Launcher3/src/com/android/launcher3/
DCellLayout.java108 private GridOccupancy mOccupied; field in CellLayout
214 mOccupied = new GridOccupancy(mCountX, mCountY); in CellLayout()
348 mOccupied = new GridOccupancy(mCountX, mCountY); in setGridSize()
430 if (mOccupied.cells[i][j]) { in onDraw()
616 mOccupied.clear(); in removeAllViews()
623 mOccupied.clear(); in removeAllViewsInLayout()
875 GridOccupancy occupied = permanent ? mOccupied : mTmpOccupied; in animateChildToPosition()
1111 if (mOccupied.cells[x + i][y + j]) { in findNearestArea()
1128 if (x + xSize > countX -1 || mOccupied.cells[x + xSize][y + j]) { in findNearestArea()
1138 if (y + ySize > countY - 1 || mOccupied.cells[x + i][y + ySize]) { in findNearestArea()
[all …]