Searched refs:kNumPowerImages (Results 1 – 1 of 1) sorted by relevance
78 const int kNumPowerImages = 15; variable223 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()