/lvgl-2.7.6/examples/porting/ |
D | lv_port_disp_template.c | 27 static void disp_flush(lv_disp_drv_t * disp_drv, const lv_area_t * area, lv_color_t * color_p); 141 static void disp_flush(lv_disp_drv_t * disp_drv, const lv_area_t * area, lv_color_t * color_p) 147 for(y = area->y1; y <= area->y2; y++) { 148 for(x = area->x1; x <= area->x2; x++) {
|
/lvgl-2.7.6/examples/ |
D | LVGL_Arduino.ino | 19 void my_disp_flush(lv_disp_drv_t *disp, const lv_area_t *area, lv_color_t *color_p) 21 uint32_t w = (area->x2 - area->x1 + 1); 22 uint32_t h = (area->y2 - area->y1 + 1); 25 tft.setAddrWindow(area->x1, area->y1, w, h);
|
/lvgl-2.7.6/src/lv_core/ |
D | lv_refr.c | 399 vdb->area.x1 = 0; in lv_refr_area() 400 vdb->area.x2 = lv_disp_get_hor_res(disp_refr) - 1; in lv_refr_area() 401 vdb->area.y1 = 0; in lv_refr_area() 402 vdb->area.y2 = lv_disp_get_ver_res(disp_refr) - 1; in lv_refr_area() 453 vdb->area.x1 = area_p->x1; in lv_refr_area() 454 vdb->area.x2 = area_p->x2; in lv_refr_area() 455 vdb->area.y1 = row; in lv_refr_area() 456 vdb->area.y2 = row + max_row - 1; in lv_refr_area() 457 if(vdb->area.y2 > y2) vdb->area.y2 = y2; in lv_refr_area() 458 row_last = vdb->area.y2; in lv_refr_area() [all …]
|
D | lv_obj.h | 349 void lv_obj_invalidate_area(const lv_obj_t * obj, const lv_area_t * area); 364 bool lv_obj_area_is_visible(const lv_obj_t * obj, lv_area_t * area);
|
D | lv_obj.c | 541 void lv_obj_invalidate_area(const lv_obj_t * obj, const lv_area_t * area) in lv_obj_invalidate_area() argument 546 lv_area_copy(&area_tmp, area); in lv_obj_invalidate_area() 579 bool lv_obj_area_is_visible(const lv_obj_t * obj, lv_area_t * area) in lv_obj_area_is_visible() argument 602 is_common = _lv_area_intersect(area, area, &obj_coords); in lv_obj_area_is_visible() 608 is_common = _lv_area_intersect(area, area, &par->coords); in lv_obj_area_is_visible()
|
/lvgl-2.7.6/src/lv_draw/ |
D | lv_draw_line.c | 129 const lv_area_t * disp_area = &vdb->area; in draw_line_hor() 178 dash_start = (vdb->area.x1 + draw_area.x1) % (dsc->dash_gap + dsc->dash_width); in draw_line_hor() 185 …raw_mask_res_t mask_res = lv_draw_mask_apply(mask_buf, vdb->area.x1 + draw_area.x1, vdb->area.y1 +… in draw_line_hor() 230 const lv_area_t * disp_area = &vdb->area; in draw_line_ver() 264 draw_area.x1 -= vdb->area.x1; in draw_line_ver() 265 draw_area.y1 -= vdb->area.y1; in draw_line_ver() 266 draw_area.x2 -= vdb->area.x1; in draw_line_ver() 267 draw_area.y2 -= vdb->area.y1; in draw_line_ver() 281 dash_start = (vdb->area.y1 + draw_area.y1) % (dsc->dash_gap + dsc->dash_width); in draw_line_ver() 289 …raw_mask_res_t mask_res = lv_draw_mask_apply(mask_buf, vdb->area.x1 + draw_area.x1, vdb->area.y1 +… in draw_line_ver() [all …]
|
D | lv_draw_arc.c | 90 lv_area_t area; in lv_draw_arc() local 91 area.x1 = center_x - radius; in lv_draw_arc() 92 area.y1 = center_y - radius; in lv_draw_arc() 93 …area.x2 = center_x + radius - 1; /*-1 because the center already belongs to the left/bottom part*/ in lv_draw_arc() 94 area.y2 = center_y + radius - 1; in lv_draw_arc() 98 lv_draw_rect(&area, clip_area, &cir_dsc); in lv_draw_arc() 129 q_dsc.draw_area = &area; in lv_draw_arc() 138 lv_draw_rect(&area, clip_area, &cir_dsc); in lv_draw_arc()
|
D | lv_draw_rect.c | 196 const lv_area_t * disp_area = &vdb->area; in draw_bg() 270 int32_t y = h + vdb->area.y1; in draw_bg() 280 …mask_res = lv_draw_mask_apply(mask_buf, vdb->area.x1 + draw_area.x1, vdb->area.y1 + h, draw_area_w… in draw_bg() 286 …mask_res = lv_draw_mask_apply(mask_buf, vdb->area.x1 + draw_area.x1, vdb->area.y1 + h, draw_area_w… in draw_bg() 327 int32_t mask_ofs = (coords_bg.x2 - rout + 1) - (vdb->area.x1 + draw_area.x1); in draw_bg() 429 const lv_area_t * disp_area = &vdb->area; in draw_border() 495 …mask_res = lv_draw_mask_apply(mask_buf, vdb->area.x1 + draw_area.x1, vdb->area.y1 + h, draw_area_w… in draw_border() 564 const lv_area_t * disp_area = &vdb->area; in draw_shadow() 1360 const lv_area_t * disp_area = &vdb->area; in draw_full_border() 1399 …mask_res = lv_draw_mask_apply(mask_buf, vdb->area.x1 + draw_area.x1, vdb->area.y1 + h, draw_area_w… in draw_full_border() [all …]
|
D | lv_draw_img.c | 341 const lv_area_t * disp_area = &vdb->area; in lv_draw_map() 573 …raw_mask_apply(mask_buf + px_i_start, draw_area.x1 + vdb->area.x1, y + draw_area.y1 + vdb->area.y1, in lv_draw_map()
|
D | lv_draw_label.c | 672 int32_t vdb_width = lv_area_get_width(&vdb->area); in draw_letter_subpx() 676 vdb_buf_tmp += ((pos_y - vdb->area.y1) * vdb_width) + pos_x - vdb->area.x1; in draw_letter_subpx()
|
D | lv_draw_blend.c | 138 const lv_area_t * disp_area = &vdb->area; in _lv_blend_fill() 213 const lv_area_t * disp_area = &vdb->area; in _lv_blend_map()
|
/lvgl-2.7.6/tests/ |
D | lv_test_main.c | 11 static void dummy_flush_cb(lv_disp_drv_t * disp_drv, const lv_area_t * area, lv_color_t * color_p); 118 static void dummy_flush_cb(lv_disp_drv_t * disp_drv, const lv_area_t * area, lv_color_t * color_p) in dummy_flush_cb() argument 120 LV_UNUSED(area); in dummy_flush_cb() 123 memcpy(test_fb, color_p, lv_area_get_size(area) * sizeof(lv_color_t)); in dummy_flush_cb()
|
/lvgl-2.7.6/src/lv_hal/ |
D | lv_hal_disp.h | 54 lv_area_t area; member 93 void (*flush_cb)(struct _disp_drv_t * disp_drv, const lv_area_t * area, lv_color_t * color_p); 97 void (*rounder_cb)(struct _disp_drv_t * disp_drv, lv_area_t * area);
|
/lvgl-2.7.6/src/lv_misc/ |
D | lv_area.c | 26 static bool lv_point_within_circle(const lv_area_t * area, const lv_point_t * p); 389 static bool lv_point_within_circle(const lv_area_t * area, const lv_point_t * p) in lv_point_within_circle() argument 391 lv_coord_t r = (area->x2 - area->x1) / 2; in lv_point_within_circle() 394 lv_coord_t cx = area->x1 + r; in lv_point_within_circle() 395 lv_coord_t cy = area->y1 + r; in lv_point_within_circle()
|
/lvgl-2.7.6/src/lv_widgets/ |
D | lv_line.c | 235 lv_area_t area; in lv_line_design() local 236 lv_obj_get_coords(line, &area); in lv_line_design() 237 lv_coord_t x_ofs = area.x1; in lv_line_design() 238 lv_coord_t y_ofs = area.y1; in lv_line_design()
|
D | lv_canvas.h | 159 void lv_canvas_blur_hor(lv_obj_t * canvas, const lv_area_t * area, uint16_t r); 167 void lv_canvas_blur_ver(lv_obj_t * canvas, const lv_area_t * area, uint16_t r);
|
D | lv_canvas.c | 387 void lv_canvas_blur_hor(lv_obj_t * canvas, const lv_area_t * area, uint16_t r) in lv_canvas_blur_hor() argument 396 if(area) { in lv_canvas_blur_hor() 397 lv_area_copy(&a, area); in lv_canvas_blur_hor() 523 void lv_canvas_blur_ver(lv_obj_t * canvas, const lv_area_t * area, uint16_t r) in lv_canvas_blur_ver() argument 532 if(area) { in lv_canvas_blur_ver() 533 lv_area_copy(&a, area); in lv_canvas_blur_ver() 731 lv_area_copy(&disp_buf.area, &mask); in lv_canvas_draw_rect() 803 lv_area_copy(&disp_buf.area, &mask); in lv_canvas_draw_text() 885 lv_area_copy(&disp_buf.area, &mask); in lv_canvas_draw_img() 936 lv_area_copy(&disp_buf.area, &mask); in lv_canvas_draw_line() [all …]
|
D | lv_slider.c | 26 #define LV_SLIDER_KNOB_COORD(hor, is_rtl, area) (hor ? (is_rtl ? area.x1 : area.x2) : (is_rtl ? are… argument
|
D | lv_label.c | 56 static void get_txt_coords(const lv_obj_t * label, lv_area_t * area); 1534 static void get_txt_coords(const lv_obj_t * label, lv_area_t * area) in get_txt_coords() argument 1536 lv_obj_get_coords(label, area); in get_txt_coords() 1542 area->x1 += left; in get_txt_coords() 1543 area->x2 -= right; in get_txt_coords() 1544 area->y1 += top; in get_txt_coords() 1545 area->y2 -= bottom; in get_txt_coords()
|
D | lv_textarea.h | 62 lv_area_t area; /* Cursor area relative to the Text Area*/ member
|
D | lv_textarea.c | 1366 lv_area_copy(&cur_area, &ext->cursor.area); in lv_textarea_scrollable_design() 1609 lv_area_copy(&area_tmp, &ext->cursor.area); in cursor_blink_anim() 1779 lv_area_copy(&area_tmp, &ext->cursor.area); in refr_cursor_area() 1786 lv_area_copy(&ext->cursor.area, &cur_area); in refr_cursor_area() 1788 lv_area_copy(&area_tmp, &ext->cursor.area); in refr_cursor_area()
|
D | lv_bar.c | 470 lv_coord_t (*indic_length_calc)(const lv_area_t * area); in draw_indic()
|
D | lv_page.c | 57 static void get_edge_flash_area(lv_obj_t * page, lv_area_t * area, lv_coord_t state);
|
/lvgl-2.7.6/ |
D | CHANGELOG.md | 72 - Limit extra button click area of button matrix's buttons. With large paddings it was counter intu… 89 - Prevent duplicated sending of `LV_EVENT_INSERT` from text area 141 - `lv_img` fix invalidation area when angle or zoom changes 146 - Fix inserting chars in text area in big endian hardware. 156 - Fix crash when the a text area is cleared with the backspace of a keyboard 224 - gradient stop position to shift the gradient area and horizontal gradient 264 …area in LINE mode. `LV_CHART_PART_SERIES_BG` also added to set a different style for the series ar… 268 - `textarea`: If available in the font use bullet (`U+2022`) character in text area password
|