Home
last modified time | relevance | path

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

/frameworks/base/core/java/com/android/internal/os/
DScreenPowerCalculator.java196 for (int i = 0; i < BatteryStats.NUM_SCREEN_BRIGHTNESS_BINS; i++) { in calculateTotalPowerFromBrightness()
200 * (i + 0.5f) / BatteryStats.NUM_SCREEN_BRIGHTNESS_BINS; in calculateTotalPowerFromBrightness()
DBatteryStatsImpl.java857 new StopwatchTimer[NUM_SCREEN_BRIGHTNESS_BINS];
4970 int bin = brightness / (256/NUM_SCREEN_BRIGHTNESS_BINS); in noteScreenBrightnessLocked()
4972 else if (bin >= NUM_SCREEN_BRIGHTNESS_BINS) bin = NUM_SCREEN_BRIGHTNESS_BINS-1; in noteScreenBrightnessLocked()
10642 for (int i=0; i<NUM_SCREEN_BRIGHTNESS_BINS; i++) { in initTimersAndCounters()
11262 for (int i=0; i<NUM_SCREEN_BRIGHTNESS_BINS; i++) { in resetAllStatsLocked()
15216 for (int i=0; i<NUM_SCREEN_BRIGHTNESS_BINS; i++) { in readSummaryFromParcel()
15715 for (int i=0; i<NUM_SCREEN_BRIGHTNESS_BINS; i++) { in writeSummaryToParcel()
16191 for (int i=0; i<NUM_SCREEN_BRIGHTNESS_BINS; i++) { in readFromParcelLocked()
16429 for (int i = 0; i < NUM_SCREEN_BRIGHTNESS_BINS; i++) { in writeToParcelLocked()
16690 for (int i=0; i<NUM_SCREEN_BRIGHTNESS_BINS; i++) { in dumpLocked()
/frameworks/base/core/java/android/os/
DBatteryStats.java2286 public static final int NUM_SCREEN_BRIGHTNESS_BINS = 5; field in BatteryStats
4014 Object[] args = new Object[NUM_SCREEN_BRIGHTNESS_BINS]; in dumpCheckinLocked()
4015 for (int i=0; i<NUM_SCREEN_BRIGHTNESS_BINS; i++) { in dumpCheckinLocked()
4869 for (int i=0; i<NUM_SCREEN_BRIGHTNESS_BINS; i++) { in dumpLocked()
8193 for (int i = 0; i < NUM_SCREEN_BRIGHTNESS_BINS; ++i) { in dumpProtoSystemLocked()