Lines Matching refs:mCellWidth

65     private int mCellWidth;  field in CellLayout
189 mCellWidth = a.getDimensionPixelSize(R.styleable.CellLayout_cellWidth, 10); in CellLayout()
286 mShortcutsAndWidgets.setCellDimensions(mCellWidth, mCellHeight, mWidthGap, mHeightGap, in CellLayout()
336 mShortcutsAndWidgets.setCellDimensions(mCellWidth, mCellHeight, mWidthGap, mHeightGap, in setGridSize()
476 cd.setBounds(0, 0, mCellWidth, mCellHeight); in onDraw()
502 int centerX = mTempLocation[0] + mCellWidth / 2; in onDraw()
517 centerX = mTempLocation[0] + mCellWidth / 2; in onDraw()
532 int centerX = mTempLocation[0] + mCellWidth / 2; in onDraw()
810 result[0] = (x - hStartPadding) / (mCellWidth + mWidthGap); in pointToCellExact()
829 pointToCellExact(x + (mCellWidth / 2), y + (mCellHeight / 2), result); in pointToCellRounded()
844 result[0] = hStartPadding + cellX * (mCellWidth + mWidthGap); in cellToPoint()
871 result[0] = hStartPadding + cellX * (mCellWidth + mWidthGap) + in regionToCenterPoint()
872 (spanX * mCellWidth + (spanX - 1) * mWidthGap) / 2; in regionToCenterPoint()
887 final int left = hStartPadding + cellX * (mCellWidth + mWidthGap); in regionToRect()
889 result.set(left, top, left + (spanX * mCellWidth + (spanX - 1) * mWidthGap), in regionToRect()
901 return mCellWidth; in getCellWidth()
993 int hFreeSpace = hSpace - (mCountX * mCellWidth); in onMeasure()
997 mShortcutsAndWidgets.setCellDimensions(mCellWidth, mCellHeight, mWidthGap, mHeightGap, in onMeasure()
1008 newWidth = getPaddingLeft() + getPaddingRight() + (mCountX * mCellWidth) + in onMeasure()
1246 left += ((mCellWidth * spanX) + ((spanX - 1) * mWidthGap) in visualizeDropLocation()
1252 left += dragOffset.x + ((mCellWidth * spanX) + ((spanX - 1) * mWidthGap) in visualizeDropLocation()
1257 left += ((mCellWidth * spanX) + ((spanX - 1) * mWidthGap) in visualizeDropLocation()
1383 pixelX -= (mCellWidth + mWidthGap) * (spanX - 1) / 2f; in findNearestArea()
2965 final int cellWidth = mCellWidth; in cellToRect()
3015 size[0] = hSpans * mCellWidth + (hSpans - 1) * mWidthGap; in cellSpansToSize()
3123 return getPaddingLeft() + getPaddingRight() + (mCountX * mCellWidth) + in getDesiredWidth()