Home
last modified time | relevance | path

Searched refs:act_time (Results 1 – 8 of 8) sorted by relevance

/lvgl-3.7.0/src/hal/
Dlv_hal_tick.c88 uint32_t act_time = lv_tick_get(); in lv_tick_elaps() local
91 if(act_time >= prev_tick) { in lv_tick_elaps()
92 prev_tick = act_time - prev_tick; in lv_tick_elaps()
96 prev_tick += act_time; in lv_tick_elaps()
/lvgl-3.7.0/src/misc/
Dlv_anim.c123 playtime = a->time - a->act_time; in lv_anim_get_playtime()
214 int32_t step = lv_map(a->act_time, 0, a->time, 0, LV_ANIM_RESOLUTION); in lv_anim_path_linear()
229 uint32_t t = lv_map(a->act_time, 0, a->time, 0, LV_BEZIER_VAL_MAX); in lv_anim_path_ease_in()
243 uint32_t t = lv_map(a->act_time, 0, a->time, 0, LV_BEZIER_VAL_MAX); in lv_anim_path_ease_out()
257 uint32_t t = lv_map(a->act_time, 0, a->time, 0, LV_BEZIER_VAL_MAX); in lv_anim_path_ease_in_out()
271 uint32_t t = lv_map(a->act_time, 0, a->time, 0, LV_BEZIER_VAL_MAX); in lv_anim_path_overshoot()
285 int32_t t = lv_map(a->act_time, 0, a->time, 0, LV_BEZIER_VAL_MAX); in lv_anim_path_bounce()
335 if(a->act_time >= a->time) in lv_anim_path_step()
371 int32_t new_act_time = a->act_time + elaps; in anim_timer()
372 if(!a->start_cb_called && a->act_time <= 0 && new_act_time >= 0) { in anim_timer()
[all …]
Dlv_anim_timeline.c139 const uint32_t act_time = progress * playtime / 0xFFFF; in lv_anim_timeline_set_progress() local
151 if(act_time < start_time) { in lv_anim_timeline_set_progress()
154 else if(act_time < (start_time + a->time)) { in lv_anim_timeline_set_progress()
155 a->act_time = act_time - start_time; in lv_anim_timeline_set_progress()
Dlv_anim.h88 int32_t act_time; /**< Current time in animation. Set to negative to make delay.*/ member
160 a->act_time = -(int32_t)(delay); in lv_anim_set_delay()
319 return -a->act_time; in lv_anim_get_delay()
/lvgl-3.7.0/src/widgets/
Dlv_label.c956 int32_t act_time = 0; in lv_label_refr_text() local
959 act_time = anim_cur->act_time; in lv_label_refr_text()
962 if(act_time < a.time) { in lv_label_refr_text()
963 a.act_time = act_time; /*To keep the old position*/ in lv_label_refr_text()
991 int32_t act_time = 0; in lv_label_refr_text() local
994 act_time = anim_cur->act_time; in lv_label_refr_text()
997 if(act_time < a.time) { in lv_label_refr_text()
998 a.act_time = act_time; /*To keep the old position*/ in lv_label_refr_text()
1056 int32_t act_time = anim_cur ? anim_cur->act_time : 0; in lv_label_refr_text() local
1060 a.act_time = anim_template->act_time; in lv_label_refr_text()
[all …]
/lvgl-3.7.0/examples/anim/
Dlv_example_anim_3.c67 uint32_t t = lv_map(a->act_time, 0, a->time, 0, 1024); in anim_path_bezier3_cb()
Dlv_example_anim_3.py116 t = lv.map(a.act_time, 0, a.time, 0, 1024)
/lvgl-3.7.0/demos/benchmark/
Dlv_demo_benchmark.c1167 a.act_time = a.time / 2; /*To start fro mteh middle*/ in fall_anim()