Home
last modified time | relevance | path

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

/packages/apps/Settings/src/com/android/settings/widget/
DChartSweepView.java59 private Rect mMargins = new Rect(); field in ChartSweepView
170 return mMargins; in getMargins()
452 mTrackingStart = getTop() - mMargins.top; in onTouchEvent()
454 mTrackingStart = getLeft() - mMargins.left; in onTouchEvent()
487 final float currentTargetY = getTop() - mMargins.top; in onTouchEvent()
496 final float currentTargetX = getLeft() - mMargins.left; in onTouchEvent()
543 final float effectiveY = getY() - mMargins.top - parentContent.top;
546 final float effectiveX = getX() - mMargins.left - parentContent.left;
654 mMargins.top = -(mSweepPadding.top + (targetHeight / 2));
655 mMargins.bottom = 0;
[all …]
/packages/apps/DeskClock/src/com/android/deskclock/widget/sgv/
DStaggeredGridView.java285 private int[] mMargins; field in StaggeredGridView.LayoutRecord
288 if (mMargins == null) { in ensureMargins()
291 mMargins = new int[span * 2]; in ensureMargins()
296 if (mMargins == null) { in getMarginAbove()
299 return mMargins[col * 2]; in getMarginAbove()
303 if (mMargins == null) { in getMarginBelow()
306 return mMargins[col * 2 + 1]; in getMarginBelow()
310 if (mMargins == null && margin == 0) { in setMarginAbove()
314 mMargins[col * 2] = margin; in setMarginAbove()
318 if (mMargins == null && margin == 0) { in setMarginBelow()
[all …]