Searched refs:mHorizontalSpacing (Results 1 – 3 of 3) sorted by relevance
74 xPos += childWidth + layoutParams.mHorizontalSpacing; in onMeasure()142 ? xPos - currentChildWidth - lp.mHorizontalSpacing in onLayout()143 : xPos + currentChildWidth + lp.mHorizontalSpacing; in onLayout()144 lastHorizontalSpacing = lp.mHorizontalSpacing; in onLayout()173 - lp.mHorizontalSpacing; in layoutChildrenOnRow()186 xPos -= nextChildWidth + lp.mHorizontalSpacing; in layoutChildrenOnRow()188 xPos += currentChildWidth + lp.mHorizontalSpacing; in layoutChildrenOnRow()199 public final int mHorizontalSpacing;205 this.mHorizontalSpacing = horizontalSpacing;209 public LayoutParams(int mHorizontalSpacing, int verticalSpacing) {[all …]
40 private int mHorizontalSpacing; field in PseudoGridView56 mHorizontalSpacing = a.getDimensionPixelSize(attr, 0); in PseudoGridView()73 mFixedChildWidth * mNumColumns + mHorizontalSpacing * (mNumColumns - 1); in onMeasure()76 width = mFixedChildWidth * mNumColumns + mHorizontalSpacing * (mNumColumns - 1); in onMeasure()78 childWidth = (width - (mNumColumns - 1) * mHorizontalSpacing) / mNumColumns; in onMeasure()131 x -= mHorizontalSpacing; in onLayout()133 x += width + mHorizontalSpacing; in onLayout()
117 private int mHorizontalSpacing = 0; field in GridView344 final int horizontalSpacing = mHorizontalSpacing; in makeRow()1012 mHorizontalSpacing = requestedHorizontalSpacing; in determineColumns()1027 mHorizontalSpacing = requestedHorizontalSpacing; in determineColumns()1034 mHorizontalSpacing = requestedHorizontalSpacing in determineColumns()1037 mHorizontalSpacing = requestedHorizontalSpacing + spaceLeftOver; in determineColumns()1045 mHorizontalSpacing = requestedHorizontalSpacing in determineColumns()1048 mHorizontalSpacing = requestedHorizontalSpacing + spaceLeftOver; in determineColumns()1136 + ((mRequestedNumColumns-1)*mHorizontalSpacing) in onMeasure()2108 return mHorizontalSpacing; in getHorizontalSpacing()