Searched refs:mCountY (Results 1 – 4 of 4) sorted by relevance
/packages/apps/Launcher3/src/com/android/launcher3/util/ |
D | GridOccupancy.java | 13 private final int mCountY; field in GridOccupancy 19 mCountY = countY; in GridOccupancy() 33 for (int y = 0; (y + spanY) <= mCountY; y++) { in findVacantCell() 55 for (int j = 0; j < mCountY; j++) { in copyTo() 64 if (x < 0 || y < 0 || x2 >= mCountX || y2 >= mCountY) { in isRegionVacant() 80 for (int y = cellY; y < cellY + spanY && y < mCountY; y++) { in markCells() 99 markCells(0, 0, mCountX, mCountY, false); in clear()
|
/packages/apps/Launcher2/src/com/android/launcher2/ |
D | CellLayout.java | 69 private int mCountY; field in CellLayout 195 mCountY = LauncherModel.getCellCountY(); in CellLayout() 196 mOccupied = new boolean[mCountX][mCountY]; in CellLayout() 197 mTmpOccupied = new boolean[mCountX][mCountY]; in CellLayout() 332 mCountY = y; in setGridSize() 333 mOccupied = new boolean[mCountX][mCountY]; in setGridSize() 334 mTmpOccupied = new boolean[mCountX][mCountY]; in setGridSize() 478 for (int j = 0; j < mCountY; j++) { in onDraw() 608 return mCountY; in getCountY() 636 if (lp.cellX >= 0 && lp.cellX <= mCountX - 1 && lp.cellY >= 0 && lp.cellY <= mCountY - 1) { in addViewToCellLayout() [all …]
|
/packages/apps/Launcher3/src/com/android/launcher3/ |
D | CellLayout.java | 89 private int mCountY; field in CellLayout 211 mCountY = grid.inv.numRows; in CellLayout() 212 mOccupied = new GridOccupancy(mCountX, mCountY); in CellLayout() 213 mTmpOccupied = new GridOccupancy(mCountX, mCountY); in CellLayout() 289 mShortcutsAndWidgets.setCellDimensions(mCellWidth, mCellHeight, mCountX, mCountY); in CellLayout() 369 mShortcutsAndWidgets.setCellDimensions(mCellWidth, mCellHeight, mCountX, mCountY); in setCellDimensions() 374 mCountY = y; in setGridSize() 375 mOccupied = new GridOccupancy(mCountX, mCountY); in setGridSize() 376 mTmpOccupied = new GridOccupancy(mCountX, mCountY); in setGridSize() 378 mShortcutsAndWidgets.setCellDimensions(mCellWidth, mCellHeight, mCountX, mCountY); in setGridSize() [all …]
|
/packages/apps/Launcher3/src/com/android/launcher3/accessibility/ |
D | WorkspaceAccessibilityHelper.java | 54 int mCountY = mView.getCountY(); in intersectsValidDropTarget() local 86 if (i >= mCountX || j >= mCountY || mView.isOccupied(i, j)) { in intersectsValidDropTarget()
|