• Home
  • Raw
  • Download

Lines Matching refs:mWidthGap

73     private int mWidthGap;  field in CellLayout
191 mWidthGap = mOriginalWidthGap = a.getDimensionPixelSize(R.styleable.CellLayout_widthGap, 0); in CellLayout()
286 mShortcutsAndWidgets.setCellDimensions(mCellWidth, mCellHeight, mWidthGap, mHeightGap, in CellLayout()
336 mShortcutsAndWidgets.setCellDimensions(mCellWidth, mCellHeight, mWidthGap, mHeightGap, in setGridSize()
810 result[0] = (x - hStartPadding) / (mCellWidth + mWidthGap); in pointToCellExact()
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()
909 return mWidthGap; in getWidthGap()
995 mWidthGap = Math.min(mMaxGap, numWidthGaps > 0 ? (hFreeSpace / numWidthGaps) : 0); in onMeasure()
997 mShortcutsAndWidgets.setCellDimensions(mCellWidth, mCellHeight, mWidthGap, mHeightGap, in onMeasure()
1000 mWidthGap = mOriginalWidthGap; in onMeasure()
1009 ((mCountX - 1) * mWidthGap); 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()
2967 final int widthGap = mWidthGap; in cellToRect()
3015 size[0] = hSpans * mCellWidth + (hSpans - 1) * mWidthGap; in cellSpansToSize()
3124 (Math.max((mCountX - 1), 0) * mWidthGap); in getDesiredWidth()