Home
last modified time | relevance | path

Searched refs:child_cnt (Results 1 – 16 of 16) sorted by relevance

/lvgl-latest/src/core/
Dlv_obj_tree.c152 old_parent->spec_attr->child_cnt--; in lv_obj_set_parent()
153 if(old_parent->spec_attr->child_cnt) { in lv_obj_set_parent()
155 … old_parent->spec_attr->child_cnt * (sizeof(lv_obj_t *))); in lv_obj_set_parent()
163 parent->spec_attr->child_cnt++; in lv_obj_set_parent()
165 … parent->spec_attr->child_cnt * (sizeof(lv_obj_t *))); in lv_obj_set_parent()
301 id = obj->spec_attr->child_cnt + id; in lv_obj_get_child()
309 if(idu >= obj->spec_attr->child_cnt) return NULL; in lv_obj_get_child()
317 return obj->spec_attr->child_cnt; in lv_obj_get_child_cnt()
407 for(i = id; i < obj->parent->spec_attr->child_cnt - 1; i++) { in obj_del_core()
410 obj->parent->spec_attr->child_cnt--; in obj_del_core()
[all …]
Dlv_obj_class.c91 parent->spec_attr->child_cnt = 1; in lv_obj_class_create_obj()
94 parent->spec_attr->child_cnt++; in lv_obj_class_create_obj()
96 … sizeof(lv_obj_t *) * parent->spec_attr->child_cnt); in lv_obj_class_create_obj()
97 parent->spec_attr->children[parent->spec_attr->child_cnt - 1] = obj; in lv_obj_class_create_obj()
Dlv_obj.c749 uint32_t child_cnt = lv_obj_get_child_cnt(obj); in lv_obj_event() local
750 for(uint32_t i = 0; i < child_cnt; i++) { in lv_obj_event()
849 uint32_t child_cnt = lv_obj_get_child_cnt(obj); in lv_obj_event() local
850 for(i = 0; i < child_cnt; i++) { in lv_obj_event()
959 uint32_t child_cnt = 0; in obj_valid_child() local
960 if(parent->spec_attr) child_cnt = parent->spec_attr->child_cnt; in obj_valid_child()
962 for(i = 0; i < child_cnt; i++) { in obj_valid_child()
Dlv_obj_pos.c783 uint32_t child_cnt = lv_obj_get_child_cnt(obj); in lv_obj_move_children_by() local
784 for(i = 0; i < child_cnt; i++) { in lv_obj_move_children_by()
1001 uint32_t child_cnt = lv_obj_get_child_cnt(obj); in calc_content_width() local
1004 for(i = 0; i < child_cnt; i++) { in calc_content_width()
1036 for(i = 0; i < child_cnt; i++) { in calc_content_width()
1085 uint32_t child_cnt = lv_obj_get_child_cnt(obj); in calc_content_height() local
1086 for(i = 0; i < child_cnt; i++) { in calc_content_height()
1127 uint32_t child_cnt = lv_obj_get_child_cnt(obj); in layout_update_core() local
1128 for(i = 0; i < child_cnt; i++) { in layout_update_core()
1138 if(child_cnt > 0) { in layout_update_core()
Dlv_obj_scroll.c140 uint32_t child_cnt = lv_obj_get_child_cnt(obj); in lv_obj_get_scroll_bottom() local
141 for(i = 0; i < child_cnt; i++) { in lv_obj_get_scroll_bottom()
181 uint32_t child_cnt = lv_obj_get_child_cnt(obj); in lv_obj_get_scroll_left() local
182 for(i = 0; i < child_cnt; i++) { in lv_obj_get_scroll_left()
218 uint32_t child_cnt = lv_obj_get_child_cnt(obj); in lv_obj_get_scroll_right() local
219 for(i = 0; i < child_cnt; i++) { in lv_obj_get_scroll_right()
Dlv_obj.h156 uint32_t child_cnt; /**< Number of children*/ member
Dlv_refr.c179 uint32_t child_cnt = lv_obj_get_child_cnt(obj); in lv_obj_redraw() local
180 for(i = 0; i < child_cnt; i++) { in lv_obj_redraw()
821 int32_t child_cnt = lv_obj_get_child_cnt(obj); in lv_refr_get_top_obj() local
822 for(i = child_cnt - 1; i >= 0; i--) { in lv_refr_get_top_obj()
866 uint32_t child_cnt = lv_obj_get_child_cnt(parent); in refr_obj_and_children() local
867 for(i = 0; i < child_cnt; i++) { in refr_obj_and_children()
Dlv_indev_scroll.c463 uint32_t child_cnt = lv_obj_get_child_cnt(obj); in find_snap_point_x() local
464 for(i = 0; i < child_cnt; i++) { in find_snap_point_x()
518 uint32_t child_cnt = lv_obj_get_child_cnt(obj); in find_snap_point_y() local
519 for(i = 0; i < child_cnt; i++) { in find_snap_point_y()
Dlv_obj_style.c683 uint32_t child_cnt = lv_obj_get_child_cnt(obj); in report_style_change_core() local
684 for(i = 0; i < child_cnt; i++) { in report_style_change_core()
697 uint32_t child_cnt = lv_obj_get_child_cnt(obj); in refresh_children_style() local
698 for(i = 0; i < child_cnt; i++) { in refresh_children_style()
Dlv_indev.c314 uint32_t child_cnt = lv_obj_get_child_cnt(obj); in lv_indev_search_obj() local
317 for(i = child_cnt - 1; i >= 0; i--) { in lv_indev_search_obj()
/lvgl-latest/src/extra/others/gridnav/
Dlv_gridnav.c116 uint32_t child_cnt = lv_obj_get_child_cnt(obj); in gridnav_event_cb() local
117 if(child_cnt == 0) return; in gridnav_event_cb()
270 uint32_t child_cnt = lv_obj_get_child_cnt(obj); in find_chid() local
277 for(i = 0; i < child_cnt; i++) { in find_chid()
338 uint32_t child_cnt = lv_obj_get_child_cnt(obj); in find_first_focusable() local
340 for(i = 0; i < child_cnt; i++) { in find_first_focusable()
350 uint32_t child_cnt = lv_obj_get_child_cnt(obj); in find_last_focusable() local
352 for(i = child_cnt - 1; i >= 0; i--) { in find_last_focusable()
/lvgl-latest/examples/scroll/
Dlv_example_scroll_6.c14 uint32_t child_cnt = lv_obj_get_child_cnt(cont); in scroll_event_cb() local
15 for(i = 0; i < child_cnt; i++) { in scroll_event_cb()
Dlv_example_scroll_6.py11 child_cnt = cont.get_child_cnt()
12 for i in range(child_cnt):
/lvgl-latest/src/extra/layouts/flex/
Dlv_flex.c256 track_first_item = f.rev ? cont->spec_attr->child_cnt - 1 : 0; in flex_update()
258 while(track_first_item < (int32_t)cont->spec_attr->child_cnt && track_first_item >= 0) { in flex_update()
274 track_first_item = f.rev ? cont->spec_attr->child_cnt - 1 : 0; in flex_update()
280 while(track_first_item < (int32_t)cont->spec_attr->child_cnt && track_first_item >= 0) { in flex_update()
591 … if((*item_id) < (int32_t)cont->spec_attr->child_cnt) return cont->spec_attr->children[*item_id]; in get_next_item()
/lvgl-latest/src/extra/widgets/calendar/
Dlv_calendar.c160 uint32_t child_cnt = lv_obj_get_child_cnt(obj); in lv_calendar_set_showed_date() local
161 for(i = 0; i < child_cnt; i++) { in lv_calendar_set_showed_date()
/lvgl-latest/src/extra/layouts/grid/
Dlv_grid.c361 for(i = 0; i < cont->spec_attr->child_cnt; i++) { in grid_update()