Home
last modified time | relevance | path

Searched refs:lv_obj_get_child_count (Results 1 – 25 of 31) sorted by relevance

12

/lvgl-latest/tests/src/test_cases/widgets/
Dtest_win.c33 TEST_ASSERT_EQUAL(2, lv_obj_get_child_count(win)); in test_win_should_have_valid_documented_default_values()
43 TEST_ASSERT_EQUAL(0, lv_obj_get_child_count(header)); in test_win_should_have_valid_documented_default_values()
46 TEST_ASSERT_EQUAL(0, lv_obj_get_child_count(content)); in test_win_should_have_valid_documented_default_values()
61 TEST_ASSERT_EQUAL(2, lv_obj_get_child_count(win)); in test_win_add_title_single()
62 TEST_ASSERT_EQUAL(1, lv_obj_get_child_count(header)); in test_win_add_title_single()
83 TEST_ASSERT_EQUAL(2, lv_obj_get_child_count(win)); in test_win_add_title_multiple()
84 TEST_ASSERT_EQUAL(2, lv_obj_get_child_count(header)); in test_win_add_title_multiple()
102 TEST_ASSERT_EQUAL(2, lv_obj_get_child_count(win)); in test_win_add_button()
103 TEST_ASSERT_EQUAL(1, lv_obj_get_child_count(header)); in test_win_add_button()
107 TEST_ASSERT_EQUAL(1, lv_obj_get_child_count(btn)); in test_win_add_button()
[all …]
Dtest_obj_tree.c12 TEST_ASSERT_EQUAL(lv_obj_get_child_count(lv_screen_active()), 0); in test_obj_tree_1()
21 TEST_ASSERT_EQUAL(lv_obj_get_child_count(lv_screen_active()), 3); in test_obj_tree_2()
24 TEST_ASSERT_EQUAL(lv_obj_get_child_count(lv_screen_active()), 2); in test_obj_tree_2()
27 TEST_ASSERT_EQUAL(lv_obj_get_child_count(lv_screen_active()), 0); in test_obj_tree_2()
56 TEST_ASSERT_EQUAL(lv_obj_get_child_count(parent1), 1); in test_obj_tree_3()
60 TEST_ASSERT_EQUAL(lv_obj_get_child_count(parent2), 1); in test_obj_tree_3()
75 TEST_ASSERT_EQUAL(lv_obj_get_child_count(parent1), 1); in test_obj_tree_3()
79 TEST_ASSERT_EQUAL(lv_obj_get_child_count(parent2), 1); in test_obj_tree_3()
Dtest_dropdown.c22 TEST_ASSERT_EQUAL(2, lv_obj_get_child_count(lv_screen_active())); in test_dropdown_create_delete()
26 TEST_ASSERT_EQUAL(4, lv_obj_get_child_count(lv_screen_active())); in test_dropdown_create_delete()
29 TEST_ASSERT_EQUAL(4, lv_obj_get_child_count(lv_screen_active())); in test_dropdown_create_delete()
32 TEST_ASSERT_EQUAL(4, lv_obj_get_child_count(lv_screen_active())); in test_dropdown_create_delete()
36 TEST_ASSERT_EQUAL(6, lv_obj_get_child_count(lv_screen_active())); in test_dropdown_create_delete()
38 TEST_ASSERT_EQUAL(6, lv_obj_get_child_count(lv_screen_active())); in test_dropdown_create_delete()
40 TEST_ASSERT_EQUAL(6, lv_obj_get_child_count(lv_screen_active())); in test_dropdown_create_delete()
42 TEST_ASSERT_EQUAL(6, lv_obj_get_child_count(lv_screen_active())); in test_dropdown_create_delete()
45 TEST_ASSERT_EQUAL(4, lv_obj_get_child_count(lv_screen_active())); in test_dropdown_create_delete()
48 TEST_ASSERT_EQUAL(0, lv_obj_get_child_count(lv_screen_active())); in test_dropdown_create_delete()
/lvgl-latest/src/widgets/list/
Dlv_list.c113 for(i = 0; i < lv_obj_get_child_count(btn); i++) { in lv_list_get_button_text()
128 for(i = 0; i < lv_obj_get_child_count(btn); i++) { in lv_list_set_button_text()
/lvgl-latest/examples/widgets/list/
Dlv_example_list_2.c24 for(i = 0; i < lv_obj_get_child_count(parent); i++) { in event_handler()
65 const uint32_t pos = lv_obj_get_child_count(parent) / 2; in event_handler_center()
100 uint32_t cnt = lv_obj_get_child_count(list1); in event_handler_swap()
/lvgl-latest/src/core/
Dlv_obj_tree.c97 uint32_t cnt = lv_obj_get_child_count(obj); in lv_obj_clean()
110 if(lv_obj_get_child_count(obj) < cnt) { in lv_obj_clean()
169 for(i = lv_obj_get_index(obj); i <= (int32_t)lv_obj_get_child_count(old_parent) - 2; i++) { in lv_obj_set_parent()
186 parent->spec_attr->children[lv_obj_get_child_count(parent) - 1] = obj; in lv_obj_set_parent()
215 const uint32_t parent_child_count = lv_obj_get_child_count(parent); in lv_obj_move_to_index()
399 uint32_t lv_obj_get_child_count(const lv_obj_t * obj) in lv_obj_get_child_count() function
615 for(i = 0; i < lv_obj_get_child_count(obj); i++) { in walk_core()
Dlv_obj_tree.h185 uint32_t lv_obj_get_child_count(const lv_obj_t * obj);
Dlv_obj.c166 .getter = lv_obj_get_child_count,
445 uint32_t child_cnt = lv_obj_get_child_count(obj); in lv_obj_get_child_by_id()
755 uint32_t child_cnt = lv_obj_get_child_count(obj); in lv_obj_event()
855 uint32_t child_cnt = lv_obj_get_child_count(obj); in lv_obj_event()
Dlv_obj_scroll.c142 uint32_t child_cnt = lv_obj_get_child_count(obj); in lv_obj_get_scroll_bottom()
183 uint32_t child_cnt = lv_obj_get_child_count(obj); in lv_obj_get_scroll_left()
221 uint32_t child_cnt = lv_obj_get_child_count(obj); in lv_obj_get_scroll_right()
Dlv_obj_pos.c768 uint32_t child_cnt = lv_obj_get_child_count(obj); in lv_obj_move_children_by()
1096 uint32_t child_cnt = lv_obj_get_child_count(obj); in calc_content_width()
1191 uint32_t child_cnt = lv_obj_get_child_count(obj); in calc_content_height()
1233 uint32_t child_cnt = lv_obj_get_child_count(obj); in layout_update_core()
Dlv_refr.c149 uint32_t child_cnt = lv_obj_get_child_count(obj); in lv_obj_redraw()
843 int32_t child_cnt = lv_obj_get_child_count(obj); in lv_refr_get_top_obj()
889 uint32_t child_cnt = lv_obj_get_child_count(parent); in refr_obj_and_children()
/lvgl-latest/demos/flex_layout/
Dlv_demo_flex_layout_view_child_node.c46 uint32_t cnt = lv_obj_get_child_count(par); in obj_child_node_create()
/lvgl-latest/src/others/gridnav/
Dlv_gridnav.c138 uint32_t child_cnt = lv_obj_get_child_count(obj); in gridnav_event_cb()
294 uint32_t child_cnt = lv_obj_get_child_count(obj); in find_chid()
362 uint32_t child_cnt = lv_obj_get_child_count(obj); in find_first_focusable()
374 uint32_t child_cnt = lv_obj_get_child_count(obj); in find_last_focusable()
/lvgl-latest/src/widgets/tileview/
Dlv_tileview.c109 for(i = 0; i < lv_obj_get_child_count(tv); i++) { in lv_tileview_set_tile_by_index()
176 for(i = 0; i < lv_obj_get_child_count(obj); i++) { in tileview_event_cb()
/lvgl-latest/src/
Dlv_api_map_v8.h94 lv_obj_move_to_index(obj, lv_obj_get_child_count(parent) - 1); in lv_obj_move_foreground()
256 #define lv_obj_get_child_cnt lv_obj_get_child_count
/lvgl-latest/examples/others/observer/
Dlv_example_observer_4.c94 uint32_t child_cnt_prev = lv_obj_get_child_count(cont); in cont_observer_cb()
135 for(i = child_cnt_prev; i < lv_obj_get_child_count(cont); i++) { in cont_observer_cb()
/lvgl-latest/examples/scroll/
Dlv_example_scroll_6.c14 uint32_t child_cnt = lv_obj_get_child_count(cont); in scroll_event_cb()
/lvgl-latest/demos/high_res/
Dlv_demo_high_res_app_about.c214 int32_t slide_count = lv_obj_get_child_count(slide_deck); in left_clicked_cb()
238 int32_t slide_count = lv_obj_get_child_count(slide_deck); in advance_slides()
/lvgl-latest/demos/ebike/
Dlv_demo_ebike_home.c356 uint32_t cnt = lv_obj_get_child_count(bullet_cont); in bullet_scroll_event_cb()
374 uint32_t cnt = lv_obj_get_child_count(parent); in bullets_create()
/lvgl-latest/src/others/file_explorer/
Dlv_file_explorer.c409 uint32_t ch_cnt = lv_obj_get_child_count(explorer->quick_access_area); in init_style()
415 uint32_t list_ch_cnt = lv_obj_get_child_count(child); in init_style()
/lvgl-latest/src/layouts/grid/
Dlv_grid.c312 for(ci = 0; ci < lv_obj_get_child_count(cont); ci++) { in calc_cols()
401 for(ci = 0; ci < lv_obj_get_child_count(cont); ci++) { in calc_rows()
/lvgl-latest/src/widgets/tabview/
Dlv_tabview.c91 uint32_t tab_idx = lv_obj_get_child_count(cont) - 1; in lv_tabview_add_tab()
/lvgl-latest/src/display/
Dlv_display.c888 lv_obj_get_child_count(disp->screens[0]) == 0 && in lv_display_set_theme()
889 lv_obj_get_child_count(disp->screens[1]) == 0 && in lv_display_set_theme()
890 lv_obj_get_child_count(disp->screens[2]) == 0) { in lv_display_set_theme()
/lvgl-latest/src/indev/
Dlv_indev_scroll.c527 uint32_t child_cnt = lv_obj_get_child_count(obj); in find_snap_point_x()
583 uint32_t child_cnt = lv_obj_get_child_count(obj); in find_snap_point_y()
/lvgl-latest/src/widgets/calendar/
Dlv_calendar.c207 uint32_t child_cnt = lv_obj_get_child_count(obj); in lv_calendar_set_month_shown()

12