Searched refs:bg_right (Results 1 – 5 of 5) sorted by relevance
356 lv_style_int_t bg_right = lv_obj_get_style_pad_right(page, LV_PAGE_PART_BG); in lv_page_get_width_fit() local360 return lv_obj_get_width(page) - bg_left - bg_right - scrl_left - scrl_right; in lv_page_get_width_fit()529 lv_style_int_t bg_right = lv_obj_get_style_pad_right(page, LV_PAGE_PART_BG); in lv_page_focus() local534 lv_coord_t right_err = scrlable_x + obj_x + obj_w - (page_w - bg_right); in lv_page_focus()545 scrlable_x = -(obj_x + scrl_right + bg_right); in lv_page_focus()1195 lv_style_int_t bg_right = lv_obj_get_style_pad_right(page, LV_PAGE_PART_BG); in scrlbar_refresh() local1233 if(scrl_w <= obj_w - bg_left - bg_right) { in scrlbar_refresh()1243 (obj_w * (obj_w - (2 * sb_hor_pad))) / (scrl_w + bg_left + bg_right); in scrlbar_refresh()1250 (scrl_w + bg_left + bg_right - obj_w), in scrlbar_refresh()
216 lv_style_int_t bg_right = lv_obj_get_style_pad_right(sw, LV_SWITCH_PART_BG); in lv_switch_design() local218 lv_coord_t max_indic_w = objw - bg_left - bg_right; in lv_switch_design()
337 lv_style_int_t bg_right = lv_obj_get_style_pad_right(slider, LV_SLIDER_PART_BG); in lv_slider_signal() local347 lv_coord_t indic_w = w - bg_left - bg_right; in lv_slider_signal()349 … new_value = (slider->coords.x2 - bg_right) - p.x; /*Make the point relative to the indicator*/ in lv_slider_signal()
441 lv_style_int_t bg_right = lv_obj_get_style_pad_right(bar, LV_BAR_PART_BG); in draw_indic() local448 ext->indic_area.x2 -= bg_right; in draw_indic()599 mask_indic_max_area.x2 -= bg_right; in draw_indic()
712 lv_style_int_t bg_right = lv_obj_get_style_pad_right(table, LV_TABLE_PART_BG); in lv_table_design() local802 …pe].border_side & LV_BORDER_SIDE_RIGHT) && cell_area_border.x2 < table->coords.x2 - bg_right - 1) { in lv_table_design()1020 lv_style_int_t bg_right = lv_obj_get_style_pad_right(table, LV_TABLE_PART_BG); in refr_size() local1021 w += bg_left + bg_right; in refr_size()