Searched refs:self_w (Results 1 – 2 of 2) sorted by relevance
197 lv_coord_t self_w = lv_obj_get_self_width(obj); in lv_obj_get_scroll_left() local198 self_w = self_w - (lv_obj_get_width(obj) - pad_right - pad_left - 2 * border_width); in lv_obj_get_scroll_left()199 self_w += lv_obj_get_scroll_x(obj); in lv_obj_get_scroll_left()201 return LV_MAX(child_res, self_w); in lv_obj_get_scroll_left()233 lv_coord_t self_w; in lv_obj_get_scroll_right() local234 self_w = lv_obj_get_self_width(obj); in lv_obj_get_scroll_right()235 self_w = self_w - (lv_obj_get_width(obj) - pad_right - pad_left - 2 * border_width); in lv_obj_get_scroll_right()236 self_w -= lv_obj_get_scroll_x(obj); in lv_obj_get_scroll_right()237 return LV_MAX(child_res, self_w); in lv_obj_get_scroll_right()
996 lv_coord_t self_w; in calc_content_width() local997 self_w = lv_obj_get_self_width(obj) + pad_left + pad_right; in calc_content_width()1068 if(child_res == LV_COORD_MIN) return self_w; in calc_content_width()1069 else return LV_MAX(child_res, self_w); in calc_content_width()