Home
last modified time | relevance | path

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

/external/chromium_org/ash/system/chromeos/power/
Dpower_status.cc78 const int kNumPowerImages = 15; variable
223 index = kNumPowerImages - 1; in GetBatteryImage()
225 index = kNumPowerImages; in GetBatteryImage()
228 GetBatteryPercent() / 100.0 * (kNumPowerImages - 1)); in GetBatteryImage()
229 index = std::max(std::min(index, kNumPowerImages - 2), 0); in GetBatteryImage()