/lvgl-3.7.0/examples/anim/ |
D | lv_example_anim_2.c | 4 static void anim_x_cb(void * var, int32_t v) in anim_x_cb() argument 6 lv_obj_set_x(var, v); in anim_x_cb() 9 static void anim_size_cb(void * var, int32_t v) in anim_size_cb() argument 11 lv_obj_set_size(var, v, v); in anim_size_cb()
|
D | lv_example_anim_1.c | 4 static void anim_x_cb(void * var, int32_t v) in anim_x_cb() argument 6 lv_obj_set_x(var, v); in anim_x_cb()
|
D | lv_example_anim_timeline_1.c | 13 static void set_width(void * var, int32_t v) in set_width() argument 15 lv_obj_set_width((lv_obj_t *)var, v); in set_width() 18 static void set_height(void * var, int32_t v) in set_height() argument 20 lv_obj_set_height((lv_obj_t *)var, v); in set_height()
|
D | lv_example_anim_3.c | 32 static void anim_x_cb(void * var, int32_t v); 86 static void anim_x_cb(void * var, int32_t v) in anim_x_cb() argument 88 lv_obj_set_style_translate_x(var, v, LV_PART_MAIN); in anim_x_cb()
|
D | lv_example_anim_3.py | 112 def anim_x_cb(self, var, v): argument 113 var.set_style_translate_x(v, lv.PART.MAIN)
|
/lvgl-3.7.0/src/misc/ |
D | lv_anim.h | 74 void * var; /**<Variable to animate*/ member 126 static inline void lv_anim_set_var(lv_anim_t * a, void * var) in lv_anim_set_var() argument 128 a->var = var; in lv_anim_set_var() 187 a->var = a; in lv_anim_set_custom_exec_cb() 348 bool lv_anim_del(void * var, lv_anim_exec_xcb_t exec_cb); 361 lv_anim_t * lv_anim_get(void * var, lv_anim_exec_xcb_t exec_cb); 382 return lv_anim_del(a ? a->var : NULL, (lv_anim_exec_xcb_t)exec_cb); in lv_anim_custom_del() 396 return lv_anim_get(a ? a->var : NULL, (lv_anim_exec_xcb_t)exec_cb); in lv_anim_custom_get()
|
D | lv_anim_timeline.c | 37 static void lv_anim_timeline_virtual_exec_cb(void * var, int32_t v); 85 if(a->var == NULL && a->exec_cb == NULL) { in lv_anim_timeline_add() 86 at->anim_dsc[at->anim_dsc_cnt - 1].anim.var = at; in lv_anim_timeline_add() 124 lv_anim_del(a->var, a->exec_cb); in lv_anim_timeline_stop() 162 a->exec_cb(a->var, value); in lv_anim_timeline_set_progress() 194 static void lv_anim_timeline_virtual_exec_cb(void * var, int32_t v) in lv_anim_timeline_virtual_exec_cb() argument 196 LV_UNUSED(var); in lv_anim_timeline_virtual_exec_cb()
|
D | lv_anim.c | 80 …if(a->exec_cb != NULL) lv_anim_del(a->var, a->exec_cb); /*exec_cb == NULL would delete all animati… in lv_anim_start() 94 if(a->var == a) new_anim->var = new_anim; in lv_anim_start() 105 … if(new_anim->exec_cb && new_anim->var) new_anim->exec_cb(new_anim->var, new_anim->start_value); in lv_anim_start() 137 bool lv_anim_del(void * var, lv_anim_exec_xcb_t exec_cb) in lv_anim_del() argument 147 if((a->var == var || var == NULL) && (a->exec_cb == exec_cb || exec_cb == NULL)) { in lv_anim_del() 168 lv_anim_t * lv_anim_get(void * var, lv_anim_exec_xcb_t exec_cb) in lv_anim_get() argument 172 if(a->var == var && (a->exec_cb == exec_cb || exec_cb == NULL)) { in lv_anim_get() 391 if(a->exec_cb) a->exec_cb(a->var, new_value); in anim_timer()
|
/lvgl-3.7.0/src/widgets/ |
D | lv_bar.c | 549 static void lv_bar_anim(void * var, int32_t value) in lv_bar_anim() argument 551 _lv_bar_anim_t * bar_anim = var; in lv_bar_anim() 558 _lv_bar_anim_t * var = a->var; in lv_bar_anim_ready() local 559 lv_obj_t * obj = (lv_obj_t *)var->bar; in lv_bar_anim_ready() 562 var->anim_state = LV_BAR_ANIM_STATE_INV; in lv_bar_anim_ready() 563 if(var == &bar->cur_value_anim) in lv_bar_anim_ready() 564 bar->cur_value = var->anim_end; in lv_bar_anim_ready() 565 else if(var == &bar->start_value_anim) in lv_bar_anim_ready() 566 bar->start_value = var->anim_end; in lv_bar_anim_ready() 567 lv_obj_invalidate(var->bar); in lv_bar_anim_ready()
|
D | lv_switch.c | 217 static void lv_switch_anim_exec_cb(void * var, int32_t value) in lv_switch_anim_exec_cb() argument 219 lv_switch_t * sw = var; in lv_switch_anim_exec_cb() 229 lv_switch_t * sw = a->var; in lv_switch_anim_ready()
|
D | lv_roller.c | 773 lv_obj_t * obj = lv_obj_get_parent(a->var); /*The label is animated*/ in scroll_anim_ready_cb()
|
D | lv_textarea.c | 964 lv_obj_t * obj = a->var; in pwd_char_hider_anim_ready()
|
/lvgl-3.7.0/src/core/ |
D | lv_disp.c | 495 lv_disp_t * d = lv_obj_get_disp(a->var); in scr_load_anim_start() 498 d->act_scr = a->var; in scr_load_anim_start() 520 lv_disp_t * d = lv_obj_get_disp(a->var); in scr_anim_ready() 529 lv_obj_remove_local_style_prop(a->var, LV_STYLE_OPA, 0); in scr_anim_ready()
|
D | lv_obj_style.c | 817 trans_t * tr = a->var; in trans_anim_start_cb() 838 trans_t * tr = a->var; in trans_anim_ready_cb() 892 lv_obj_remove_local_style_prop(a->var, LV_STYLE_OPA, 0); in fade_in_anim_ready()
|
D | lv_obj_tree.c | 118 lv_obj_del(a->var); in lv_obj_del_anim_ready_cb()
|
D | lv_obj_scroll.c | 680 lv_event_send(a->var, LV_EVENT_SCROLL_END, NULL); in scroll_anim_ready_cb()
|
/lvgl-3.7.0/demos/widgets/ |
D | lv_demo_widgets.c | 51 static void meter1_indic1_anim_cb(void * var, int32_t v); 52 static void meter1_indic2_anim_cb(void * var, int32_t v); 53 static void meter1_indic3_anim_cb(void * var, int32_t v); 55 static void meter3_anim_cb(void * var, int32_t v); 1024 static void color_changer_anim_cb(void * var, int32_t v) in color_changer_anim_cb() argument 1026 lv_obj_t * obj = var; in color_changer_anim_cb() 1507 static void meter1_indic1_anim_cb(void * var, int32_t v) in meter1_indic1_anim_cb() argument 1509 lv_meter_set_indicator_end_value(meter1, var, v); in meter1_indic1_anim_cb() 1516 static void meter1_indic2_anim_cb(void * var, int32_t v) in meter1_indic2_anim_cb() argument 1518 lv_meter_set_indicator_end_value(meter1, var, v); in meter1_indic2_anim_cb() [all …]
|
/lvgl-3.7.0/docs/overview/ |
D | animation.md | 8 void func(void * var, lv_anim_var_t value); 103 You can delete an animation with `lv_anim_del(var, func)` if you provide the animated variable and …
|
/lvgl-3.7.0/demos/benchmark/ |
D | lv_demo_benchmark.c | 1115 static void arc_anim_end_angle_cb(void * var, int32_t v) in arc_anim_end_angle_cb() argument 1117 lv_arc_set_end_angle(var, v); in arc_anim_end_angle_cb() 1148 static void fall_anim_y_cb(void * var, int32_t v) in fall_anim_y_cb() argument 1150 lv_obj_set_y(var, v); in fall_anim_y_cb()
|
/lvgl-3.7.0/demos/music/ |
D | lv_demo_music_main.c | 65 static void album_fade_anim_cb(void * var, int32_t v); 1006 static void album_fade_anim_cb(void * var, int32_t v) in album_fade_anim_cb() argument 1008 lv_obj_set_style_img_opa(var, v, 0); in album_fade_anim_cb()
|