Home
last modified time | relevance | path

Searched refs:LV_EVENT_CLICKED (Results 1 – 25 of 77) sorted by relevance

1234

/lvgl-latest/examples/widgets/list/
Dlv_example_list_1.c9 if(code == LV_EVENT_CLICKED) { in event_handler()
25 lv_obj_add_event_cb(btn, event_handler, LV_EVENT_CLICKED, NULL); in lv_example_list_1()
27 lv_obj_add_event_cb(btn, event_handler, LV_EVENT_CLICKED, NULL); in lv_example_list_1()
29 lv_obj_add_event_cb(btn, event_handler, LV_EVENT_CLICKED, NULL); in lv_example_list_1()
31 lv_obj_add_event_cb(btn, event_handler, LV_EVENT_CLICKED, NULL); in lv_example_list_1()
33 lv_obj_add_event_cb(btn, event_handler, LV_EVENT_CLICKED, NULL); in lv_example_list_1()
37 lv_obj_add_event_cb(btn, event_handler, LV_EVENT_CLICKED, NULL); in lv_example_list_1()
39 lv_obj_add_event_cb(btn, event_handler, LV_EVENT_CLICKED, NULL); in lv_example_list_1()
41 lv_obj_add_event_cb(btn, event_handler, LV_EVENT_CLICKED, NULL); in lv_example_list_1()
43 lv_obj_add_event_cb(btn, event_handler, LV_EVENT_CLICKED, NULL); in lv_example_list_1()
[all …]
Dlv_example_list_2.c13 if(code == LV_EVENT_CLICKED) { in event_handler()
39 if(code == LV_EVENT_CLICKED) { in event_handler_top()
49 if((code == LV_EVENT_CLICKED) || (code == LV_EVENT_LONG_PRESSED_REPEAT)) { in event_handler_up()
61 if((code == LV_EVENT_CLICKED) || (code == LV_EVENT_LONG_PRESSED_REPEAT)) { in event_handler_center()
76 if((code == LV_EVENT_CLICKED) || (code == LV_EVENT_LONG_PRESSED_REPEAT)) { in event_handler_dn()
88 if(code == LV_EVENT_CLICKED) { in event_handler_bottom()
99 if((code == LV_EVENT_CLICKED) || (code == LV_EVENT_LONG_PRESSED_REPEAT)) { in event_handler_swap()
125 lv_obj_add_event_cb(btn, event_handler, LV_EVENT_CLICKED, NULL); in lv_example_list_2()
/lvgl-latest/tests/src/test_cases/
Dtest_event.c83 lv_obj_add_event_cb(btn, event_pre_1_cb, LV_EVENT_CLICKED | LV_EVENT_PREPROCESS, NULL); in test_event_stop_processing()
84 lv_obj_add_event_cb(btn, event_pre_2_cb, LV_EVENT_CLICKED | LV_EVENT_PREPROCESS, NULL); in test_event_stop_processing()
85 lv_obj_add_event_cb(btn, event_post_1_cb, LV_EVENT_CLICKED, NULL); in test_event_stop_processing()
86 lv_obj_add_event_cb(btn, event_post_2_cb, LV_EVENT_CLICKED, NULL); in test_event_stop_processing()
133 else lv_obj_send_event(obj, LV_EVENT_CLICKED, NULL); in event_click_to_delete_cb()
140 lv_obj_add_event_cb(obj, event_click_to_delete_cb, LV_EVENT_CLICKED, NULL); in test_event_delete_obj_in_recursive_event_call()
141 lv_obj_add_event_cb(obj, NULL, LV_EVENT_CLICKED, NULL); in test_event_delete_obj_in_recursive_event_call()
142 lv_obj_add_event_cb(obj, event_click_to_delete_cb, LV_EVENT_CLICKED, NULL); in test_event_delete_obj_in_recursive_event_call()
/lvgl-latest/examples/widgets/win/
Dlv_example_win_1.c16 lv_obj_add_event_cb(btn, event_handler, LV_EVENT_CLICKED, NULL); in lv_example_win_1()
21 lv_obj_add_event_cb(btn, event_handler, LV_EVENT_CLICKED, NULL); in lv_example_win_1()
24 lv_obj_add_event_cb(btn, event_handler, LV_EVENT_CLICKED, NULL); in lv_example_win_1()
/lvgl-latest/examples/widgets/msgbox/
Dlv_example_msgbox_1.c23 lv_obj_add_event_cb(btn, event_cb, LV_EVENT_CLICKED, NULL); in lv_example_msgbox_1()
25 lv_obj_add_event_cb(btn, event_cb, LV_EVENT_CLICKED, NULL); in lv_example_msgbox_1()
/lvgl-latest/examples/others/fragment/
Dlv_example_fragment_2.c65 lv_obj_add_event_cb(push_btn, sample_push_click, LV_EVENT_CLICKED, manager); in lv_example_fragment_2()
66 lv_obj_add_event_cb(pop_btn, sample_pop_click, LV_EVENT_CLICKED, manager); in lv_example_fragment_2()
94 lv_obj_add_event_cb(inc_btn, sample_fragment_inc_click, LV_EVENT_CLICKED, fragment); in sample_fragment_create_obj()
/lvgl-latest/examples/others/observer/
Dlv_example_observer_5.c37 lv_obj_add_event_cb(btn, fw_update_btn_clicked_event_cb, LV_EVENT_CLICKED, NULL); in lv_example_observer_5()
56 lv_obj_add_event_cb(btn, fw_update_close_event_cb, LV_EVENT_CLICKED, NULL); in fw_update_btn_clicked_event_cb()
113 lv_obj_add_event_cb(btn, restart_btn_click_event_cb, LV_EVENT_CLICKED, win); in fw_update_win_observer_cb()
Dlv_example_observer_3.c58 lv_obj_add_event_cb(set_btn, set_btn_clicked_event_cb, LV_EVENT_CLICKED, NULL); in lv_example_observer_3()
105 lv_obj_add_event_cb(close_btn, close_clicked_event_cb, LV_EVENT_CLICKED, set_btn); in set_btn_clicked_event_cb()
/lvgl-latest/demos/ebike/
Dlv_demo_ebike.c150 lv_obj_add_event_cb(icon1, menu_item_click_event_cb, LV_EVENT_CLICKED, NULL); in menu_bar_create()
159 lv_obj_add_event_cb(icon2, menu_item_click_event_cb, LV_EVENT_CLICKED, NULL); in menu_bar_create()
168 lv_obj_add_event_cb(icon3, menu_item_click_event_cb, LV_EVENT_CLICKED, NULL); in menu_bar_create()
/lvgl-latest/examples/widgets/checkbox/
Dlv_example_checkbox_2.c58 lv_obj_add_event_cb(cont1, radio_event_handler, LV_EVENT_CLICKED, &active_index_1); in lv_example_checkbox_2()
72 lv_obj_add_event_cb(cont2, radio_event_handler, LV_EVENT_CLICKED, &active_index_2); in lv_example_checkbox_2()
/lvgl-latest/examples/scroll/
Dlv_example_scroll_1.c97 lv_obj_add_event_cb(save_button, button_event_cb, LV_EVENT_CLICKED, NULL); in lv_example_scroll_1()
98 lv_obj_add_event_cb(restore_button, button_event_cb, LV_EVENT_CLICKED, NULL); in lv_example_scroll_1()
/lvgl-latest/src/others/file_explorer/
Dlv_file_explorer.c303 lv_obj_add_event_cb(btn, quick_access_event_handler, LV_EVENT_CLICKED, obj); in lv_file_explorer_constructor()
311 lv_obj_add_event_cb(btn, quick_access_event_handler, LV_EVENT_CLICKED, obj); in lv_file_explorer_constructor()
313 lv_obj_add_event_cb(btn, quick_access_event_handler, LV_EVENT_CLICKED, obj); in lv_file_explorer_constructor()
315 lv_obj_add_event_cb(btn, quick_access_event_handler, LV_EVENT_CLICKED, obj); in lv_file_explorer_constructor()
317 lv_obj_add_event_cb(btn, quick_access_event_handler, LV_EVENT_CLICKED, obj); in lv_file_explorer_constructor()
319 lv_obj_add_event_cb(btn, quick_access_event_handler, LV_EVENT_CLICKED, obj); in lv_file_explorer_constructor()
438 if(code == LV_EVENT_CLICKED) { in quick_access_event_handler()
544 else if((code == LV_EVENT_CLICKED) || (code == LV_EVENT_RELEASED)) { in browser_file_event_handler()
545 lv_obj_send_event(obj, LV_EVENT_CLICKED, NULL); in browser_file_event_handler()
/lvgl-latest/tests/src/test_cases/widgets/
Dtest_obj_flags.c49 lv_obj_add_event_cb(btn_1, btn_clicked_event_cb, LV_EVENT_CLICKED, &cnt_1); in test_obj_flag_overflow_visible_1()
67 lv_obj_add_event_cb(btn_2, btn_clicked_event_cb, LV_EVENT_CLICKED, &cnt_2); in test_obj_flag_overflow_visible_1()
/lvgl-latest/examples/event/
Dlv_example_event_click.c23 lv_obj_add_event_cb(btn, event_cb, LV_EVENT_CLICKED, NULL); in lv_example_event_click()
Dlv_example_event_button.c13 case LV_EVENT_CLICKED: in event_cb()
Dlv_example_event_bubble.c41 lv_obj_add_event_cb(cont, event_cb, LV_EVENT_CLICKED, NULL); in lv_example_event_bubble()
/lvgl-latest/src/widgets/calendar/
Dlv_calendar_header_arrow.c85 lv_obj_add_event_cb(mo_prev, month_event_cb, LV_EVENT_CLICKED, NULL); in my_constructor()
97 lv_obj_add_event_cb(mo_next, month_event_cb, LV_EVENT_CLICKED, NULL); in my_constructor()
/lvgl-latest/examples/get_started/
Dlv_example_get_started_2.c8 if(code == LV_EVENT_CLICKED) { in btn_event_cb()
/lvgl-latest/demos/flex_layout/
Dlv_demo_flex_layout_ctrl_pad.c156 LV_EVENT_CLICKED, in ctrl_pad_btn_event_attach()
163 LV_EVENT_CLICKED, in ctrl_pad_btn_event_attach()
/lvgl-latest/demos/high_res/
Dlv_demo_high_res_app_about.c81 lv_obj_add_event_cb(back, back_clicked_cb, LV_EVENT_CLICKED, NULL); in lv_demo_high_res_app_about()
142 lv_obj_add_event_cb(left, left_clicked_cb, LV_EVENT_CLICKED, slide_deck); in lv_demo_high_res_app_about()
143 lv_obj_add_event_cb(right, right_clicked_cb, LV_EVENT_CLICKED, slide_deck); in lv_demo_high_res_app_about()
146 lv_obj_add_event_cb(play_pause, play_pause_clicked_cb, LV_EVENT_CLICKED, play_pause_timer); in lv_demo_high_res_app_about()
Dlv_demo_high_res_top_margin.c96 lv_obj_add_event_cb(logout_icon, logout_cb, LV_EVENT_CLICKED, c); in lv_demo_high_res_top_margin_create()
160 lv_obj_add_event_cb(icon, icon_clicked_cb, LV_EVENT_CLICKED, c); in create_icon()
189 … lv_obj_add_event_cb(lv_layer_sys(), sys_layer_clicked_cb, LV_EVENT_CLICKED, clicked_icon); in icon_clicked_cb()
200 lv_obj_send_event(relevant_icon, LV_EVENT_CLICKED, NULL); in sys_layer_clicked_cb()
332 lv_obj_add_event_cb(celsius_label_cont, setting_clicked_cb, LV_EVENT_CLICKED, c); in create_settings()
333 lv_obj_add_event_cb(fahrenheit_label_cont, setting_clicked_cb, LV_EVENT_CLICKED, c); in create_settings()
/lvgl-latest/examples/widgets/button/
Dlv_example_button_1.c8 if(code == LV_EVENT_CLICKED) { in event_handler()
/lvgl-latest/demos/smartwatch/
Dlv_demo_smartwatch_list.c125 if(event_code == LV_EVENT_CLICKED) { in app_list_clicked_external_event_cb()
203 …lv_obj_add_event_cb(panel, app_list_clicked_external_event_cb, LV_EVENT_CLICKED, (void *)(intptr_t… in add_external_app()
244 … lv_obj_add_event_cb(panel, app_list_clicked_event_cb, LV_EVENT_CLICKED, (void *)(intptr_t)index); in add_app_list()
/lvgl-latest/examples/widgets/menu/
Dlv_example_menu_5.c31 lv_obj_add_event_cb(menu, back_event_handler, LV_EVENT_CLICKED, menu); in lv_example_menu_5()
109 …ent(lv_obj_get_child(lv_obj_get_child(lv_menu_get_cur_sidebar_page(menu), 0), 0), LV_EVENT_CLICKED, in lv_example_menu_5()
135 …ent(lv_obj_get_child(lv_obj_get_child(lv_menu_get_cur_sidebar_page(menu), 0), 0), LV_EVENT_CLICKED, in switch_handler()
/lvgl-latest/examples/porting/osal/
Dlv_example_osal.c48 lv_obj_add_event_cb(counter_button, counter_button_event_cb, LV_EVENT_CLICKED, NULL); in lv_example_osal()

1234