Home
last modified time | relevance | path

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

/packages/apps/Settings/tests/robotests/src/com/android/settings/fuelgauge/batteryusage/
DBatteryDiffDataTest.java118 assertThat(batteryDiffEntries.get(0).getAdjustPercentageOffset()).isEqualTo(1); in processPercentsAndSort_sumLessThan100_adjustTo100()
120 assertThat(batteryDiffEntries.get(1).getAdjustPercentageOffset()).isEqualTo(0); in processPercentsAndSort_sumLessThan100_adjustTo100()
122 assertThat(batteryDiffEntries.get(2).getAdjustPercentageOffset()).isEqualTo(0); in processPercentsAndSort_sumLessThan100_adjustTo100()
138 assertThat(batteryDiffEntries.get(0).getAdjustPercentageOffset()).isEqualTo(0); in processPercentsAndSort_sumGreaterThan100_adjustTo100()
140 assertThat(batteryDiffEntries.get(1).getAdjustPercentageOffset()).isEqualTo(-1); in processPercentsAndSort_sumGreaterThan100_adjustTo100()
142 assertThat(batteryDiffEntries.get(2).getAdjustPercentageOffset()).isEqualTo(0); in processPercentsAndSort_sumGreaterThan100_adjustTo100()
/packages/apps/Settings/src/com/android/settings/fuelgauge/batteryusage/
DBatteryDiffEntry.java198 public double getAdjustPercentageOffset() { in getAdjustPercentageOffset() method in BatteryDiffEntry
211 return getPercentage() + getAdjustPercentageOffset(); in getSortingKey()
222 return getPercentage() + getAdjustPercentageOffset(); in getSortingKey()
DBatteryUsageBreakdownController.java420 entry.getPercentage() + entry.getAdjustPercentageOffset(), in setPreferencePercentage()