Home
last modified time | relevance | path

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

/lvgl-latest/src/libs/qrcode/
Dlv_qrcode.c149 int32_t obj_w = draw_buf->header.w; in lv_qrcode_update() local
151 scale = obj_w / qr_size; in lv_qrcode_update()
153 int margin = (obj_w - scaled) / 2; in lv_qrcode_update()
/lvgl-latest/src/core/
Dlv_obj_scroll.c516 int32_t obj_w = lv_obj_get_width(obj); in lv_obj_get_scrollbar_area() local
574 int32_t content_w = obj_w + sl + sr; in lv_obj_get_scrollbar_area()
581 int32_t sb_w = ((obj_w - left_space - right_space - ver_reg_space) * obj_w) / content_w; in lv_obj_get_scrollbar_area()
583 sb_w = LV_MIN(sb_w, obj_w); /*Limit scrollbar length to parent width*/ in lv_obj_get_scrollbar_area()
584 rem = (obj_w - left_space - right_space - ver_reg_space) - in lv_obj_get_scrollbar_area()
586 … int32_t scroll_w = content_w - obj_w; /*The size of the content which can be really scrolled*/ in lv_obj_get_scrollbar_area()