Home
last modified time | relevance | path

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

/system/core/healthd/
Dhealthd_mode_charger.cpp132 .cur_frame = 0,
399 const struct animation::frame& frame = anim.frames[anim.cur_frame]; in draw_battery()
404 anim.cur_frame, frame.min_level, in draw_battery()
433 anim->cur_frame = 0; in reset_animation()
496 disp_time = batt_anim->frames[batt_anim->cur_frame].disp_time; in update_screen_state()
499 if (batt_anim->cur_frame == 0) { in update_screen_state()
510 batt_anim->cur_frame = i; in update_screen_state()
516 disp_time = batt_anim->frames[batt_anim->cur_frame].disp_time * in update_screen_state()
546 batt_anim->cur_frame++; in update_screen_state()
548 while (batt_anim->cur_frame < batt_anim->num_frames && in update_screen_state()
[all …]
Danimation.h60 int cur_frame; member