Home
last modified time | relevance | path

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

/frameworks/ex/widget/java/com/android/ex/widget/
DStaggeredGridView.java140 private int[] mMargins; field in StaggeredGridView.LayoutRecord
143 if (mMargins == null) { in ensureMargins()
146 mMargins = new int[span * 2]; in ensureMargins()
151 if (mMargins == null) { in getMarginAbove()
154 return mMargins[col * 2]; in getMarginAbove()
158 if (mMargins == null) { in getMarginBelow()
161 return mMargins[col * 2 + 1]; in getMarginBelow()
165 if (mMargins == null && margin == 0) { in setMarginAbove()
169 mMargins[col * 2] = margin; in setMarginAbove()
173 if (mMargins == null && margin == 0) { in setMarginBelow()
[all …]