Home
last modified time | relevance | path

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

/system/core/healthd/
Dhealthd_mode_charger.cpp194 : HalHealthLoop("charger", service), batt_anim_(BASE_ANIMATION) {} in Charger()
286 if (!batt_anim_.run || now < next_screen_transition_) return; in UpdateScreenState()
312 batt_anim_.run = false; in UpdateScreenState()
319 healthd_draw_.reset(new HealthdDraw(&batt_anim_)); in UpdateScreenState()
328 if (batt_anim_.num_cycles > 0 && batt_anim_.cur_cycle == batt_anim_.num_cycles) { in UpdateScreenState()
329 reset_animation(&batt_anim_); in UpdateScreenState()
338 disp_time = batt_anim_.frames[batt_anim_.cur_frame].disp_time; in UpdateScreenState()
346 if (batt_anim_.cur_frame == 0) { in UpdateScreenState()
348 batt_anim_.cur_level = health_info_.batteryLevel; in UpdateScreenState()
349 batt_anim_.cur_status = (int)health_info_.batteryStatus; in UpdateScreenState()
[all …]
Dhealthd_mode_charger.h77 animation batt_anim_; variable