/lvgl-latest/examples/widgets/list/ |
D | lv_example_list_1.c | 9 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 …]
|
D | lv_example_list_2.c | 13 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/ |
D | test_event.c | 83 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/ |
D | lv_example_win_1.c | 16 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/ |
D | lv_example_msgbox_1.c | 23 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/ |
D | lv_example_fragment_2.c | 65 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/ |
D | lv_example_observer_5.c | 37 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()
|
D | lv_example_observer_3.c | 58 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/ |
D | lv_demo_ebike.c | 150 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/ |
D | lv_example_checkbox_2.c | 58 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/ |
D | lv_example_scroll_1.c | 97 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/ |
D | lv_file_explorer.c | 303 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/ |
D | test_obj_flags.c | 49 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/ |
D | lv_example_event_click.c | 23 lv_obj_add_event_cb(btn, event_cb, LV_EVENT_CLICKED, NULL); in lv_example_event_click()
|
D | lv_example_event_button.c | 13 case LV_EVENT_CLICKED: in event_cb()
|
D | lv_example_event_bubble.c | 41 lv_obj_add_event_cb(cont, event_cb, LV_EVENT_CLICKED, NULL); in lv_example_event_bubble()
|
/lvgl-latest/src/widgets/calendar/ |
D | lv_calendar_header_arrow.c | 85 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/ |
D | lv_example_get_started_2.c | 8 if(code == LV_EVENT_CLICKED) { in btn_event_cb()
|
/lvgl-latest/demos/flex_layout/ |
D | lv_demo_flex_layout_ctrl_pad.c | 156 LV_EVENT_CLICKED, in ctrl_pad_btn_event_attach() 163 LV_EVENT_CLICKED, in ctrl_pad_btn_event_attach()
|
/lvgl-latest/demos/high_res/ |
D | lv_demo_high_res_app_about.c | 81 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()
|
D | lv_demo_high_res_top_margin.c | 96 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/ |
D | lv_example_button_1.c | 8 if(code == LV_EVENT_CLICKED) { in event_handler()
|
/lvgl-latest/demos/smartwatch/ |
D | lv_demo_smartwatch_list.c | 125 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/ |
D | lv_example_menu_5.c | 31 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/ |
D | lv_example_osal.c | 48 lv_obj_add_event_cb(counter_button, counter_button_event_cb, LV_EVENT_CLICKED, NULL); in lv_example_osal()
|