Home
last modified time | relevance | path

Searched refs:lv_event_send (Results 1 – 25 of 50) sorted by relevance

12

/lvgl-3.7.0/tests/src/test_cases/
Dtest_slider.c52 lv_event_send(slider, LV_EVENT_KEY, (void *) &key); in test_slider_event_keys_right_and_up_increment_value_by_one()
58 lv_event_send(slider, LV_EVENT_KEY, (void *) &key); in test_slider_event_keys_right_and_up_increment_value_by_one()
68 lv_event_send(slider, LV_EVENT_KEY, (void *) &key); in test_slider_event_keys_left_and_down_decrement_value_by_one()
74 lv_event_send(slider, LV_EVENT_KEY, (void *) &key); in test_slider_event_keys_left_and_down_decrement_value_by_one()
84 lv_event_send(slider, LV_EVENT_KEY, (void *) &key); in test_slider_event_invalid_key_should_not_change_values()
190 lv_event_send(sliderNormalMode, LV_EVENT_HIT_TEST, (void *) &info); in test_normal_mode_slider_hit_test()
208 lv_event_send(sliderRangeMode, LV_EVENT_HIT_TEST, (void *) &info); in test_slider_range_event_hit_test()
Dtest_event.c23 lv_event_send(obj, LV_EVENT_VALUE_CHANGED, NULL); in test_event_object_deletion()
/lvgl-3.7.0/src/core/
Dlv_obj_tree.c66 lv_event_send(par, LV_EVENT_CHILD_CHANGED, NULL); in lv_obj_del()
67 lv_event_send(par, LV_EVENT_CHILD_DELETED, NULL); in lv_obj_del()
172 lv_event_send(old_parent, LV_EVENT_CHILD_CHANGED, obj); in lv_obj_set_parent()
173 lv_event_send(old_parent, LV_EVENT_CHILD_DELETED, NULL); in lv_obj_set_parent()
176 lv_event_send(parent, LV_EVENT_CHILD_CHANGED, obj); in lv_obj_set_parent()
177 lv_event_send(parent, LV_EVENT_CHILD_CREATED, NULL); in lv_obj_set_parent()
215 lv_event_send(parent, LV_EVENT_CHILD_CHANGED, NULL); in lv_obj_move_to_index()
230 lv_event_send(parent2, LV_EVENT_CHILD_DELETED, obj2); in lv_obj_swap()
231 lv_event_send(parent, LV_EVENT_CHILD_DELETED, obj1); in lv_obj_swap()
236 lv_event_send(parent, LV_EVENT_CHILD_CHANGED, obj2); in lv_obj_swap()
[all …]
Dlv_indev.c451 if(!dis) lv_event_send(indev_obj_act, LV_EVENT_PRESSED, indev_act); in indev_keypad_proc()
459 lv_event_send(indev_obj_act, LV_EVENT_CANCEL, indev_act); in indev_keypad_proc()
473 lv_event_send(indev_obj_act, LV_EVENT_PRESSING, indev_act); in indev_keypad_proc()
482 lv_event_send(indev_obj_act, LV_EVENT_LONG_PRESSED, indev_act); in indev_keypad_proc()
494 lv_event_send(indev_obj_act, LV_EVENT_LONG_PRESSED_REPEAT, indev_act); in indev_keypad_proc()
523 lv_event_send(indev_obj_act, LV_EVENT_RELEASED, indev_act); in indev_keypad_proc()
527 lv_event_send(indev_obj_act, LV_EVENT_SHORT_CLICKED, indev_act); in indev_keypad_proc()
531 lv_event_send(indev_obj_act, LV_EVENT_CLICKED, indev_act); in indev_keypad_proc()
588 lv_event_send(indev_obj_act, LV_EVENT_PRESSED, indev_act); in indev_encoder_proc()
605 lv_event_send(indev_obj_act, LV_EVENT_CANCEL, indev_act); in indev_encoder_proc()
[all …]
Dlv_group.c76 lv_event_send(*group->obj_focus, LV_EVENT_DEFOCUSED, get_indev(group)); in lv_group_del()
189 lv_event_send(*g->obj_focus, LV_EVENT_DEFOCUSED, get_indev(g)); in lv_group_remove_obj()
221 lv_event_send(*group->obj_focus, LV_EVENT_DEFOCUSED, get_indev(group)); in lv_group_remove_all_objs()
250 lv_res_t res = lv_event_send(*g->obj_focus, LV_EVENT_DEFOCUSED, get_indev(g)); in lv_group_focus_obj()
259 lv_res_t res = lv_event_send(*g->obj_focus, LV_EVENT_FOCUSED, get_indev(g)); in lv_group_focus_obj()
299 return lv_event_send(act, LV_EVENT_KEY, &c); in lv_group_send_data()
323 lv_res_t res = lv_event_send(*group->obj_focus, LV_EVENT_FOCUSED, get_indev(group)); in lv_group_set_editing()
453 lv_res_t res = lv_event_send(*group->obj_focus, LV_EVENT_DEFOCUSED, get_indev(group)); in focus_next_core()
460 lv_res_t res = lv_event_send(*group->obj_focus, LV_EVENT_FOCUSED, get_indev(group)); in focus_next_core()
Dlv_disp.c363 lv_event_send(act_scr, LV_EVENT_SCREEN_UNLOAD_START, NULL); in lv_scr_load_anim()
481 if(d->act_scr) lv_event_send(old_scr, LV_EVENT_SCREEN_UNLOAD_START, NULL); in scr_load_internal()
482 if(d->act_scr) lv_event_send(scr, LV_EVENT_SCREEN_LOAD_START, NULL); in scr_load_internal()
487 if(d->act_scr) lv_event_send(scr, LV_EVENT_SCREEN_LOADED, NULL); in scr_load_internal()
488 if(d->act_scr) lv_event_send(old_scr, LV_EVENT_SCREEN_UNLOADED, NULL); in scr_load_internal()
500 lv_event_send(d->act_scr, LV_EVENT_SCREEN_LOAD_START, NULL); in scr_load_anim_start()
522 lv_event_send(d->act_scr, LV_EVENT_SCREEN_LOADED, NULL); in scr_anim_ready()
523 lv_event_send(d->prev_scr, LV_EVENT_SCREEN_UNLOADED, NULL); in scr_anim_ready()
Dlv_obj.c550 lv_event_send(obj, LV_EVENT_DRAW_PART_BEGIN, &part_dsc); in lv_obj_draw()
581 lv_event_send(obj, LV_EVENT_DRAW_PART_END, &part_dsc); in lv_obj_draw()
623 lv_event_send(obj, LV_EVENT_DRAW_PART_BEGIN, &part_dsc); in lv_obj_draw()
626 lv_event_send(obj, LV_EVENT_DRAW_PART_END, &part_dsc); in lv_obj_draw()
653 lv_event_send(obj, LV_EVENT_DRAW_PART_BEGIN, &part_dsc); in draw_scrollbar()
655 lv_event_send(obj, LV_EVENT_DRAW_PART_END, &part_dsc); in draw_scrollbar()
659 lv_event_send(obj, LV_EVENT_DRAW_PART_BEGIN, &part_dsc); in draw_scrollbar()
662 lv_event_send(obj, LV_EVENT_DRAW_PART_END, &part_dsc); in draw_scrollbar()
741 lv_res_t res = lv_event_send(obj, LV_EVENT_VALUE_CHANGED, NULL); in lv_obj_event()
767 lv_res_t res = lv_event_send(obj, LV_EVENT_VALUE_CHANGED, NULL); in lv_obj_event()
Dlv_refr.c147 lv_event_send(obj, LV_EVENT_DRAW_MAIN_BEGIN, draw_ctx); in lv_obj_redraw()
148 lv_event_send(obj, LV_EVENT_DRAW_MAIN, draw_ctx); in lv_obj_redraw()
149 lv_event_send(obj, LV_EVENT_DRAW_MAIN_END, draw_ctx); in lv_obj_redraw()
191 lv_event_send(obj, LV_EVENT_DRAW_POST_BEGIN, draw_ctx); in lv_obj_redraw()
192 lv_event_send(obj, LV_EVENT_DRAW_POST, draw_ctx); in lv_obj_redraw()
193 lv_event_send(obj, LV_EVENT_DRAW_POST_END, draw_ctx); in lv_obj_redraw()
817 lv_event_send(obj, LV_EVENT_COVER_CHECK, &info); in lv_refr_get_top_obj()
879 lv_event_send(parent, LV_EVENT_DRAW_POST_BEGIN, (void *)draw_ctx); in refr_obj_and_children()
880 lv_event_send(parent, LV_EVENT_DRAW_POST, (void *)draw_ctx); in refr_obj_and_children()
881 lv_event_send(parent, LV_EVENT_DRAW_POST_END, (void *)draw_ctx); in refr_obj_and_children()
[all …]
Dlv_obj_class.c126 lv_event_send(parent, LV_EVENT_CHILD_CHANGED, obj); in lv_obj_class_init_obj()
127 lv_event_send(parent, LV_EVENT_CHILD_CREATED, obj); in lv_obj_class_init_obj()
Dlv_obj_scroll.c323 res = lv_event_send(obj, LV_EVENT_SCROLL_BEGIN, &a); in lv_obj_scroll_by()
339 res = lv_event_send(obj, LV_EVENT_SCROLL_BEGIN, &a); in lv_obj_scroll_by()
350 res = lv_event_send(obj, LV_EVENT_SCROLL_BEGIN, NULL); in lv_obj_scroll_by()
356 res = lv_event_send(obj, LV_EVENT_SCROLL_END, NULL); in lv_obj_scroll_by()
421 lv_res_t res = lv_event_send(obj, LV_EVENT_SCROLL, NULL); in _lv_obj_scroll_by_raw()
680 lv_event_send(a->var, LV_EVENT_SCROLL_END, NULL); in scroll_anim_ready_cb()
784 res = lv_event_send(parent, LV_EVENT_SCROLL_END, NULL); in scroll_area_into_view()
Dlv_event.h145 lv_res_t lv_event_send(struct _lv_obj_t * obj, lv_event_code_t event_code, void * param);
/lvgl-3.7.0/src/widgets/
Dlv_slider.c248 res = lv_event_send(obj, LV_EVENT_VALUE_CHANGED, NULL); in lv_slider_event()
324 res = lv_event_send(obj, LV_EVENT_VALUE_CHANGED, NULL); in lv_slider_event()
376 lv_event_send(obj, LV_EVENT_DRAW_PART_BEGIN, &part_draw_dsc); in draw_knob()
378 lv_event_send(obj, LV_EVENT_DRAW_PART_END, &part_draw_dsc); in draw_knob()
385 lv_event_send(obj, LV_EVENT_DRAW_PART_BEGIN, &part_draw_dsc); in draw_knob()
387 lv_event_send(obj, LV_EVENT_DRAW_PART_END, &part_draw_dsc); in draw_knob()
406 lv_event_send(obj, LV_EVENT_DRAW_PART_BEGIN, &part_draw_dsc); in draw_knob()
408 lv_event_send(obj, LV_EVENT_DRAW_PART_END, &part_draw_dsc); in draw_knob()
Dlv_arc.c557 res = lv_event_send(obj, LV_EVENT_VALUE_CHANGED, NULL); in lv_arc_event()
591 res = lv_event_send(obj, LV_EVENT_VALUE_CHANGED, NULL); in lv_arc_event()
670 lv_event_send(obj, LV_EVENT_DRAW_PART_BEGIN, &part_draw_dsc); in lv_arc_draw()
675 lv_event_send(obj, LV_EVENT_DRAW_PART_END, &part_draw_dsc); in lv_arc_draw()
695 lv_event_send(obj, LV_EVENT_DRAW_PART_BEGIN, &part_draw_dsc); in lv_arc_draw()
701 lv_event_send(obj, LV_EVENT_DRAW_PART_END, &part_draw_dsc); in lv_arc_draw()
716 lv_event_send(obj, LV_EVENT_DRAW_PART_BEGIN, &part_draw_dsc); in lv_arc_draw()
720 lv_event_send(obj, LV_EVENT_DRAW_PART_END, &part_draw_dsc); in lv_arc_draw()
Dlv_bar.c398 lv_event_send(obj, LV_EVENT_DRAW_PART_BEGIN, &part_draw_dsc); in draw_indic()
399 lv_event_send(obj, LV_EVENT_DRAW_PART_END, &part_draw_dsc); in draw_indic()
418 lv_event_send(obj, LV_EVENT_DRAW_PART_BEGIN, &part_draw_dsc); in draw_indic()
505 lv_event_send(obj, LV_EVENT_DRAW_PART_END, &part_draw_dsc); in draw_indic()
/lvgl-3.7.0/src/extra/widgets/keyboard/
Dlv_keyboard.c304 lv_res_t res = lv_event_send(obj, LV_EVENT_CANCEL, NULL); in lv_keyboard_def_event_cb()
308 res = lv_event_send(keyboard->ta, LV_EVENT_CANCEL, NULL); in lv_keyboard_def_event_cb()
314 lv_res_t res = lv_event_send(obj, LV_EVENT_READY, NULL); in lv_keyboard_def_event_cb()
318 res = lv_event_send(keyboard->ta, LV_EVENT_READY, NULL); in lv_keyboard_def_event_cb()
330 lv_res_t res = lv_event_send(keyboard->ta, LV_EVENT_READY, NULL); in lv_keyboard_def_event_cb()
/lvgl-3.7.0/src/extra/widgets/chart/
Dlv_chart.c726 lv_event_send(obj, LV_EVENT_VALUE_CHANGED, NULL); in lv_chart_event()
795 lv_event_send(obj, LV_EVENT_DRAW_PART_BEGIN, &part_draw_dsc); in draw_div_lines()
826 lv_event_send(obj, LV_EVENT_DRAW_PART_BEGIN, &part_draw_dsc); in draw_div_lines()
828 lv_event_send(obj, LV_EVENT_DRAW_PART_END, &part_draw_dsc); in draw_div_lines()
854 lv_event_send(obj, LV_EVENT_DRAW_PART_BEGIN, &part_draw_dsc); in draw_div_lines()
856 lv_event_send(obj, LV_EVENT_DRAW_PART_END, &part_draw_dsc); in draw_div_lines()
863 lv_event_send(obj, LV_EVENT_DRAW_PART_END, &part_draw_dsc); in draw_div_lines()
994 lv_event_send(obj, LV_EVENT_DRAW_PART_BEGIN, &part_draw_dsc); in draw_series_line()
1004 lv_event_send(obj, LV_EVENT_DRAW_PART_END, &part_draw_dsc); in draw_series_line()
1027 lv_event_send(obj, LV_EVENT_DRAW_PART_BEGIN, &part_draw_dsc); in draw_series_line()
[all …]
/lvgl-3.7.0/examples/widgets/arc/
Dlv_example_arc_1.c21 lv_event_send(arc, LV_EVENT_VALUE_CHANGED, NULL); in lv_example_arc_1()
/lvgl-3.7.0/examples/widgets/textarea/
Dlv_example_textarea_1.c17 else if(strcmp(txt, LV_SYMBOL_NEW_LINE) == 0) lv_event_send(ta, LV_EVENT_READY, NULL); in btnm_event_handler()
/lvgl-3.7.0/src/extra/widgets/meter/
Dlv_meter.c369 lv_event_send(obj, LV_EVENT_DRAW_PART_BEGIN, &part_draw_dsc); in draw_arcs()
371 lv_event_send(obj, LV_EVENT_DRAW_PART_END, &part_draw_dsc); in draw_arcs()
513 lv_event_send(obj, LV_EVENT_DRAW_PART_BEGIN, &part_draw_dsc); in draw_ticks_and_labels()
533 lv_event_send(obj, LV_EVENT_DRAW_PART_BEGIN, &part_draw_dsc); in draw_ticks_and_labels()
539 lv_event_send(obj, LV_EVENT_DRAW_MAIN_END, &part_draw_dsc); in draw_ticks_and_labels()
595 lv_event_send(obj, LV_EVENT_DRAW_PART_BEGIN, &part_draw_dsc); in draw_needles()
597 lv_event_send(obj, LV_EVENT_DRAW_PART_END, &part_draw_dsc); in draw_needles()
621 lv_event_send(obj, LV_EVENT_DRAW_PART_BEGIN, &part_draw_dsc); in draw_needles()
623 lv_event_send(obj, LV_EVENT_DRAW_PART_END, &part_draw_dsc); in draw_needles()
/lvgl-3.7.0/src/extra/widgets/led/
Dlv_led.c215 lv_event_send(obj, LV_EVENT_DRAW_PART_BEGIN, &part_draw_dsc); in lv_led_event()
217 lv_event_send(obj, LV_EVENT_DRAW_PART_END, &part_draw_dsc); in lv_led_event()
/lvgl-3.7.0/examples/widgets/img/
Dlv_example_img_2.c37 lv_event_send(intense_slider, LV_EVENT_VALUE_CHANGED, NULL); in lv_example_img_2()
/lvgl-3.7.0/examples/scroll/
Dlv_example_scroll_6.c74 lv_event_send(cont, LV_EVENT_SCROLL, NULL); in lv_example_scroll_6()
/lvgl-3.7.0/src/extra/libs/rlottie/
Dlv_rlottie.c246 lv_event_send(obj, LV_EVENT_READY, NULL); in next_frame_task_cb()
259 lv_event_send(obj, LV_EVENT_READY, NULL); in next_frame_task_cb()
/lvgl-3.7.0/examples/widgets/menu/
Dlv_example_menu_5.c110lv_event_send(lv_obj_get_child(lv_obj_get_child(lv_menu_get_cur_sidebar_page(menu), 0), 0), LV_EVE… in lv_example_menu_5()
133lv_event_send(lv_obj_get_child(lv_obj_get_child(lv_menu_get_cur_sidebar_page(menu), 0), 0), LV_EVE… in switch_handler()
/lvgl-3.7.0/docs/overview/
Devent.md128 They can be sent to any object with `lv_event_send(obj, MY_EVENT_1, &some_data)`
132 To manually send events to an object, use `lv_event_send(obj, <EVENT_CODE> &some_data)`.
138 lv_event_send(mbox, LV_EVENT_VALUE_CHANGED, &btn_id);
156 - `lv_event_get_param(e)` get the parameter passed as the last parameter of `lv_event_send`

12