Searched refs:pad_right (Results 1 – 4 of 4) sorted by relevance
460 lv_coord_t pad_right = lv_obj_get_style_pad_right(obj, LV_PART_MAIN); in find_snap_point_x() local477 x_parent = obj->coords.x2 - pad_right; in find_snap_point_x()481 …_parent = obj->coords.x1 + pad_left + (lv_area_get_width(&obj->coords) - pad_left - pad_right) / 2; in find_snap_point_x()621 lv_coord_t pad_right = lv_obj_get_style_pad_right(scroll_obj, LV_PART_MAIN); in elastic_diff() local625 …point = pad_left + (lv_area_get_width(&scroll_obj->coords) - pad_left - pad_right) / 2 + scroll_ob… in elastic_diff()633 snap_point = scroll_obj->coords.x2 - pad_right; in elastic_diff()
173 lv_coord_t pad_right = lv_obj_get_style_pad_right(obj, LV_PART_MAIN); 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()225 lv_coord_t pad_right = lv_obj_get_style_pad_right(obj, LV_PART_MAIN); in lv_obj_get_scroll_right() local230 child_res -= (obj->coords.x2 - pad_right - border_width); 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()
993 lv_coord_t pad_right = lv_obj_get_style_pad_right(obj, LV_PART_MAIN) + border_width; in calc_content_width() local997 self_w = lv_obj_get_self_width(obj) + pad_left + pad_right; in calc_content_width()1022 … child_res = LV_MAX(child_res, lv_area_get_width(&child->coords) + pad_right); in calc_content_width()1064 child_res += pad_right; in calc_content_width()
189 ### pad_right subsection