Searched refs:batt_anim (Results 1 – 1 of 1) sorted by relevance
117 struct animation *batt_anim; member307 struct animation *batt_anim = charger->batt_anim; in draw_battery() local308 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() local325 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() local350 if (!batt_anim->run || now < charger->next_screen_transition) in update_screen_state()358 batt_anim->run = false; in update_screen_state()[all …]