Lines Matching refs:mCellCountX
37 private int mCellCountX; field in PagedViewCellLayout
69 mCellCountX = LauncherModel.getCellCountX(); in PagedViewCellLayout()
107 if (lp.cellX >= 0 && lp.cellX <= (mCellCountX - 1) && in addViewToCellLayout()
111 if (lp.cellHSpan < 0) lp.cellHSpan = mCellCountX; in addViewToCellLayout()
163 return mCellCountX; in getCellCountX()
181 int numWidthGaps = mCellCountX - 1; in onMeasure()
187 int hFreeSpace = hSpace - (mCellCountX * mOriginalCellWidth); in onMeasure()
202 newWidth = getPaddingLeft() + getPaddingRight() + (mCellCountX * mCellWidth) + in onMeasure()
203 ((mCellCountX - 1) * mWidthGap); in onMeasure()
236 if (mCellCountX > 0) { in getWidthBeforeFirstLayout()
237 return mCellCountX * mCellWidth + (mCellCountX - 1) * Math.max(0, mWidthGap); in getWidthBeforeFirstLayout()
280 mCellCountX = xCount; in setCellCount()
352 mCellCountX = Math.min(maxCellCountX, estimateCellHSpan(width)); in calculateCellCount()