Home
last modified time | relevance | path

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

/packages/apps/Launcher3/src/com/android/launcher3/testing/
DWeightWatcher.java252 final float barWidth = Math.max(1, barStep); in onDraw() local
259 c.drawRect(x, h - scale * mMemInfo.pss[i], x + barWidth, h, pssPaint); in onDraw()
260 c.drawRect(x, h - scale * mMemInfo.uss[i], x + barWidth, h, ussPaint); in onDraw()
263 c.drawRect(x, 0, x + barWidth, h, headPaint); in onDraw()
/packages/apps/Settings/src/com/android/settings/widget/
DLabeledSeekBar.java195 final int barWidth = width - LabeledSeekBar.this.getPaddingStart() in getHalfVirtualViewWidth() local
197 return Math.max(0, barWidth / (LabeledSeekBar.this.getMax() * 2)); in getHalfVirtualViewWidth()