Home
last modified time | relevance | path

Searched refs:mCountX (Results 1 – 6 of 6) sorted by relevance

/packages/apps/Launcher3/src/com/android/launcher3/folder/
DFolderGridOrganizer.java41 private int mCountX; field in FolderGridOrganizer
77 return mCountX; in getCountX()
95 int gridCountX = mCountX; in calculateGridSize()
126 mCountX = gridCountX; in calculateGridSize()
151 mPoint.x = pagePos % mCountX; in getPosForRank()
152 mPoint.y = pagePos / mCountX; in getPosForRank()
161 int itemsPerPage = mCountX * mCountY; in previewItemsForPage()
193 int col = rank % mCountX; in isItemInPreview()
194 int row = rank / mCountX; in isItemInPreview()
/packages/apps/Launcher3/src/com/android/launcher3/util/
DGridOccupancy.java12 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()
106 for (int x = 0; x < mCountX; x++) { in toString()
/packages/apps/Launcher3/src/com/android/launcher3/
DMultipageCellLayout.java78 mCountX = deviceProfile.inv.numColumns * 2; in MultipageCellLayout()
80 setGridSize(mCountX, mCountY); in MultipageCellLayout()
87 if (cellX >= mCountX / 2) { in createAreaForResize()
117 int seamOffset = lp.getCellX() >= mCountX / 2 && lp.canReorder ? 1 : 0; in copyCurrentStateToSolution()
127 (getMeasuredWidth() - getPaddingLeft() - getPaddingRight() - (mCountX * mCellWidth) in getUnusedHorizontalSpace()
128 - ((mCountX - 1) * mBorderSpace.x)) / 2f); in getUnusedHorizontalSpace()
171 return params.getCellX() >= mCountX / 2 ? margin : -margin; in getMarginForGivenCellParams()
202 mCountX = countX; in setCountX()
DCellLayout.java105 protected int mCountX; field in CellLayout
249 mCountX = deviceProfile.inv.numColumns; in CellLayout()
251 mOccupied = new GridOccupancy(mCountX, mCountY); in CellLayout()
252 mTmpOccupied = new GridOccupancy(mCountX, mCountY); in CellLayout()
308 mShortcutsAndWidgets.setCellDimensions(mCellWidth, mCellHeight, mCountX, mCountY, in CellLayout()
380 mShortcutsAndWidgets.setCellDimensions(mCellWidth, mCellHeight, mCountX, mCountY, in setCellDimensions()
412 mCountX = x; in setGridSize()
414 mOccupied = new GridOccupancy(mCountX, mCountY); in setGridSize()
415 mTmpOccupied = new GridOccupancy(mCountX, mCountY); in setGridSize()
416 mShortcutsAndWidgets.setCellDimensions(mCellWidth, mCellHeight, mCountX, mCountY, in setGridSize()
[all …]
DShortcutAndWidgetContainer.java62 private int mCountX; field in ShortcutAndWidgetContainer
83 mCountX = countX; in setCellDimensions()
135 lp.setup(mCellWidth, mCellHeight, invertLayoutHorizontally(), mCountX, mCountY, in setupLp()
138 lp.setup(mCellWidth, mCellHeight, invertLayoutHorizontally(), mCountX, mCountY, in setupLp()
159 lp.setup(mCellWidth, mCellHeight, invertLayoutHorizontally(), mCountX, mCountY, in measureChild()
162 lp.setup(mCellWidth, mCellHeight, invertLayoutHorizontally(), mCountX, mCountY, in measureChild()
167 lp.setup(mCellWidth, mCellHeight, invertLayoutHorizontally(), mCountX, mCountY, in measureChild()
/packages/apps/Launcher3/src/com/android/launcher3/accessibility/
DWorkspaceAccessibilityHelper.java47 int mCountX = mView.getCountX(); in intersectsValidDropTarget() local
50 int x = id % mCountX; in intersectsValidDropTarget()
51 int y = id / mCountX; in intersectsValidDropTarget()
80 if (i >= mCountX || j >= mCountY || mView.isOccupied(i, j)) { in intersectsValidDropTarget()
87 return x0 + mCountX * y0; in intersectsValidDropTarget()