Home
last modified time | relevance | path

Searched refs:mHorizontalSpacing (Results 1 – 3 of 3) sorted by relevance

/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/
DKeyboardShortcutKeysLayout.java74 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 …]
/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/
DPseudoGridView.java40 private int mHorizontalSpacing; field in PseudoGridView
56 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()
/frameworks/base/core/java/android/widget/
DGridView.java117 private int mHorizontalSpacing = 0; field in GridView
344 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()