Home
last modified time | relevance | path

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

/system/core/healthd/
Dhealthd_mode_charger.cpp141 .cur_frame = 0,
279 anim->cur_frame = 0; in reset_animation()
338 disp_time = batt_anim_.frames[batt_anim_.cur_frame].disp_time; in UpdateScreenState()
346 if (batt_anim_.cur_frame == 0) { in UpdateScreenState()
355 batt_anim_.cur_frame = i; in UpdateScreenState()
362 disp_time = batt_anim_.frames[batt_anim_.cur_frame].disp_time * in UpdateScreenState()
368 LOGV("cur_frame=%d disp_time=%d\n", batt_anim_.cur_frame, disp_time); in UpdateScreenState()
392 batt_anim_.cur_frame++; in UpdateScreenState()
394 while (batt_anim_.cur_frame < batt_anim_.num_frames && in UpdateScreenState()
395 (batt_anim_.cur_level < batt_anim_.frames[batt_anim_.cur_frame].min_level || in UpdateScreenState()
[all …]
Danimation.h79 int cur_frame; member
Dhealthd_draw.cpp215 const animation::frame& frame = anim->frames[anim->cur_frame]; in draw_battery()
219 LOGV("drawing frame #%d min_cap=%d time=%d\n", anim->cur_frame, frame.min_level, in draw_battery()
/system/core/libbacktrace/
DUnwindStack.cpp107 size_t cur_frame = 0; in Unwind() local
111 backtrace_frame_data_t* back_frame = &frames->at(cur_frame); in Unwind()
113 back_frame->num = cur_frame++; in Unwind()