Searched refs:a1 (Results 1 – 6 of 6) sorted by relevance
/lvgl-3.7.0/examples/anim/ |
D | lv_example_anim_2.py | 17 a1 = lv.anim_t() variable 18 a1.init() 19 a1.set_var(obj) 20 a1.set_values(10, 50) 21 a1.set_time(1000) 22 a1.set_playback_delay(100) 23 a1.set_playback_time(300) 24 a1.set_repeat_delay(500) 25 a1.set_repeat_count(lv.ANIM_REPEAT.INFINITE) 26 a1.set_path_cb(lv.anim_t.path_ease_in_out) [all …]
|
D | lv_example_anim_timeline_1.c | 26 lv_anim_t a1; in anim_timeline_create() local 27 lv_anim_init(&a1); in anim_timeline_create() 28 lv_anim_set_var(&a1, obj1); in anim_timeline_create() 29 lv_anim_set_values(&a1, 0, obj_width); in anim_timeline_create() 30 lv_anim_set_early_apply(&a1, false); in anim_timeline_create() 31 lv_anim_set_exec_cb(&a1, (lv_anim_exec_xcb_t)set_width); in anim_timeline_create() 32 lv_anim_set_path_cb(&a1, lv_anim_path_overshoot); in anim_timeline_create() 33 lv_anim_set_time(&a1, 300); in anim_timeline_create() 84 lv_anim_timeline_add(anim_timeline, 0, &a1); in anim_timeline_create()
|
D | lv_example_anim_timeline_1.py | 58 self.a1 = lv.anim_t() 59 self.a1.init() 60 self.a1.set_values(0, self.obj_width) 61 self.a1.set_early_apply(False) 62 self.a1.set_custom_exec_cb(lambda a,v: self.set_width(self.obj1,v)) 63 self.a1.set_path_cb(lv.anim_t.path_overshoot) 64 self.a1.set_time(300) 111 lv.anim_timeline_add(self.anim_timeline, 0, self.a1)
|
/lvgl-3.7.0/examples/widgets/meter/ |
D | lv_example_meter_2.py | 32 a1 = lv.anim_t() variable 33 a1.init() 34 a1.set_values(0, 100) 35 a1.set_time(2000) 36 a1.set_repeat_delay(100) 37 a1.set_playback_delay(100) 38 a1.set_playback_time(500) 39 a1.set_var(indic1) 40 a1.set_repeat_count(lv.ANIM_REPEAT.INFINITE) 41 a1.set_custom_exec_cb(lambda a,val: set_value(indic1,val)) [all …]
|
D | lv_example_meter_3.py | 67 a1 = lv.anim_t() variable 68 a1.init() 69 a1.set_values(0, 60) 70 a1.set_repeat_count(lv.ANIM_REPEAT.INFINITE) 71 a1.set_time(2000) # 2 sec for 1 turn of the minute hand (1 hour) 72 a1.set_var(indic_min) 73 a1.set_custom_exec_cb(lambda a1,val: set_value(indic_min,val)) 74 lv.anim_t.start(a1)
|
/lvgl-3.7.0/examples/widgets/img/ |
D | lv_example_img_3.py | 42 a1 = lv.anim_t() variable 43 a1.init() 44 a1.set_var(img) 45 a1.set_custom_exec_cb(lambda a,val: set_angle(img,val)) 46 a1.set_values(0, 3600) 47 a1.set_time(5000) 48 a1.set_repeat_count(lv.ANIM_REPEAT.INFINITE) 49 lv.anim_t.start(a1)
|