Home
last modified time | relevance | path

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

/lvgl-3.7.0/src/core/
Dlv_obj_pos.c999 lv_coord_t child_res = LV_COORD_MIN; in calc_content_width() local
1016 child_res = LV_MAX(child_res, obj->coords.x2 - child->coords.x1 + 1); in calc_content_width()
1022child_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()
1030 if(child_res != LV_COORD_MIN) { in calc_content_width()
1031 child_res += pad_left; in calc_content_width()
1048 child_res = LV_MAX(child_res, child->coords.x2 - obj->coords.x1 + 1); in calc_content_width()
1054child_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()
1063 if(child_res != LV_COORD_MIN) { in calc_content_width()
[all …]
Dlv_obj_scroll.c138 lv_coord_t child_res = LV_COORD_MIN; in lv_obj_get_scroll_bottom() local
144 child_res = LV_MAX(child_res, child->coords.y2); in lv_obj_get_scroll_bottom()
151 if(child_res != LV_COORD_MIN) { in lv_obj_get_scroll_bottom()
152 child_res -= (obj->coords.y2 - pad_bottom - border_width); in lv_obj_get_scroll_bottom()
158 return LV_MAX(child_res, self_h); in lv_obj_get_scroll_bottom()
177 lv_coord_t child_res = 0; in lv_obj_get_scroll_left() local
190 child_res = x1; in lv_obj_get_scroll_left()
191 child_res = (obj->coords.x1 + pad_left + border_width) - child_res; in lv_obj_get_scroll_left()
194 child_res = LV_COORD_MIN; in lv_obj_get_scroll_left()
201 return LV_MAX(child_res, self_w); in lv_obj_get_scroll_left()
[all …]