Lines Matching refs:child
785 lv_obj_t * child = obj->spec_attr->children[i]; in lv_obj_move_children_by() local
786 if(ignore_floating && lv_obj_has_flag(child, LV_OBJ_FLAG_FLOATING)) continue; in lv_obj_move_children_by()
787 child->coords.x1 += x_diff; in lv_obj_move_children_by()
788 child->coords.y1 += y_diff; in lv_obj_move_children_by()
789 child->coords.x2 += x_diff; in lv_obj_move_children_by()
790 child->coords.y2 += y_diff; in lv_obj_move_children_by()
792 lv_obj_move_children_by(child, x_diff, y_diff, false); in lv_obj_move_children_by()
1005 lv_obj_t * child = obj->spec_attr->children[i]; in calc_content_width() local
1006 if(lv_obj_has_flag_any(child, LV_OBJ_FLAG_HIDDEN | LV_OBJ_FLAG_FLOATING)) continue; in calc_content_width()
1008 if(!lv_obj_is_layout_positioned(child)) { in calc_content_width()
1009 lv_align_t align = lv_obj_get_style_align(child, 0); in calc_content_width()
1016 child_res = LV_MAX(child_res, obj->coords.x2 - child->coords.x1 + 1); in calc_content_width()
1021 if(lv_obj_get_style_x(child, 0) == 0) { in calc_content_width()
1022 … child_res = LV_MAX(child_res, lv_area_get_width(&child->coords) + pad_right); in calc_content_width()
1027 child_res = LV_MAX(child_res, obj->coords.x2 - child->coords.x1 + 1); in calc_content_width()
1037 lv_obj_t * child = obj->spec_attr->children[i]; in calc_content_width() local
1038 if(lv_obj_has_flag_any(child, LV_OBJ_FLAG_HIDDEN | LV_OBJ_FLAG_FLOATING)) continue; in calc_content_width()
1040 if(!lv_obj_is_layout_positioned(child)) { in calc_content_width()
1041 lv_align_t align = lv_obj_get_style_align(child, 0); in calc_content_width()
1048 child_res = LV_MAX(child_res, child->coords.x2 - obj->coords.x1 + 1); in calc_content_width()
1053 if(lv_obj_get_style_y(child, 0) == 0) { in calc_content_width()
1054 … child_res = LV_MAX(child_res, lv_area_get_width(&child->coords) + pad_left); in calc_content_width()
1059 child_res = LV_MAX(child_res, child->coords.x2 - obj->coords.x1 + 1); in calc_content_width()
1087 lv_obj_t * child = obj->spec_attr->children[i]; in calc_content_height() local
1088 if(lv_obj_has_flag_any(child, LV_OBJ_FLAG_HIDDEN | LV_OBJ_FLAG_FLOATING)) continue; in calc_content_height()
1090 if(!lv_obj_is_layout_positioned(child)) { in calc_content_height()
1091 lv_align_t align = lv_obj_get_style_align(child, 0); in calc_content_height()
1098 child_res = LV_MAX(child_res, child->coords.y2 - obj->coords.y1 + 1); in calc_content_height()
1103 if(lv_obj_get_style_y(child, 0) == 0) { in calc_content_height()
1104 child_res = LV_MAX(child_res, lv_area_get_height(&child->coords) + pad_top); in calc_content_height()
1110 child_res = LV_MAX(child_res, child->coords.y2 - obj->coords.y1 + 1); in calc_content_height()
1129 lv_obj_t * child = obj->spec_attr->children[i]; in layout_update_core() local
1130 layout_update_core(child); in layout_update_core()