Home
last modified time | relevance | path

Searched refs:lv_obj_send_event (Results 1 – 25 of 57) sorted by relevance

123

/lvgl-latest/tests/src/test_cases/
Dtest_file_explorer.c57 lv_obj_send_event(file_explorer->file_table, LV_EVENT_VALUE_CHANGED, NULL); in test_file_explorer_read_dir()
68 lv_obj_send_event(file_explorer->file_table, LV_EVENT_VALUE_CHANGED, NULL); in test_file_explorer_read_dir()
73 lv_obj_send_event(file_explorer->file_table, LV_EVENT_VALUE_CHANGED, NULL); in test_file_explorer_read_dir()
78 lv_obj_send_event(file_explorer->file_table, LV_EVENT_VALUE_CHANGED, NULL); in test_file_explorer_read_dir()
83 lv_obj_send_event(file_explorer->file_table, LV_EVENT_VALUE_CHANGED, NULL); in test_file_explorer_read_dir()
94 lv_obj_send_event(file_explorer->file_table, LV_EVENT_VALUE_CHANGED, NULL); in test_file_explorer_read_dir()
Dtest_event.c25 lv_obj_send_event(obj, LV_EVENT_VALUE_CHANGED, NULL); in test_event_object_deletion()
133 else lv_obj_send_event(obj, LV_EVENT_CLICKED, NULL); in event_click_to_delete_cb()
/lvgl-latest/src/core/
Dlv_obj_tree.c76 lv_obj_send_event(par, LV_EVENT_CHILD_CHANGED, NULL); in lv_obj_delete()
77 lv_obj_send_event(par, LV_EVENT_CHILD_DELETED, NULL); in lv_obj_delete()
111 lv_obj_send_event(obj, LV_EVENT_CHILD_CHANGED, NULL); in lv_obj_clean()
112 lv_obj_send_event(obj, LV_EVENT_CHILD_DELETED, NULL); in lv_obj_clean()
192 lv_obj_send_event(old_parent, LV_EVENT_CHILD_CHANGED, obj); in lv_obj_set_parent()
193 lv_obj_send_event(old_parent, LV_EVENT_CHILD_DELETED, NULL); in lv_obj_set_parent()
196 lv_obj_send_event(parent, LV_EVENT_CHILD_CHANGED, obj); in lv_obj_set_parent()
197 lv_obj_send_event(parent, LV_EVENT_CHILD_CREATED, NULL); in lv_obj_set_parent()
249 lv_obj_send_event(parent, LV_EVENT_CHILD_CHANGED, NULL); in lv_obj_move_to_index()
264 lv_obj_send_event(parent2, LV_EVENT_CHILD_DELETED, obj2); in lv_obj_swap()
[all …]
Dlv_group.c79 lv_obj_send_event(*group->obj_focus, LV_EVENT_DEFOCUSED, get_indev(group)); in lv_group_delete()
175 lv_obj_send_event(*g->obj_focus, LV_EVENT_DEFOCUSED, get_indev(g)); in lv_group_remove_obj()
209 lv_obj_send_event(*group->obj_focus, LV_EVENT_DEFOCUSED, get_indev(group)); in lv_group_remove_all_objs()
238 … lv_result_t res = lv_obj_send_event(*g->obj_focus, LV_EVENT_DEFOCUSED, get_indev(g)); in lv_group_focus_obj()
247 lv_result_t res = lv_obj_send_event(*g->obj_focus, LV_EVENT_FOCUSED, get_indev(g)); in lv_group_focus_obj()
295 return lv_obj_send_event(act, LV_EVENT_KEY, &c); in lv_group_send_data()
323 lv_result_t res = lv_obj_send_event(*group->obj_focus, LV_EVENT_FOCUSED, get_indev(group)); in lv_group_set_editing()
490 … lv_result_t res = lv_obj_send_event(*group->obj_focus, LV_EVENT_DEFOCUSED, get_indev(group)); in focus_next_core()
497 lv_result_t res = lv_obj_send_event(*group->obj_focus, LV_EVENT_FOCUSED, get_indev(group)); in focus_next_core()
Dlv_refr.c119 lv_obj_send_event(obj, LV_EVENT_DRAW_MAIN_BEGIN, layer); in lv_obj_redraw()
120 lv_obj_send_event(obj, LV_EVENT_DRAW_MAIN, layer); in lv_obj_redraw()
121 lv_obj_send_event(obj, LV_EVENT_DRAW_MAIN_END, layer); in lv_obj_redraw()
154 lv_obj_send_event(obj, LV_EVENT_DRAW_POST_BEGIN, layer); in lv_obj_redraw()
155 lv_obj_send_event(obj, LV_EVENT_DRAW_POST, layer); in lv_obj_redraw()
156 lv_obj_send_event(obj, LV_EVENT_DRAW_POST_END, layer); in lv_obj_redraw()
177 lv_obj_send_event(obj, LV_EVENT_DRAW_POST_BEGIN, layer); in lv_obj_redraw()
178 lv_obj_send_event(obj, LV_EVENT_DRAW_POST, layer); in lv_obj_redraw()
179 lv_obj_send_event(obj, LV_EVENT_DRAW_POST_END, layer); in lv_obj_redraw()
205 lv_obj_send_event(obj, LV_EVENT_DRAW_POST_BEGIN, layer_children); in lv_obj_redraw()
[all …]
Dlv_obj_class.c128 lv_obj_send_event(parent, LV_EVENT_CHILD_CHANGED, obj); in lv_obj_class_init_obj()
129 lv_obj_send_event(parent, LV_EVENT_CHILD_CREATED, obj); in lv_obj_class_init_obj()
Dlv_obj_event.h46 lv_result_t lv_obj_send_event(lv_obj_t * obj, lv_event_code_t event_code, void * param);
Dlv_obj_scroll.c326 res = lv_obj_send_event(obj, LV_EVENT_SCROLL_BEGIN, &a); in lv_obj_scroll_by()
341 res = lv_obj_send_event(obj, LV_EVENT_SCROLL_BEGIN, &a); in lv_obj_scroll_by()
352 res = lv_obj_send_event(obj, LV_EVENT_SCROLL_BEGIN, NULL); in lv_obj_scroll_by()
358 res = lv_obj_send_event(obj, LV_EVENT_SCROLL_END, NULL); in lv_obj_scroll_by()
423 lv_result_t res = lv_obj_send_event(obj, LV_EVENT_SCROLL, NULL); in lv_obj_scroll_by_raw()
699 if(a->start_cb_called) lv_obj_send_event(a->var, LV_EVENT_SCROLL_END, NULL); in scroll_end_cb()
/lvgl-latest/tests/src/test_cases/widgets/
Dtest_slider.c53 lv_obj_send_event(slider, LV_EVENT_KEY, (void *) &key); in test_slider_event_keys_right_and_up_increment_value_by_one()
59 lv_obj_send_event(slider, LV_EVENT_KEY, (void *) &key); in test_slider_event_keys_right_and_up_increment_value_by_one()
69 lv_obj_send_event(slider, LV_EVENT_KEY, (void *) &key); in test_slider_event_keys_left_and_down_decrement_value_by_one()
75 lv_obj_send_event(slider, LV_EVENT_KEY, (void *) &key); in test_slider_event_keys_left_and_down_decrement_value_by_one()
85 lv_obj_send_event(slider, LV_EVENT_KEY, (void *) &key); in test_slider_event_invalid_key_should_not_change_values()
191 lv_obj_send_event(sliderNormalMode, LV_EVENT_HIT_TEST, (void *) &info); in test_normal_mode_slider_hit_test()
209 lv_obj_send_event(sliderRangeMode, LV_EVENT_HIT_TEST, (void *) &info); in test_slider_range_event_hit_test()
Dtest_btnmatrix.c348 lv_obj_send_event(btnm, LV_EVENT_KEY, &keyCode); in test_button_matrix_key_event_works()
355 lv_obj_send_event(btnm, LV_EVENT_KEY, &keyCode); in test_button_matrix_key_event_works()
362 lv_obj_send_event(btnm, LV_EVENT_KEY, &keyCode); in test_button_matrix_key_event_works()
369 lv_obj_send_event(btnm, LV_EVENT_KEY, &keyCode); in test_button_matrix_key_event_works()
378 lv_obj_send_event(btnm, LV_EVENT_KEY, &keyCode); in test_button_matrix_key_event_works()
396 lv_obj_send_event(btnm, LV_EVENT_PRESSING, lv_test_mouse_indev); in test_button_matrix_pressing_event_works()
413 lv_obj_send_event(btnm, LV_EVENT_LONG_PRESSED_REPEAT, NULL); in test_button_matrix_long_press_repeat_event_works()
426 lv_obj_send_event(btnm, LV_EVENT_PRESS_LOST, NULL); in test_button_matrix_press_lost_event_works()
443 lv_obj_send_event(btnm, LV_EVENT_DEFOCUSED, NULL); in test_button_matrix_defocused_event_works()
456 lv_obj_send_event(btnm, LV_EVENT_FOCUSED, NULL); in test_button_matrix_focused_event_works()
Dtest_spinbox.c164 lv_obj_send_event(spinbox_events, LV_EVENT_KEY, (void *) &key); in test_spinbox_event_key()
170 lv_obj_send_event(spinbox_events, LV_EVENT_KEY, (void *) &key); in test_spinbox_event_key()
177 lv_obj_send_event(spinbox_events, LV_EVENT_KEY, (void *) &key); in test_spinbox_event_key()
184 lv_obj_send_event(spinbox_events, LV_EVENT_KEY, (void *) &key); in test_spinbox_event_key()
282 lv_obj_send_event(spinbox_events, LV_EVENT_RELEASED, NULL); in test_spinbox_event_release()
/lvgl-latest/demos/smartwatch/
Dlv_demo_smartwatch_settings.c296lv_obj_send_event(brightness_slider, LV_EVENT_VALUE_CHANGED, (void *)(intptr_t)((ST_SLIDER << 16) … in lv_demo_smartwatch_set_default_brightness()
303lv_obj_send_event(timeout_dropdown, LV_EVENT_VALUE_CHANGED, (void *)(intptr_t)((ST_DROPDOWN << 16)… in lv_demo_smartwatch_set_default_timeout()
310lv_obj_send_event(rotation_dropdown, LV_EVENT_VALUE_CHANGED, (void *)(intptr_t)((ST_DROPDOWN << 16… in lv_demo_smartwatch_set_default_rotation()
322lv_obj_send_event(circular_switch, LV_EVENT_VALUE_CHANGED, (void *)(intptr_t)((ST_SWITCH << 16) | … in lv_demo_smartwatch_set_default_circular_scroll()
334lv_obj_send_event(alerts_switch, LV_EVENT_VALUE_CHANGED, (void *)(intptr_t)((ST_SWITCH << 16) | 0x… in lv_demo_smartwatch_set_default_alert_state()
346lv_obj_send_event(hint_switch, LV_EVENT_VALUE_CHANGED, (void *)(intptr_t)((ST_SWITCH << 16) | 0x00… in lv_demo_smartwatch_set_default_hints_state()
353lv_obj_send_event(scroll_mode, LV_EVENT_VALUE_CHANGED, (void *)(intptr_t)((ST_DROPDOWN << 16) | 0x… in lv_demo_smartwatch_set_default_scrollbar_mode()
/lvgl-latest/src/widgets/keyboard/
Dlv_keyboard.c348 lv_result_t res = lv_obj_send_event(obj, LV_EVENT_CANCEL, NULL); in lv_keyboard_def_event_cb()
352 res = lv_obj_send_event(keyboard->ta, LV_EVENT_CANCEL, NULL); in lv_keyboard_def_event_cb()
358 lv_result_t res = lv_obj_send_event(obj, LV_EVENT_READY, NULL); in lv_keyboard_def_event_cb()
362 res = lv_obj_send_event(keyboard->ta, LV_EVENT_READY, NULL); in lv_keyboard_def_event_cb()
374 lv_result_t res = lv_obj_send_event(keyboard->ta, LV_EVENT_READY, NULL); in lv_keyboard_def_event_cb()
/lvgl-latest/examples/widgets/arc/
Dlv_example_arc_1.c21 lv_obj_send_event(arc, LV_EVENT_VALUE_CHANGED, NULL); in lv_example_arc_1()
/lvgl-latest/src/display/
Dlv_display.c775 if(act_scr) lv_obj_send_event(act_scr, LV_EVENT_SCREEN_UNLOAD_START, NULL); in lv_screen_load_anim()
1111 lv_obj_send_event(disp->screens[i], LV_EVENT_SIZE_CHANGED, &prev_coords); in update_resolution()
1116 lv_obj_send_event(disp->top_layer, LV_EVENT_SIZE_CHANGED, &prev_coords); in update_resolution()
1120 lv_obj_send_event(disp->sys_layer, LV_EVENT_SIZE_CHANGED, &prev_coords); in update_resolution()
1124 lv_obj_send_event(disp->bottom_layer, LV_EVENT_SIZE_CHANGED, &prev_coords); in update_resolution()
1154 if(old_scr) lv_obj_send_event(old_scr, LV_EVENT_SCREEN_UNLOAD_START, NULL); in scr_load_internal()
1155 lv_obj_send_event(scr, LV_EVENT_SCREEN_LOAD_START, NULL); in scr_load_internal()
1160 lv_obj_send_event(scr, LV_EVENT_SCREEN_LOADED, NULL); in scr_load_internal()
1161 if(old_scr) lv_obj_send_event(old_scr, LV_EVENT_SCREEN_UNLOADED, NULL); in scr_load_internal()
1173 lv_obj_send_event(d->act_scr, LV_EVENT_SCREEN_LOAD_START, NULL); in scr_load_anim_start()
[all …]
/lvgl-latest/src/indev/
Dlv_indev.c995 lv_obj_send_event(indev_obj_act, LV_EVENT_LONG_PRESSED, indev_act); in indev_encoder_proc()
1216 lv_obj_send_event(indev->pointer.last_hovered, LV_EVENT_HOVER_LEAVE, indev); in indev_proc_press()
1230 lv_obj_send_event(last_obj, LV_EVENT_PRESS_LOST, indev_act); in indev_proc_press()
1355 lv_obj_send_event(hovered, LV_EVENT_HOVER_OVER, indev); in indev_proc_release()
1360 lv_obj_send_event(*last, LV_EVENT_HOVER_LEAVE, indev); in indev_proc_release()
1369 lv_obj_send_event(indev->pointer.act_obj, LV_EVENT_PRESS_LOST, indev_act); in indev_proc_release()
1411 lv_obj_send_event(scroll_obj, LV_EVENT_SCROLL_THROW_BEGIN, indev_act); in indev_proc_release()
1601 lv_obj_send_event(indev->pointer.last_pressed, LV_EVENT_DEFOCUSED, indev_act); in indev_click_focus()
1604 lv_obj_send_event(indev_obj_act, LV_EVENT_FOCUSED, indev_act); in indev_click_focus()
1613 lv_obj_send_event(indev->pointer.last_pressed, LV_EVENT_DEFOCUSED, indev_act); in indev_click_focus()
[all …]
/lvgl-latest/src/draw/
Dlv_draw_mask.c72 lv_obj_send_event(dsc->base.obj, LV_EVENT_DRAW_TASK_ADDED, t); in lv_draw_mask_rect()
/lvgl-latest/examples/widgets/textarea/
Dlv_example_textarea_1.c18 else if(lv_strcmp(txt, LV_SYMBOL_NEW_LINE) == 0) lv_obj_send_event(ta, LV_EVENT_READY, NULL); in btnm_event_handler()
/lvgl-latest/src/others/gridnav/
Dlv_gridnav.c227 lv_obj_send_event(dsc->focused_obj, LV_EVENT_KEY, &key); in gridnav_event_cb()
233 lv_obj_send_event(dsc->focused_obj, LV_EVENT_DEFOCUSED, lv_indev_active()); in gridnav_event_cb()
235 lv_obj_send_event(guess, LV_EVENT_FOCUSED, lv_indev_active()); in gridnav_event_cb()
284 lv_obj_send_event(dsc->focused_obj, code, lv_indev_active()); in gridnav_event_cb()
/lvgl-latest/src/libs/rlottie/
Dlv_rlottie.c211 lv_obj_send_event(obj, LV_EVENT_READY, NULL); in next_frame_task_cb()
224 lv_obj_send_event(obj, LV_EVENT_READY, NULL); in next_frame_task_cb()
/lvgl-latest/examples/widgets/image/
Dlv_example_image_2.c37 lv_obj_send_event(intense_slider, LV_EVENT_VALUE_CHANGED, NULL); in lv_example_image_2()
/lvgl-latest/examples/scroll/
Dlv_example_scroll_6.c74 lv_obj_send_event(cont, LV_EVENT_SCROLL, NULL); in lv_example_scroll_6()
/lvgl-latest/examples/widgets/menu/
Dlv_example_menu_5.c109lv_obj_send_event(lv_obj_get_child(lv_obj_get_child(lv_menu_get_cur_sidebar_page(menu), 0), 0), LV… in lv_example_menu_5()
135lv_obj_send_event(lv_obj_get_child(lv_obj_get_child(lv_menu_get_cur_sidebar_page(menu), 0), 0), LV… in switch_handler()
/lvgl-latest/src/widgets/calendar/
Dlv_calendar_header_arrow.c102 lv_obj_send_event(obj, LV_EVENT_VALUE_CHANGED, NULL); in my_constructor()
Dlv_calendar_header_dropdown.c123 lv_obj_send_event(obj, LV_EVENT_VALUE_CHANGED, NULL); in my_constructor()

123