Home
last modified time | relevance | path

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

/lvgl-3.5.0/src/core/
Dlv_obj_style.c328 trans_t * tr; in _lv_obj_style_create_transition() local
355 tr = _lv_ll_ins_head(&LV_GC_ROOT(_lv_obj_style_trans_ll)); in _lv_obj_style_create_transition()
356 LV_ASSERT_MALLOC(tr); in _lv_obj_style_create_transition()
357 if(tr == NULL) return; in _lv_obj_style_create_transition()
358 tr->start_value = v1; in _lv_obj_style_create_transition()
359 tr->end_value = v2; in _lv_obj_style_create_transition()
360 tr->obj = obj; in _lv_obj_style_create_transition()
361 tr->prop = tr_dsc->prop; in _lv_obj_style_create_transition()
362 tr->selector = part; in _lv_obj_style_create_transition()
366 lv_anim_set_var(&a, tr); in _lv_obj_style_create_transition()
[all …]
Dlv_obj.c882 const lv_style_transition_dsc_t * tr = v.ptr; in lv_obj_set_state() local
886 for(j = 0; tr->props[j] != 0 && tsi < STYLE_TRANSITION_MAX; j++) { in lv_obj_set_state()
892 … if(ts[t].prop == tr->props[j] && part_ts == part_act && state_ts >= state_act) break; in lv_obj_set_state()
897 ts[tsi].time = tr->time; in lv_obj_set_state()
898 ts[tsi].delay = tr->delay; in lv_obj_set_state()
899 ts[tsi].path_cb = tr->path_xcb; in lv_obj_set_state()
900 ts[tsi].prop = tr->props[j]; in lv_obj_set_state()
902 ts[tsi].user_data = tr->user_data; in lv_obj_set_state()
Dlv_obj_style.h172 … lv_state_t new_state, const _lv_obj_style_transition_dsc_t * tr);
/lvgl-3.5.0/
DREADME_zh.md56 <tr>
60 </tr>
61 <tr>
64 </tr>
65 <tr>
69 </tr>
71 <tr>
75 </tr>
77 <tr>
81 </tr>
[all …]
DREADME.md54 <tr>
58 </tr>
59 <tr>
62 </tr>
63 <tr>
67 </tr>
69 <tr>
73 </tr>
75 <tr>
79 </tr>
[all …]
DREADME_pt_BR.md52 <tr>
62 </tr>
63 <tr>
68 </tr>
69 <tr>
75 </tr>
76 <tr>
82 </tr>
84 <tr>
90 </tr>
[all …]
/lvgl-3.5.0/examples/widgets/imgbtn/
Dlv_example_imgbtn_1.c12 static lv_style_transition_dsc_t tr; in lv_example_imgbtn_1() local
13 lv_style_transition_dsc_init(&tr, tr_prop, lv_anim_path_linear, 200, 0, NULL); in lv_example_imgbtn_1()
18 lv_style_set_transition(&style_def, &tr); in lv_example_imgbtn_1()
Dlv_example_imgbtn_1.py47 tr = lv.style_transition_dsc_t() variable
48 tr.init(tr_prop, lv.anim_t.path_linear, 200, 0, None)
53 style_def.set_transition(tr)
/lvgl-3.5.0/src/misc/
Dlv_style.c297 void lv_style_transition_dsc_init(lv_style_transition_dsc_t * tr, const lv_style_prop_t props[], in lv_style_transition_dsc_init() argument
300 lv_memset_00(tr, sizeof(lv_style_transition_dsc_t)); in lv_style_transition_dsc_init()
301 tr->props = props; in lv_style_transition_dsc_init()
302 tr->path_xcb = path_cb == NULL ? lv_anim_path_linear : path_cb; in lv_style_transition_dsc_init()
303 tr->time = time; in lv_style_transition_dsc_init()
304 tr->delay = delay; in lv_style_transition_dsc_init()
306 tr->user_data = user_data; in lv_style_transition_dsc_init()
Dlv_style.h428 void lv_style_transition_dsc_init(lv_style_transition_dsc_t * tr, const lv_style_prop_t props[],