Home
last modified time | relevance | path

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

/system/core/healthd/
Dhealthd_mode_charger.cpp203 : HalHealthLoop("charger", service), batt_anim_(BASE_ANIMATION) {} in Charger()
295 if (!batt_anim_.run || now < next_screen_transition_) return; in UpdateScreenState()
321 batt_anim_.run = false; in UpdateScreenState()
328 healthd_draw_.reset(new HealthdDraw(&batt_anim_)); in UpdateScreenState()
337 if (batt_anim_.num_cycles > 0 && batt_anim_.cur_cycle == batt_anim_.num_cycles) { in UpdateScreenState()
338 reset_animation(&batt_anim_); in UpdateScreenState()
347 disp_time = batt_anim_.frames[batt_anim_.cur_frame].disp_time; in UpdateScreenState()
355 if (batt_anim_.cur_frame == 0) { in UpdateScreenState()
357 batt_anim_.cur_level = health_info_.batteryLevel; in UpdateScreenState()
358 batt_anim_.cur_status = (int)health_info_.batteryStatus; in UpdateScreenState()
[all …]
Dhealthd_mode_charger.h82 animation batt_anim_; variable