Home
last modified time | relevance | path

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

/lvgl-3.7.0/src/misc/
Dlv_anim_timeline.c95 const uint32_t playtime = lv_anim_timeline_get_playtime(at); in lv_anim_timeline_start() local
106 lv_anim_set_delay(&a, playtime - (start_time + a.time)); in lv_anim_timeline_start()
115 return playtime; in lv_anim_timeline_start()
138 const uint32_t playtime = lv_anim_timeline_get_playtime(at); in lv_anim_timeline_set_progress() local
139 const uint32_t act_time = progress * playtime / 0xFFFF; in lv_anim_timeline_set_progress()
170 uint32_t playtime = 0; in lv_anim_timeline_get_playtime() local
176 if(end > playtime) { in lv_anim_timeline_get_playtime()
177 playtime = end; in lv_anim_timeline_get_playtime()
181 return playtime; in lv_anim_timeline_get_playtime()
Dlv_anim.c118 uint32_t playtime = LV_ANIM_PLAYTIME_INFINITE; in lv_anim_get_playtime() local
121 return playtime; in lv_anim_get_playtime()
123 playtime = a->time - a->act_time; in lv_anim_get_playtime()
125 playtime += a->playback_delay + a->playback_time; in lv_anim_get_playtime()
128 return playtime; in lv_anim_get_playtime()
130 playtime += (a->repeat_delay + a->time + in lv_anim_get_playtime()
134 return playtime; in lv_anim_get_playtime()