Home
last modified time | relevance | path

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

/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/
DDataUsageGraph.java36 private final int mMarkerWidth; field in DataUsageGraph
54 mMarkerWidth = res.getDimensionPixelSize(R.dimen.data_usage_graph_marker_width); in DataUsageGraph()
78 usageRight = w * (mLimitLevel / (float) mMaxLevel) - (mMarkerWidth / 2); in onDraw()
79 usageRight = Math.min(Math.max(usageRight, mMarkerWidth), w - mMarkerWidth * 2); in onDraw()
82 r.set(usageRight + mMarkerWidth, 0, w, h); in onDraw()
98 float warningLeft = w * (mWarningLevel / (float) mMaxLevel) - mMarkerWidth / 2; in onDraw()
99 warningLeft = Math.min(Math.max(warningLeft, 0), w - mMarkerWidth); in onDraw()
100 r.set(warningLeft, 0, warningLeft + mMarkerWidth, h); in onDraw()