Home
last modified time | relevance | path

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

/lvgl-3.7.0/src/misc/
Dlv_anim.c88 lv_anim_t * new_anim = _lv_ll_ins_head(&LV_GC_ROOT(_lv_anim_ll)); in lv_anim_start() local
89 LV_ASSERT_MALLOC(new_anim); in lv_anim_start()
90 if(new_anim == NULL) return NULL; in lv_anim_start()
93 lv_memcpy(new_anim, a, sizeof(lv_anim_t)); in lv_anim_start()
94 if(a->var == a) new_anim->var = new_anim; in lv_anim_start()
95 new_anim->run_round = anim_run_round; in lv_anim_start()
98 if(new_anim->early_apply) { in lv_anim_start()
99 if(new_anim->get_value_cb) { in lv_anim_start()
100 int32_t v_ofs = new_anim->get_value_cb(new_anim); in lv_anim_start()
101 new_anim->start_value += v_ofs; in lv_anim_start()
[all …]