Searched refs:act_time (Results 1 – 8 of 8) sorted by relevance
/lvgl-latest/src/misc/ |
D | lv_anim_timeline.c | 34 uint32_t act_time; /**< Current time of the animation*/ member 44 static void anim_timeline_set_act_time(lv_anim_timeline_t * at, uint32_t act_time); 96 uint32_t start = at->act_time; in lv_anim_timeline_start() 100 if((!at->reverse && at->act_time == 0) || (at->reverse && at->act_time == playtime)) { in lv_anim_timeline_start() 150 uint32_t act_time = lv_map(progress, 0, LV_ANIM_TIMELINE_PROGRESS_MAX, 0, playtime); in lv_anim_timeline_set_progress() local 151 anim_timeline_set_act_time(at, act_time); in lv_anim_timeline_set_progress() 182 return lv_map(at->act_time, 0, playtime, 0, LV_ANIM_TIMELINE_PROGRESS_MAX); in lv_anim_timeline_get_progress() 201 static void anim_timeline_set_act_time(lv_anim_timeline_t * at, uint32_t act_time) in anim_timeline_set_act_time() argument 203 at->act_time = act_time; in anim_timeline_set_act_time() 212 if(act_time < start_time && a->early_apply) { in anim_timeline_set_act_time() [all …]
|
D | lv_anim.c | 257 int32_t step = lv_map(a->act_time, 0, a->duration, 0, LV_ANIM_RESOLUTION); in lv_anim_path_linear() 295 int32_t t = lv_map(a->act_time, 0, a->duration, 0, LV_BEZIER_VAL_MAX); in lv_anim_path_bounce() 346 if(a->act_time >= a->duration) in lv_anim_path_step() 375 a->act_time = -(int32_t)(delay); in lv_anim_set_delay() 462 return -a->act_time; in lv_anim_get_delay() 557 a->act_time += pause_overrun; in anim_timer() 561 a->act_time += elaps; in anim_timer() 575 if(!a->start_cb_called && a->act_time >= 0) { in anim_timer() 592 if(a->act_time >= 0) { in anim_timer() 593 …int32_t act_time_original = a->act_time; /*The unclipped version is used later to correctly repeat… in anim_timer() [all …]
|
D | lv_anim.h | 139 …int32_t act_time; /**< Ms elapsed since animation started. Set to negative… member
|
/lvgl-latest/src/drivers/nuttx/ |
D | lv_nuttx_profiler.c | 74 uint32_t act_time = up_perf_gettime(); in tick_get_cb() local 78 if(act_time >= prev_tick) { in tick_get_cb() 79 elaps = act_time - prev_tick; in tick_get_cb() 83 elaps += act_time; in tick_get_cb() 87 prev_tick = act_time; in tick_get_cb()
|
/lvgl-latest/src/tick/ |
D | lv_tick.c | 69 uint32_t act_time = lv_tick_get(); in lv_tick_elaps() local 72 if(act_time >= prev_tick) { in lv_tick_elaps() 73 prev_tick = act_time - prev_tick; in lv_tick_elaps() 77 prev_tick += act_time; in lv_tick_elaps()
|
/lvgl-latest/src/widgets/label/ |
D | lv_label.c | 910 if(dest->act_time <= 0) in overwrite_anim_property() 911 dest->act_time = src->act_time; in overwrite_anim_property() 919 if(dest->act_time <= 0) in overwrite_anim_property() 920 dest->act_time = src->act_time; in overwrite_anim_property() 998 int32_t act_time = 0; in lv_label_refr_text() local 1001 act_time = anim_cur->act_time; in lv_label_refr_text() 1007 if(act_time < duration_resolved) { in lv_label_refr_text() 1008 a.act_time = act_time; in lv_label_refr_text() 1028 if(act_time < 0) label->offset.x = start; in lv_label_refr_text() 1043 int32_t act_time = 0; in lv_label_refr_text() local [all …]
|
/lvgl-latest/src/widgets/lottie/ |
D | lv_lottie.c | 129 lottie->anim->act_time = 0; in lv_lottie_set_src_data() 147 lottie->anim->act_time = 0; in lv_lottie_set_src_file() 206 lottie->last_rendered_time = lottie->anim->act_time; in anim_exec_cb() 213 lottie->anim->act_time = lottie->last_rendered_time; in anim_exec_cb()
|
/lvgl-latest/examples/anim/ |
D | lv_example_anim_3.c | 67 uint32_t t = lv_map(a->act_time, 0, a->duration, 0, 1024); in anim_path_bezier3_cb()
|