Home
last modified time | relevance | path

Searched refs:lv_obj_get_child (Results 1 – 25 of 46) sorted by relevance

12

/lvgl-latest/tests/src/test_cases/widgets/
Dtest_win.c38 TEST_ASSERT_EQUAL(header, lv_obj_get_child(win, 0)); in test_win_should_have_valid_documented_default_values()
39 TEST_ASSERT_EQUAL(content, lv_obj_get_child(win, 1)); in test_win_should_have_valid_documented_default_values()
65 lv_obj_t * title = lv_obj_get_child(header, 0); in test_win_add_title_single()
106 lv_obj_t * btn = lv_obj_get_child(header, 0); in test_win_add_button()
138 btn = lv_obj_get_child(header, 0); in test_win_add_multiple_elements()
143 title = lv_obj_get_child(header, 1); in test_win_add_multiple_elements()
148 btn = lv_obj_get_child(header, 2); in test_win_add_multiple_elements()
153 btn = lv_obj_get_child(header, 3); in test_win_add_multiple_elements()
Dtest_obj_tree.c58 TEST_ASSERT_EQUAL(lv_obj_get_child(parent1, 0), child1); in test_obj_tree_3()
62 TEST_ASSERT_EQUAL(lv_obj_get_child(parent2, 0), child2); in test_obj_tree_3()
77 TEST_ASSERT_EQUAL(lv_obj_get_child(parent1, 0), child2); in test_obj_tree_3()
81 TEST_ASSERT_EQUAL(lv_obj_get_child(parent2, 0), child1); in test_obj_tree_3()
/lvgl-latest/demos/high_res/
Dlv_demo_high_res_app_about.c158 slide = lv_obj_get_child(slide_deck, 0); in lv_demo_high_res_app_about()
180 lv_obj_t * slide_deck = lv_obj_get_child(slide_deck_cont, 0); in slide_deck_scrolled_cb()
182 lv_obj_t * left_button = lv_obj_get_child(buttons, 0); in slide_deck_scrolled_cb()
183 lv_obj_t * right_button = lv_obj_get_child(buttons, 2); in slide_deck_scrolled_cb()
216 lv_obj_t * slide = lv_obj_get_child(slide_deck, i); in left_clicked_cb()
240 lv_obj_t * slide = lv_obj_get_child(slide_deck, i); in advance_slides()
262 lv_obj_t * first_slide = lv_obj_get_child(slide_deck, 0); in play_pause_timer_cb()
272 lv_obj_t * play_pause_img = lv_obj_get_child(play_pause, 0); in play_pause_clicked_cb()
Dlv_demo_high_res_app_thermostat.c238 if(slider == lv_obj_get_child(slider_box, 0)) { in widget2_slider_changed_cb()
251 lv_obj_t * label = lv_obj_get_child(box, 1); in widget2_temperature_button_clicked_cb()
253 int32_t change = button == lv_obj_get_child(box, 0) ? -1 : 1; in widget2_temperature_button_clicked_cb()
391 …nt_cb(slider_left, widget2_slider_changed_cb, LV_EVENT_VALUE_CHANGED, lv_obj_get_child(value1, 1)); in create_widget2()
393 …t_cb(slider_right, widget2_slider_changed_cb, LV_EVENT_VALUE_CHANGED, lv_obj_get_child(value2, 1)); in create_widget2()
435 lv_obj_t * setting1 = lv_obj_get_child(setting_box, 0); in widget3_setting_clicked_cb()
436 lv_obj_t * setting2 = lv_obj_get_child(setting_box, 1); in widget3_setting_clicked_cb()
437 lv_obj_t * setting3 = lv_obj_get_child(setting_box, 2); in widget3_setting_clicked_cb()
440 lv_obj_set_style_bg_opa(lv_obj_get_child(setting1, 0), LV_OPA_COVER, 0); in widget3_setting_clicked_cb()
442 lv_obj_set_style_bg_opa(lv_obj_get_child(setting2, 0), LV_OPA_40, 0); in widget3_setting_clicked_cb()
[all …]
Dlv_demo_high_res_app_smart_meter.c232 lv_obj_t * part1 = lv_obj_get_child(box, 0); in widget1_open_part1_anim_cb()
233 lv_obj_t * part2 = lv_obj_get_child(box, 1); in widget1_open_part1_anim_cb()
240 lv_obj_set_style_opa(lv_obj_get_child(part1, 1), lv_map(val, 0, 1000, 0, 255), 0); in widget1_open_part1_anim_cb()
241 lv_obj_set_style_opa(lv_obj_get_child(part2, 1), lv_map(val, 0, 1000, 255, 0), 0); in widget1_open_part1_anim_cb()
246 lv_obj_set_style_text_color(lv_obj_get_child(part1, 0), th == &lv_demo_high_res_theme_light in widget1_open_part1_anim_cb()
248 lv_obj_set_style_text_color(lv_obj_get_child(part2, 0), th == &lv_demo_high_res_theme_light in widget1_open_part1_anim_cb()
257 lv_obj_t * part1 = lv_obj_get_child(box, 0); in widget1_open_part2_anim_cb()
258 lv_obj_t * part2 = lv_obj_get_child(box, 1); in widget1_open_part2_anim_cb()
265 lv_obj_set_style_opa(lv_obj_get_child(part1, 1), lv_map(val, 0, 1000, 255, 0), 0); in widget1_open_part2_anim_cb()
266 lv_obj_set_style_opa(lv_obj_get_child(part2, 1), lv_map(val, 0, 1000, 0, 255), 0); in widget1_open_part2_anim_cb()
[all …]
Dlv_demo_high_res_top_margin.c298 lv_obj_t * lab1 = lv_obj_get_child(cont, 0); in perfmon_data_cb()
299 lv_obj_t * lab2 = lv_obj_get_child(cont, 2); in perfmon_data_cb()
300 lv_obj_t * lab3 = lv_obj_get_child(cont, 3); in perfmon_data_cb()
324 lv_obj_set_style_text_opa(lv_obj_get_child(temperature_label_cont, 0), LV_OPA_60, 0); in create_settings()
360 lv_obj_t * celsius = lv_obj_get_child(parent, 1); in setting_clicked_cb()
361 lv_obj_t * fahrenheit = lv_obj_get_child(parent, 2); in setting_clicked_cb()
/lvgl-latest/examples/widgets/checkbox/
Dlv_example_checkbox_2.c14 lv_obj_t * old_cb = lv_obj_get_child(cont, *active_id); in radio_event_handler()
66 lv_obj_add_state(lv_obj_get_child(cont1, 0), LV_STATE_CHECKED); in lv_example_checkbox_2()
80 lv_obj_add_state(lv_obj_get_child(cont2, 0), LV_STATE_CHECKED); in lv_example_checkbox_2()
/lvgl-latest/demos/ebike/
Dlv_demo_ebike.c182 lv_obj_set_style_image_opa(lv_obj_get_child(menu_cont, 0), LV_OPA_50, 0); in menu_item_click_event_cb()
183 lv_obj_set_style_image_opa(lv_obj_get_child(menu_cont, 1), LV_OPA_50, 0); in menu_item_click_event_cb()
184 lv_obj_set_style_image_opa(lv_obj_get_child(menu_cont, 2), LV_OPA_50, 0); in menu_item_click_event_cb()
186 lv_obj_set_style_image_opa(lv_obj_get_child(menu_cont, idx), LV_OPA_100, 0); in menu_item_click_event_cb()
/lvgl-latest/src/widgets/calendar/
Dlv_calendar_header_arrow.c120 if(lv_obj_get_child(header, 0) == btn) { in month_event_cb()
141 lv_obj_t * label = lv_obj_get_child(header, 1); in month_event_cb()
154 lv_obj_t * label = lv_obj_get_child(header, 1); in value_changed_event_cb()
Dlv_calendar_header_dropdown.c169 lv_obj_t * year_dd = lv_obj_get_child(header, 0); in value_changed_event_cb()
179 lv_obj_t * month_dd = lv_obj_get_child(header, 1); in value_changed_event_cb()
/lvgl-latest/examples/widgets/menu/
Dlv_example_menu_5.c87 lv_obj_add_event_cb(lv_obj_get_child(cont, 2), switch_handler, LV_EVENT_VALUE_CHANGED, menu); in lv_example_menu_5()
109 …lv_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()
135 …lv_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/win/
Dlv_win.c81 return lv_obj_get_child(win, 0); in lv_win_get_header()
86 return lv_obj_get_child(win, 1); in lv_win_get_content()
/lvgl-latest/examples/scroll/
Dlv_example_scroll_6.c16 lv_obj_t * child = lv_obj_get_child(cont, i); in scroll_event_cb()
77 lv_obj_scroll_to_view(lv_obj_get_child(cont, 0), LV_ANIM_OFF); in lv_example_scroll_6()
Dlv_example_scroll_7.c51 lv_obj_t * child = lv_obj_get_child(obj, -1); in update_scroll()
59 lv_obj_t * child = lv_obj_get_child(obj, 0); in update_scroll()
/lvgl-latest/src/widgets/list/
Dlv_list.c114 lv_obj_t * child = lv_obj_get_child(btn, i); in lv_list_get_button_text()
129 lv_obj_t * child = lv_obj_get_child(btn, i); in lv_list_set_button_text()
/lvgl-latest/examples/widgets/list/
Dlv_example_list_2.c25 lv_obj_t * child = lv_obj_get_child(parent, i); in event_handler()
103 lv_obj_t * obj = lv_obj_get_child(list1, lv_rand(0, cnt)); in event_handler_swap()
132 currentButton = lv_obj_get_child(list1, 0); in lv_example_list_2()
/lvgl-latest/examples/event/
Dlv_example_event_click.c10 lv_obj_t * label = lv_obj_get_child(btn, 0); in event_cb()
Dlv_example_event_streak.c17 lv_obj_t * label = lv_obj_get_child(btn, 0); in streak_event_cb()
/lvgl-latest/examples/get_started/
Dlv_example_get_started_2.c13 lv_obj_t * label = lv_obj_get_child(btn, 0); in btn_event_cb()
/lvgl-latest/examples/widgets/msgbox/
Dlv_example_msgbox_1.c7 lv_obj_t * label = lv_obj_get_child(btn, 0); in event_cb()
/lvgl-latest/examples/others/observer/
Dlv_example_observer_4.c96 lv_obj_t * child = lv_obj_get_child(cont, i); in cont_observer_cb()
136 lv_obj_t * child = lv_obj_get_child(cont, i); in cont_observer_cb()
191 lv_obj_t * btn_act = lv_obj_get_child(footer, cur_v); in indicator_observer_cb()
/lvgl-latest/src/core/
Dlv_obj_tree.c331 lv_obj_t * lv_obj_get_child(const lv_obj_t * obj, int32_t idx) in lv_obj_get_child() function
385 return lv_obj_get_child(parent, sibling_idx); in lv_obj_get_sibling()
522 lv_obj_t * child = lv_obj_get_child(obj, 0); in obj_delete_core()
525 child = lv_obj_get_child(obj, 0); in obj_delete_core()
616 res = walk_core(lv_obj_get_child(obj, i), cb, user_data); in walk_core()
642 dump_tree_core(lv_obj_get_child(obj, i), depth + 1); in dump_tree_core()
Dlv_obj_tree.h135 lv_obj_t * lv_obj_get_child(const lv_obj_t * obj, int32_t idx);
/lvgl-latest/src/widgets/tileview/
Dlv_tileview.c110 lv_obj_t * tile_obj = lv_obj_get_child(tv, i); in lv_tileview_set_tile_by_index()
177 lv_obj_t * tile_obj = lv_obj_get_child(obj, i); in tileview_event_cb()
/lvgl-latest/demos/music/
Dlv_demo_music_list.c156 lv_obj_t * btn = lv_obj_get_child(list, track_id); in lv_demo_music_list_button_check()
157 lv_obj_t * icon = lv_obj_get_child(btn, 0); in lv_demo_music_list_button_check()

12