/lvgl-2.7.6/src/lv_misc/ |
D | lv_area.c | 84 lv_coord_t w = lv_area_get_width(area_p); in _lv_area_set_pos() 164 lv_coord_t w = lv_area_get_width(a_p) / 2; in _lv_area_is_point_on() 278 res->x = lv_area_get_width(base) / 2 - lv_area_get_width(to_align) / 2; in _lv_area_align() 287 res->x = lv_area_get_width(base) / 2 - lv_area_get_width(to_align) / 2; in _lv_area_align() 292 res->x = lv_area_get_width(base) - lv_area_get_width(to_align); in _lv_area_align() 301 res->x = lv_area_get_width(base) / 2 - lv_area_get_width(to_align) / 2; in _lv_area_align() 306 res->x = lv_area_get_width(base) - lv_area_get_width(to_align); in _lv_area_align() 316 res->x = lv_area_get_width(base) - lv_area_get_width(to_align); in _lv_area_align() 326 res->x = lv_area_get_width(base) / 2 - lv_area_get_width(to_align) / 2; in _lv_area_align() 331 res->x = lv_area_get_width(base) - lv_area_get_width(to_align); in _lv_area_align() [all …]
|
D | lv_area.h | 110 static inline lv_coord_t lv_area_get_width(const lv_area_t * area_p) in lv_area_get_width() function
|
/lvgl-2.7.6/src/lv_draw/ |
D | lv_draw_img.c | 253 int32_t w = lv_area_get_width(coords); in lv_img_draw_core() 284 int32_t width = lv_area_get_width(&mask_com); in lv_img_draw_core() 286 uint8_t * buf = _lv_mem_buf_get(lv_area_get_width(&mask_com) * in lv_img_draw_core() 364 int32_t map_w = lv_area_get_width(map_area); in lv_draw_map() 377 blend_area.x2 = blend_area.x1 + lv_area_get_width(&draw_area) - 1; in lv_draw_map() 382 lv_coord_t draw_area_w = lv_area_get_width(&draw_area); in lv_draw_map() 394 int32_t disp_w = lv_area_get_width(disp_area); in lv_draw_map() 428 if(px_i + lv_area_get_width(&draw_area) < mask_buf_size) { in lv_draw_map() 574 lv_area_get_width(&draw_area)); in lv_draw_map() 576 _lv_memset_00(mask_buf + px_i_start, lv_area_get_width(&draw_area)); in lv_draw_map() [all …]
|
D | lv_draw_blend.c | 164 int32_t mask_w = lv_area_get_width(&draw_area); in _lv_blend_fill() 232 int32_t mask_w = lv_area_get_width(&draw_area); in _lv_blend_map() 262 int32_t disp_w = lv_area_get_width(disp_area); in fill_set_px() 281 int32_t draw_area_w = lv_area_get_width(draw_area); in fill_set_px() 319 int32_t disp_w = lv_area_get_width(disp_area); in fill_normal() 321 int32_t draw_area_w = lv_area_get_width(draw_area); in fill_normal() 549 int32_t disp_w = lv_area_get_width(disp_area); in fill_blended() 589 int32_t draw_area_w = lv_area_get_width(draw_area); in fill_blended() 630 int32_t disp_w = lv_area_get_width(disp_area); in map_set_px() 633 int32_t draw_area_w = lv_area_get_width(draw_area); in map_set_px() [all …]
|
D | lv_draw_rect.c | 104 if(lv_area_get_height(coords) < 1 || lv_area_get_width(coords) < 1) return; in lv_draw_rect() 205 int32_t draw_area_w = lv_area_get_width(&draw_area); in draw_bg() 220 int32_t coords_w = lv_area_get_width(&coords_bg); in draw_bg() 260 if(lv_area_get_width(&coords_bg) - 2 * rout > SPLIT_LIMIT) split = true; in draw_bg() 396 int32_t coords_w = lv_area_get_width(coords); in draw_border() 438 int32_t draw_area_w = lv_area_get_width(&draw_area); in draw_border() 583 int32_t short_side = LV_MATH_MIN(lv_area_get_width(&bg_coords), lv_area_get_height(&bg_coords)); in draw_shadow() 587 short_side = LV_MATH_MIN(lv_area_get_width(&sh_rect_area), lv_area_get_height(&sh_rect_area)); in draw_shadow() 619 lv_coord_t w_half = sh_area.x1 + lv_area_get_width(&sh_area) / 2; in draw_shadow() 628 lv_opa_t * mask_buf = _lv_mem_buf_get(lv_area_get_width(&sh_area)); in draw_shadow() [all …]
|
D | lv_draw_label.c | 134 w = lv_area_get_width(coords); in lv_draw_label() 200 pos.x += (lv_area_get_width(coords) - line_width) / 2; in lv_draw_label() 206 pos.x += lv_area_get_width(coords) - line_width; in lv_draw_label() 367 pos.x += (lv_area_get_width(coords) - line_width) / 2; in lv_draw_label() 374 pos.x += lv_area_get_width(coords) - line_width; in lv_draw_label() 573 lv_area_get_width(&fill_area)); in draw_letter_normal() 575 _lv_memset_00(mask_buf + mask_p_start, lv_area_get_width(&fill_area)); in draw_letter_normal() 672 int32_t vdb_width = lv_area_get_width(&vdb->area); in draw_letter_subpx() 778 lv_area_get_width(&map_area)); in draw_letter_subpx() 780 _lv_memset_00(mask_buf + mask_p_start, lv_area_get_width(&map_area)); in draw_letter_subpx()
|
D | lv_draw_line.c | 168 int32_t draw_area_w = lv_area_get_width(&draw_area); in draw_line_hor() 269 int32_t draw_area_w = lv_area_get_width(&draw_area); in draw_line_ver() 423 int32_t draw_area_w = lv_area_get_width(&draw_area); in draw_line_skew()
|
D | lv_draw_mask.c | 373 lv_coord_t w = lv_area_get_width(rect); in lv_draw_mask_radius_init() 944 int32_t w = lv_area_get_width(&rect); in lv_draw_mask_radius() 1201 map_tmp += (abs_y - p->cfg.coords.y1) * lv_area_get_width(&p->cfg.coords); in lv_draw_mask_map()
|
/lvgl-2.7.6/src/lv_widgets/ |
D | lv_label.c | 599 lv_coord_t max_w = lv_area_get_width(&txt_coords); in lv_label_get_letter_pos() 667 x += lv_area_get_width(&txt_coords) / 2 - line_w / 2; in lv_label_get_letter_pos() 674 x += lv_area_get_width(&txt_coords) - line_w; in lv_label_get_letter_pos() 706 lv_coord_t max_w = lv_area_get_width(&txt_coords); in lv_label_get_letter_on() 756 x += lv_area_get_width(&txt_coords) / 2 - line_w / 2; in lv_label_get_letter_on() 761 x += lv_area_get_width(&txt_coords) - line_w; in lv_label_get_letter_on() 871 lv_coord_t max_w = lv_area_get_width(&txt_coords); in lv_label_is_char_under_pos() 901 x += lv_area_get_width(&txt_coords) / 2 - line_w / 2; in lv_label_is_char_under_pos() 906 x += lv_area_get_width(&txt_coords) - line_w; in lv_label_is_char_under_pos() 1105 if(size.x > lv_area_get_width(&txt_coords)) { in lv_label_design() [all …]
|
D | lv_bar.c | 456 else if(!hor && lv_area_get_width(&ext->indic_area) < LV_BAR_SIZE_MIN) { in draw_indic() 461 lv_coord_t indicw = lv_area_get_width(&ext->indic_area); in draw_indic() 475 indic_length_calc = lv_area_get_width; in draw_indic() 564 if((hor && lv_area_get_width(&ext->indic_area) > bg_radius * 2) || in draw_indic() 605 else if(!hor && lv_area_get_width(&mask_indic_max_area) < LV_BAR_SIZE_MIN) { in draw_indic()
|
D | lv_chart.c | 854 lv_coord_t w = lv_area_get_width(series_area); in draw_series_bg() 920 lv_coord_t w = lv_area_get_width(series_area); in draw_series_line() 1072 lv_coord_t w = lv_area_get_width(series_area); in draw_series_column() 1252 lv_coord_t w = lv_area_get_width(series_area); in draw_y_ticks() 1394 lv_coord_t w = lv_area_get_width(series_area); in draw_x_ticks() 1502 lv_coord_t w = lv_area_get_width(&series_area); in invalidate_lines() 1540 lv_coord_t w = lv_area_get_width(&series_area); in invalidate_columns()
|
D | lv_btnmatrix.c | 695 btn_w = lv_area_get_width(&area_tmp); in lv_btnmatrix_design() 797 line_space, lv_area_get_width(&area_btnm), txt_flag); in lv_btnmatrix_design() 846 …if(lv_obj_get_width(btnm) != lv_area_get_width(param) || lv_obj_get_height(btnm) != lv_area_get_he… in lv_btnmatrix_signal() 1029 …ext->button_areas[ext->btn_id_focused].x1 + (lv_area_get_width(&ext->button_areas[ext->btn_id_focu… in lv_btnmatrix_signal() 1055 …ext->button_areas[ext->btn_id_focused].x1 + (lv_area_get_width(&ext->button_areas[ext->btn_id_focu… in lv_btnmatrix_signal()
|
D | lv_page.c | 851 if(ext->scrl != NULL && (lv_obj_get_width(page) != lv_area_get_width(param) || in lv_page_signal() 961 …(lv_obj_get_width(scrl) != lv_area_get_width(param) || lv_obj_get_height(scrl) != lv_area_get_heig… in lv_page_scrollable_signal() 1130 if(lv_area_get_width(&scrl_coords) + left + right <= lv_area_get_width(&page_coords)) { in scrl_reposition() 1139 …new_x = lv_area_get_width(&page_coords) - lv_area_get_width(&scrl_coords) - right; /* Right align … in scrl_reposition()
|
D | lv_switch.c | 219 lv_coord_t act_indic_w = lv_area_get_width(&ext->bar.indic_area); in lv_switch_design()
|
D | lv_cpicker.c | 581 lv_coord_t grad_w = lv_area_get_width(&grad_area); in draw_rect_grad() 707 if(lv_obj_get_width(cpicker) != lv_area_get_width(param) || in lv_cpicker_signal()
|
D | lv_tabview.c | 645 if(ext->content != NULL && (lv_obj_get_width(tabview) != lv_area_get_width(param) || in lv_tabview_signal() 889 indic_w = lv_area_get_width(&btnm_ext->button_areas[0]); in refr_indic_size()
|
D | lv_msgbox.c | 452 if(lv_obj_get_width(mbox) != lv_area_get_width(param)) { in lv_msgbox_signal()
|
D | lv_table.c | 828 lv_area_get_width(&txt_area), txt_flags); in lv_table_design() 867 lv_area_get_width(&txt_area), txt_flags); in lv_table_design()
|
D | lv_slider.c | 401 if(lv_obj_get_width(slider) != lv_area_get_width(param) || in lv_slider_signal()
|
D | lv_gauge.c | 615 … a.x1 = gauge->coords.x1 + lv_area_get_width(&gauge->coords) / 2 - ext->needle_img_pivot.x; in lv_gauge_draw_needle()
|
D | lv_win.c | 637 …if(lv_area_get_width(param) != lv_obj_get_width(win) || lv_area_get_height(param) != lv_obj_get_he… in lv_win_signal()
|
D | lv_cont.c | 278 …if(lv_obj_get_width(cont) != lv_area_get_width(param) || lv_obj_get_height(cont) != lv_area_get_he… in lv_cont_signal()
|
D | lv_list.c | 798 if((sign == LV_SIGNAL_COORD_CHG && (lv_obj_get_width(btn) != lv_area_get_width(param) || in lv_list_btn_signal()
|
D | lv_textarea.c | 1458 …if(lv_obj_get_width(ta) != lv_area_get_width(param) || lv_obj_get_height(ta) != lv_area_get_height… in lv_textarea_signal() 1536 if(lv_obj_get_width(scrl) != lv_area_get_width(param) || in lv_textarea_scrollable_signal()
|
/lvgl-2.7.6/src/lv_core/ |
D | lv_refr.c | 239 lv_area_get_width(&disp_refr->inv_areas[a]), in _lv_disp_refr_task() 244 … uint32_t line_length = lv_area_get_width(&disp_refr->inv_areas[a]) * sizeof(lv_color_t); in _lv_disp_refr_task() 410 lv_coord_t w = lv_area_get_width(area_p); in lv_refr_area()
|