Searched refs:displayAreas (Results 1 – 1 of 1) sorted by relevance
/packages/apps/Settings/src/com/android/settings/fuelgauge/batteryusage/ |
D | BatteryChartView.java | 520 private void drawAxisLabels(Canvas canvas, final Rect[] displayAreas, final float baselineY) { in drawAxisLabels() argument 521 final int lastIndex = displayAreas.length - 1; in drawAxisLabels() 524 drawAxisLabelText(canvas, 0, displayAreas[0], baselineY); in drawAxisLabels() 526 drawAxisLabelText(canvas, lastIndex, displayAreas[lastIndex], baselineY); in drawAxisLabels() 528 drawAxisLabelsBetweenStartIndexAndEndIndex(canvas, displayAreas, 0, lastIndex, baselineY); in drawAxisLabels() 540 final Rect[] displayAreas, in drawAxisLabelsBetweenStartIndexAndEndIndex() argument 549 if (hasOverlap(displayAreas, startIndex, middleIndex) in drawAxisLabelsBetweenStartIndexAndEndIndex() 550 || hasOverlap(displayAreas, middleIndex, endIndex)) { in drawAxisLabelsBetweenStartIndexAndEndIndex() 553 drawAxisLabelText(canvas, middleIndex, displayAreas[middleIndex], baselineY); in drawAxisLabelsBetweenStartIndexAndEndIndex() 556 canvas, displayAreas, startIndex, middleIndex, baselineY); in drawAxisLabelsBetweenStartIndexAndEndIndex() [all …]
|