Searched refs:cur_frame (Results 1 – 3 of 3) sorted by relevance
151 .cur_frame = 0,288 anim->cur_frame = 0; in reset_animation()341 disp_time = batt_anim_.frames[batt_anim_.cur_frame].disp_time; in UpdateScreenState()358 if (batt_anim_.cur_frame == 0) { in UpdateScreenState()367 batt_anim_.cur_frame = i; in UpdateScreenState()374 disp_time = batt_anim_.frames[batt_anim_.cur_frame].disp_time * in UpdateScreenState()380 LOGV("cur_frame=%d disp_time=%d\n", batt_anim_.cur_frame, disp_time); in UpdateScreenState()404 batt_anim_.cur_frame++; in UpdateScreenState()406 while (batt_anim_.cur_frame < batt_anim_.num_frames && in UpdateScreenState()407 (batt_anim_.cur_level < batt_anim_.frames[batt_anim_.cur_frame].min_level || in UpdateScreenState()[all …]
71 int cur_frame; member
234 const animation::frame& frame = anim->frames[anim->cur_frame]; in draw_battery()238 LOGV("drawing frame #%d min_cap=%d time=%d\n", anim->cur_frame, frame.min_level, in draw_battery()