Searched refs:mCountX (Results 1 – 4 of 4) sorted by relevance
/packages/apps/Launcher3/src/com/android/launcher3/util/ |
D | GridOccupancy.java | 12 private final int mCountX; field in GridOccupancy 18 mCountX = countX; in GridOccupancy() 34 for (int x = 0; (x + spanX) <= mCountX; x++) { in findVacantCell() 54 for (int i = 0; i < mCountX; i++) { in copyTo() 64 if (x < 0 || y < 0 || x2 >= mCountX || y2 >= mCountY) { in isRegionVacant() 79 for (int x = cellX; x < cellX + spanX && x < mCountX; x++) { in markCells() 99 markCells(0, 0, mCountX, mCountY, false); in clear()
|
/packages/apps/Launcher3/src/com/android/launcher3/ |
D | ShortcutAndWidgetContainer.java | 45 private int mCountX; field in ShortcutAndWidgetContainer 60 mCountX = countX; in setCellDimensions() 97 lp.setup(mCellWidth, mCellHeight, invertLayoutHorizontally(), mCountX, in setupLp() 100 lp.setup(mCellWidth, mCellHeight, invertLayoutHorizontally(), mCountX); in setupLp() 119 lp.setup(mCellWidth, mCellHeight, invertLayoutHorizontally(), mCountX, in measureChild() 123 lp.setup(mCellWidth, mCellHeight, invertLayoutHorizontally(), mCountX); in measureChild()
|
D | CellLayout.java | 97 private int mCountX; field in CellLayout 214 mCountX = grid.inv.numColumns; in CellLayout() 216 mOccupied = new GridOccupancy(mCountX, mCountY); in CellLayout() 217 mTmpOccupied = new GridOccupancy(mCountX, mCountY); in CellLayout() 291 mShortcutsAndWidgets.setCellDimensions(mCellWidth, mCellHeight, mCountX, mCountY); in CellLayout() 370 mShortcutsAndWidgets.setCellDimensions(mCellWidth, mCellHeight, mCountX, mCountY); in setCellDimensions() 374 mCountX = x; in setGridSize() 376 mOccupied = new GridOccupancy(mCountX, mCountY); in setGridSize() 377 mTmpOccupied = new GridOccupancy(mCountX, mCountY); in setGridSize() 379 mShortcutsAndWidgets.setCellDimensions(mCellWidth, mCellHeight, mCountX, mCountY); in setGridSize() [all …]
|
/packages/apps/Launcher3/src/com/android/launcher3/accessibility/ |
D | WorkspaceAccessibilityHelper.java | 54 int mCountX = mView.getCountX(); in intersectsValidDropTarget() local 57 int x = id % mCountX; in intersectsValidDropTarget() 58 int y = id / mCountX; in intersectsValidDropTarget() 87 if (i >= mCountX || j >= mCountY || mView.isOccupied(i, j)) { in intersectsValidDropTarget() 94 return x0 + mCountX * y0; in intersectsValidDropTarget()
|