HomeSort by relevance Sort by last modified time
    Searched refs:kNumPowerImages (Results 1 - 3 of 3) sorted by null

  /external/chromium/chrome/browser/chromeos/status/
power_menu_button.cc 23 const int PowerMenuButton::kNumPowerImages = 19;
145 // from 0 to 100, so we need to convert that to 0 to kNumPowerImages - 1.
148 static const int kChargingImages[kNumPowerImages] = {
169 static const int kDischargingImages[kNumPowerImages] = {
192 nextafter(static_cast<float>(kNumPowerImages), 0));
193 index = std::max(std::min(index, kNumPowerImages - 1), 0);
power_menu_button.h 75 static const int kNumPowerImages;
  /external/chromium_org/ash/system/chromeos/power/
power_status.cc 72 const int kNumPowerImages = 15;
218 index = kNumPowerImages - 1;
220 index = kNumPowerImages;
223 GetBatteryPercent() / 100.0 * (kNumPowerImages - 1));
224 index = std::max(std::min(index, kNumPowerImages - 2), 0);

Completed in 371 milliseconds