Searched refs:getAdjustPercentageOffset (Results 1 – 3 of 3) sorted by relevance
118 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()
198 public double getAdjustPercentageOffset() { in getAdjustPercentageOffset() method in BatteryDiffEntry211 return getPercentage() + getAdjustPercentageOffset(); in getSortingKey()222 return getPercentage() + getAdjustPercentageOffset(); in getSortingKey()
420 entry.getPercentage() + entry.getAdjustPercentageOffset(), in setPreferencePercentage()