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