Home
last modified time | relevance | path

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

/system/core/healthd/
Dhealthd_mode_charger.cpp117 struct animation *batt_anim; member
307 struct animation *batt_anim = charger->batt_anim; in draw_battery() local
308 struct frame *frame = &batt_anim->frames[batt_anim->cur_frame]; in draw_battery()
310 if (batt_anim->num_frames != 0) { in draw_battery()
313 batt_anim->cur_frame, frame->min_capacity, in draw_battery()
320 struct animation *batt_anim = charger->batt_anim; in redraw_screen() local
325 if (batt_anim->capacity < 0 || batt_anim->num_frames == 0) in redraw_screen()
346 struct animation *batt_anim = charger->batt_anim; in update_screen_state() local
350 if (!batt_anim->run || now < charger->next_screen_transition) in update_screen_state()
358 batt_anim->run = false; in update_screen_state()
[all …]