Home
last modified time | relevance | path

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

/lvgl-2.7.6/src/lv_widgets/
Dlv_cont.c662 lv_area_t parent_area; in lv_cont_refr_autofit() local
663 lv_area_copy(&parent_area, &par->coords); in lv_cont_refr_autofit()
664 parent_area.x1 += lv_obj_get_style_pad_left(par, LV_OBJ_PART_MAIN); in lv_cont_refr_autofit()
665 parent_area.x2 -= lv_obj_get_style_pad_right(par, LV_OBJ_PART_MAIN); in lv_cont_refr_autofit()
666 parent_area.y1 += lv_obj_get_style_pad_top(par, LV_OBJ_PART_MAIN); in lv_cont_refr_autofit()
667 parent_area.y2 -= lv_obj_get_style_pad_bottom(par, LV_OBJ_PART_MAIN); in lv_cont_refr_autofit()
719 new_area.x1 = parent_area.x1; in lv_cont_refr_autofit()
722 … new_area.x1 = has_children ? LV_MATH_MIN(tight_area.x1, parent_area.x1) : parent_area.x1; in lv_cont_refr_autofit()
733 new_area.x2 = parent_area.x2; in lv_cont_refr_autofit()
736 … new_area.x2 = has_children ? LV_MATH_MAX(tight_area.x2, parent_area.x2) : parent_area.x2; in lv_cont_refr_autofit()
[all …]