Searched refs:cur_level (Results 1 – 3 of 3) sorted by relevance
86 if (batt_anim->cur_status == BATTERY_STATUS_UNKNOWN || batt_anim->cur_level < 0 || in redraw_screen()191 int cur_level = anim->cur_level; in draw_percent() local193 cur_level = 100; in draw_percent()196 if (cur_level < 0) return; in draw_percent()203 std::string str = base::StringPrintf("%d%%", cur_level); in draw_percent()
157 .cur_level = 0,357 batt_anim_.cur_level = health_info_.batteryLevel; in UpdateScreenState()362 if (batt_anim_.cur_level >= batt_anim_.frames[i].min_level && in UpdateScreenState()363 batt_anim_.cur_level <= batt_anim_.frames[i].max_level) { in UpdateScreenState()387 if (batt_anim_.num_frames == 0 || batt_anim_.cur_level < 0) { in UpdateScreenState()404 (batt_anim_.cur_level < batt_anim_.frames[batt_anim_.cur_frame].min_level || in UpdateScreenState()405 batt_anim_.cur_level > batt_anim_.frames[batt_anim_.cur_frame].max_level)) { in UpdateScreenState()478 if (batt_anim_.cur_level >= boot_min_cap_) { in ProcessKey()
78 int cur_level; // current battery level being animated (0-100) member