Home
last modified time | relevance | path

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

/packages/apps/Settings/src/com/android/settings/fuelgauge/batteryusage/
DBatteryChartView.java548 int middleIndex = (startIndex + endIndex) / 2; in drawAxisLabelsBetweenStartIndexAndEndIndex() local
549 if (hasOverlap(displayAreas, startIndex, middleIndex) in drawAxisLabelsBetweenStartIndexAndEndIndex()
550 || hasOverlap(displayAreas, middleIndex, endIndex)) { in drawAxisLabelsBetweenStartIndexAndEndIndex()
553 drawAxisLabelText(canvas, middleIndex, displayAreas[middleIndex], baselineY); in drawAxisLabelsBetweenStartIndexAndEndIndex()
554 mLabelDrawnIndexes.add(middleIndex); in drawAxisLabelsBetweenStartIndexAndEndIndex()
556 canvas, displayAreas, startIndex, middleIndex, baselineY); in drawAxisLabelsBetweenStartIndexAndEndIndex()
558 canvas, displayAreas, middleIndex, endIndex, baselineY); in drawAxisLabelsBetweenStartIndexAndEndIndex()