Searched refs:margin (Results 1 – 4 of 4) sorted by relevance
293 float margin; in invalidateLabelOffset() local298 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;
193 int margin = scrubber.getWidth() / 3; in onLayout() local195 margin += timeBounds.width(); in onLayout()200 getPaddingLeft() + margin, progressY, in onLayout()201 w - getPaddingRight() - margin, progressY + 4); in onLayout()
111 int margin = getMeasuredHeight() - calculateEmbeddedHeight(); in onMeasure() local112 mBaseUi.setContentViewMarginTop(-margin); in onMeasure()
859 public void setContentViewMarginTop(int margin) { in setContentViewMarginTop() argument862 if (params.topMargin != margin) { in setContentViewMarginTop()863 params.topMargin = margin; in setContentViewMarginTop()