/lvgl-latest/src/core/ |
D | lv_obj_tree.c | 172 old_parent->spec_attr->child_cnt--; in lv_obj_set_parent() 173 if(old_parent->spec_attr->child_cnt) { in lv_obj_set_parent() 175 … old_parent->spec_attr->child_cnt * (sizeof(lv_obj_t *))); in lv_obj_set_parent() 183 parent->spec_attr->child_cnt++; in lv_obj_set_parent() 185 parent->spec_attr->child_cnt * (sizeof(lv_obj_t *))); in lv_obj_set_parent() 339 idx = obj->spec_attr->child_cnt + idx; in lv_obj_get_child() 347 if(idu >= obj->spec_attr->child_cnt) return NULL; in lv_obj_get_child() 358 int32_t cnt = (int32_t)obj->spec_attr->child_cnt; in lv_obj_get_child_by_type() 403 return obj->spec_attr->child_cnt; in lv_obj_get_child_count() 413 for(i = 0; i < obj->spec_attr->child_cnt; i++) { in lv_obj_get_child_count_by_type() [all …]
|
D | lv_obj_class.c | 95 parent->spec_attr->child_cnt++; in lv_obj_class_create_obj() 97 sizeof(lv_obj_t *) * parent->spec_attr->child_cnt); in lv_obj_class_create_obj() 98 parent->spec_attr->children[parent->spec_attr->child_cnt - 1] = obj; in lv_obj_class_create_obj()
|
D | lv_obj.c | 445 uint32_t child_cnt = lv_obj_get_child_count(obj); in lv_obj_get_child_by_id() local 446 for(i = 0; i < child_cnt; i++) { in lv_obj_get_child_by_id() 452 for(i = 0; i < child_cnt; i++) { in lv_obj_get_child_by_id() 755 uint32_t child_cnt = lv_obj_get_child_count(obj); in lv_obj_event() local 756 for(uint32_t i = 0; i < child_cnt; i++) { in lv_obj_event() 855 uint32_t child_cnt = lv_obj_get_child_count(obj); in lv_obj_event() local 856 for(i = 0; i < child_cnt; i++) { in lv_obj_event() 980 uint32_t child_cnt = 0; in obj_valid_child() local 981 if(parent->spec_attr) child_cnt = parent->spec_attr->child_cnt; in obj_valid_child() 983 for(i = 0; i < child_cnt; i++) { in obj_valid_child()
|
D | lv_obj_private.h | 44 uint16_t child_cnt; /**< Number of children*/ member
|
D | lv_refr.c | 149 uint32_t child_cnt = lv_obj_get_child_count(obj); in lv_obj_redraw() local 150 if(child_cnt == 0) { in lv_obj_redraw() 169 for(i = 0; i < child_cnt; i++) { in lv_obj_redraw() 199 for(i = 0; i < child_cnt; i++) { in lv_obj_redraw() 220 for(i = 0; i < child_cnt; i++) { in lv_obj_redraw() 242 for(i = 0; i < child_cnt; i++) { in lv_obj_redraw() 843 int32_t child_cnt = lv_obj_get_child_count(obj); in lv_refr_get_top_obj() local 844 for(i = child_cnt - 1; i >= 0; i--) { in lv_refr_get_top_obj() 889 uint32_t child_cnt = lv_obj_get_child_count(parent); in refr_obj_and_children() local 890 for(i = 0; i < child_cnt; i++) { in refr_obj_and_children()
|
D | lv_obj_pos.c | 768 uint32_t child_cnt = lv_obj_get_child_count(obj); in lv_obj_move_children_by() local 769 for(i = 0; i < child_cnt; i++) { in lv_obj_move_children_by() 1096 uint32_t child_cnt = lv_obj_get_child_count(obj); in calc_content_width() local 1099 for(i = 0; i < child_cnt; i++) { in calc_content_width() 1135 for(i = 0; i < child_cnt; i++) { in calc_content_width() 1191 uint32_t child_cnt = lv_obj_get_child_count(obj); in calc_content_height() local 1192 for(i = 0; i < child_cnt; i++) { in calc_content_height() 1233 uint32_t child_cnt = lv_obj_get_child_count(obj); in layout_update_core() local 1234 for(i = 0; i < child_cnt; i++) { in layout_update_core() 1244 if(child_cnt > 0) { in layout_update_core()
|
D | lv_obj_scroll.c | 142 uint32_t child_cnt = lv_obj_get_child_count(obj); in lv_obj_get_scroll_bottom() local 143 for(i = 0; i < child_cnt; i++) { in lv_obj_get_scroll_bottom() 183 uint32_t child_cnt = lv_obj_get_child_count(obj); in lv_obj_get_scroll_left() local 184 for(i = 0; i < child_cnt; i++) { in lv_obj_get_scroll_left() 221 uint32_t child_cnt = lv_obj_get_child_count(obj); in lv_obj_get_scroll_right() local 222 for(i = 0; i < child_cnt; i++) { in lv_obj_get_scroll_right()
|
D | lv_obj_style.c | 789 uint32_t child_cnt = lv_obj_get_child_count(obj); in report_style_change_core() local 790 for(i = 0; i < child_cnt; i++) { in report_style_change_core() 803 uint32_t child_cnt = lv_obj_get_child_count(obj); in refresh_children_style() local 804 for(i = 0; i < child_cnt; i++) { in refresh_children_style()
|
/lvgl-latest/src/misc/ |
D | lv_tree.c | 94 parent->child_cnt++; in _lv_tree_class_create_node() 95 if(parent->child_cnt == parent->child_cap) { in _lv_tree_class_create_node() 99 parent->children[parent->child_cnt - 1] = node; in _lv_tree_class_create_node() 131 for(uint32_t i = 0; i < parent->child_cnt; i++) { in lv_tree_node_delete() 157 for(uint32_t i = 0; i < node->child_cnt; i++) { in lv_tree_walk()
|
D | lv_tree.h | 45 uint32_t child_cnt; member
|
/lvgl-latest/src/others/gridnav/ |
D | lv_gridnav.c | 138 uint32_t child_cnt = lv_obj_get_child_count(obj); in gridnav_event_cb() local 139 if(child_cnt == 0) return; in gridnav_event_cb() 294 uint32_t child_cnt = lv_obj_get_child_count(obj); in find_chid() local 301 for(i = 0; i < child_cnt; i++) { in find_chid() 362 uint32_t child_cnt = lv_obj_get_child_count(obj); in find_first_focusable() local 364 for(i = 0; i < child_cnt; i++) { in find_first_focusable() 374 uint32_t child_cnt = lv_obj_get_child_count(obj); in find_last_focusable() local 376 for(i = child_cnt - 1; i >= 0; i--) { in find_last_focusable()
|
/lvgl-latest/examples/scroll/ |
D | lv_example_scroll_6.c | 14 uint32_t child_cnt = lv_obj_get_child_count(cont); in scroll_event_cb() local 15 for(i = 0; i < child_cnt; i++) { in scroll_event_cb()
|
/lvgl-latest/tests/src/test_cases/ |
D | test_tree.c | 63 TEST_ASSERT_EQUAL_UINT32(1, test->base.child_cnt); in testCreateAndDelete() 64 TEST_ASSERT_EQUAL_UINT32(0, node->base.child_cnt); in testCreateAndDelete() 99 TEST_ASSERT_EQUAL(16, node->base.child_cnt); in testBuildTree()
|
D | test_svg.c | 787 TEST_ASSERT_EQUAL(LV_TREE_NODE(svg_node)->child_cnt, 0); in testBadCase() 795 TEST_ASSERT_EQUAL(LV_TREE_NODE(svg_node)->child_cnt, 0); in testBadCase()
|
/lvgl-latest/src/layouts/flex/ |
D | lv_flex.c | 175 track_first_item = f.rev ? cont->spec_attr->child_cnt - 1 : 0; in flex_update() 177 while(track_first_item < (int32_t)cont->spec_attr->child_cnt && track_first_item >= 0) { in flex_update() 193 track_first_item = f.rev ? cont->spec_attr->child_cnt - 1 : 0; in flex_update() 199 while(track_first_item < (int32_t)cont->spec_attr->child_cnt && track_first_item >= 0) { in flex_update() 533 … if((*item_id) < (int32_t)cont->spec_attr->child_cnt) return cont->spec_attr->children[*item_id]; in get_next_item()
|
/lvgl-latest/src/indev/ |
D | lv_indev_scroll.c | 527 uint32_t child_cnt = lv_obj_get_child_count(obj); in find_snap_point_x() local 528 for(i = 0; i < child_cnt; i++) { in find_snap_point_x() 583 uint32_t child_cnt = lv_obj_get_child_count(obj); in find_snap_point_y() local 584 for(i = 0; i < child_cnt; i++) { in find_snap_point_y()
|
D | lv_indev.c | 601 uint32_t child_cnt = lv_obj_get_child_count(obj); in lv_indev_search_obj() local 604 for(i = child_cnt - 1; i >= 0; i--) { in lv_indev_search_obj()
|
/lvgl-latest/src/widgets/calendar/ |
D | lv_calendar.c | 207 uint32_t child_cnt = lv_obj_get_child_count(obj); in lv_calendar_set_month_shown() local 208 for(i = 0; i < child_cnt; i++) { in lv_calendar_set_month_shown()
|
/lvgl-latest/demos/smartwatch/ |
D | lv_demo_smartwatch.c | 147 uint32_t child_cnt = lv_obj_get_child_count(list); in lv_demo_smartwatch_scroll_event() local 148 for(i = 0; i < child_cnt; i++) { in lv_demo_smartwatch_scroll_event()
|
/lvgl-latest/scripts/gdb/lvglgdb/ |
D | lvgl.py | 94 return self.spec_attr.child_cnt if self.spec_attr else 0
|
/lvgl-latest/src/libs/svg/ |
D | lv_svg_render.c | 1068 lv_array_init(&group->items, LV_TREE_NODE(node)->child_cnt, sizeof(lv_svg_render_obj_t *)); in _init_group() 1097 lv_array_init(&text->contents, LV_TREE_NODE(node)->child_cnt, sizeof(lv_svg_render_obj_t *)); in _init_text() 1149 uint32_t count = LV_TREE_NODE(node)->child_cnt; in _init_gradient() 2045 uint32_t count = LV_TREE_NODE(node)->child_cnt; in _lv_svg_doc_walk_after_cb()
|
D | lv_svg_parser.c | 2298 for(uint32_t i = 0; i < tree_root->child_cnt; i++) { in _lv_svg_dump_tree()
|
/lvgl-latest/src/layouts/grid/ |
D | lv_grid.c | 210 for(i = 0; i < cont->spec_attr->child_cnt; i++) { in grid_update()
|