Lines Matching refs:tight_area

594     lv_area_t tight_area;  in lv_cont_refr_autofit()  local
610 lv_obj_get_coords(cont, &tight_area); in lv_cont_refr_autofit()
615 tight_area.x1 = LV_COORD_MAX; in lv_cont_refr_autofit()
616 tight_area.y1 = LV_COORD_MAX; in lv_cont_refr_autofit()
617 tight_area.x2 = LV_COORD_MIN; in lv_cont_refr_autofit()
618 tight_area.y2 = LV_COORD_MIN; in lv_cont_refr_autofit()
623 tight_area.x1 = LV_MATH_MIN(tight_area.x1, child_i->coords.x1); in lv_cont_refr_autofit()
624 tight_area.y1 = LV_MATH_MIN(tight_area.y1, child_i->coords.y1); in lv_cont_refr_autofit()
625 tight_area.x2 = LV_MATH_MAX(tight_area.x2, child_i->coords.x2); in lv_cont_refr_autofit()
626 tight_area.y2 = LV_MATH_MAX(tight_area.y2, child_i->coords.y2); in lv_cont_refr_autofit()
629 tight_area.x1 -= style->body.padding.left; in lv_cont_refr_autofit()
630 tight_area.x2 += style->body.padding.right; in lv_cont_refr_autofit()
631 tight_area.y1 -= style->body.padding.top; in lv_cont_refr_autofit()
632 tight_area.y2 += style->body.padding.bottom; in lv_cont_refr_autofit()
639 case LV_FIT_TIGHT: new_area.x1 = tight_area.x1; break; in lv_cont_refr_autofit()
641 …case LV_FIT_FILL: new_area.x1 = has_children ? LV_MATH_MIN(tight_area.x1, flood_area.x1) : flood_a… in lv_cont_refr_autofit()
646 case LV_FIT_TIGHT: new_area.x2 = tight_area.x2; break; in lv_cont_refr_autofit()
648 …case LV_FIT_FILL: new_area.x2 = has_children ? LV_MATH_MAX(tight_area.x2, flood_area.x2) : flood_a… in lv_cont_refr_autofit()
653 case LV_FIT_TIGHT: new_area.y1 = tight_area.y1; break; in lv_cont_refr_autofit()
655 …case LV_FIT_FILL: new_area.y1 = has_children ? LV_MATH_MIN(tight_area.y1, flood_area.y1) : flood_a… in lv_cont_refr_autofit()
660 case LV_FIT_TIGHT: new_area.y2 = tight_area.y2; break; in lv_cont_refr_autofit()
662 …case LV_FIT_FILL: new_area.y2 = has_children ? LV_MATH_MAX(tight_area.y2, flood_area.y2) : flood_a… in lv_cont_refr_autofit()