Home
last modified time | relevance | path

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

/packages/apps/Settings/src/com/android/settings/widget/
DChartSweepView.java293 float margin; in invalidateLabelOffset() local
298 margin = getLabelTop(mValidAfterDynamic) - getLabelBottom(this); in invalidateLabelOffset()
299 if (margin < 0) { in invalidateLabelOffset()
300 labelOffset = margin / 2; in invalidateLabelOffset()
304 margin = getLabelTop(this) - getLabelBottom(mValidBeforeDynamic); in invalidateLabelOffset()
305 if (margin < 0) { in invalidateLabelOffset()
306 labelOffset = -margin / 2; in invalidateLabelOffset()
595 Rect parentContent, long afterValue, long beforeValue, float margin) {
605 final float afterPoint = mAxis.convertToPoint(afterValue) + margin;
606 final float beforePoint = mAxis.convertToPoint(beforeValue) - margin;
/packages/apps/Gallery2/src/com/android/gallery3d/app/
DTimeBar.java193 int margin = scrubber.getWidth() / 3; in onLayout() local
195 margin += timeBounds.width(); in onLayout()
200 getPaddingLeft() + margin, progressY, in onLayout()
201 w - getPaddingRight() - margin, progressY + 4); in onLayout()
/packages/apps/Browser/src/com/android/browser/
DTitleBar.java111 int margin = getMeasuredHeight() - calculateEmbeddedHeight(); in onMeasure() local
112 mBaseUi.setContentViewMarginTop(-margin); in onMeasure()
DBaseUi.java859 public void setContentViewMarginTop(int margin) { in setContentViewMarginTop() argument
862 if (params.topMargin != margin) { in setContentViewMarginTop()
863 params.topMargin = margin; in setContentViewMarginTop()