Home
last modified time | relevance | path

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

/lvgl-latest/src/core/
Dlv_obj_scroll.c158 int32_t self_h = lv_obj_get_self_height(obj); in lv_obj_get_scroll_bottom() local
159 self_h = self_h - (lv_obj_get_height(obj) - space_top - space_bottom); in lv_obj_get_scroll_bottom()
160 self_h -= lv_obj_get_scroll_y(obj); in lv_obj_get_scroll_bottom()
161 return LV_MAX(child_res, self_h); in lv_obj_get_scroll_bottom()
Dlv_obj_pos.c1186 int32_t self_h; in calc_content_height() local
1187 self_h = lv_obj_get_self_height(obj) + space_top + space_bottom; in calc_content_height()
1226 if(child_res == LV_COORD_MIN) return self_h; in calc_content_height()
1227 return LV_MAX(self_h, child_res + space_bottom); in calc_content_height()