Lines Matching refs:y1
107 bg_coords.y1 += (dsc->border_side & LV_BORDER_SIDE_TOP) ? 1 : 0; in draw_bg()
218 for(h = clipped_coords.y1; h <= clipped_coords.y2; h++) { in draw_bg()
219 blend_area.y1 = h; in draw_bg()
229 if(dither_func) dither_func(grad, blend_area.x1, h - bg_coords.y1, grad_size); in draw_bg()
231 if(grad_dir == LV_GRAD_DIR_VER) blend_dsc.color = grad->map[h - bg_coords.y1]; in draw_bg()
239 lv_coord_t top_y = bg_coords.y1 + h; in draw_bg()
241 …if(top_y < clipped_coords.y1 && bottom_y > clipped_coords.y2) continue; /*This line is clipped n… in draw_bg()
249 if(top_y >= clipped_coords.y1) { in draw_bg()
250 blend_area.y1 = top_y; in draw_bg()
254 if(dither_func) dither_func(grad, blend_area.x1, top_y - bg_coords.y1, grad_size); in draw_bg()
256 if(grad_dir == LV_GRAD_DIR_VER) blend_dsc.color = grad->map[top_y - bg_coords.y1]; in draw_bg()
261 blend_area.y1 = bottom_y; in draw_bg()
265 if(dither_func) dither_func(grad, blend_area.x1, bottom_y - bg_coords.y1, grad_size); in draw_bg()
267 if(grad_dir == LV_GRAD_DIR_VER) blend_dsc.color = grad->map[bottom_y - bg_coords.y1]; in draw_bg()
278 center_coords.y1 = bg_coords.y1 + rout; in draw_bg()
282 blend_area.y1 = bg_coords.y1 + rout; in draw_bg()
293 for(h = bg_coords.y1 + rout; h <= h_end; h++) { in draw_bg()
300 blend_area.y1 = h; in draw_bg()
304 if(dither_func) dither_func(grad, blend_area.x1, h - bg_coords.y1, grad_size); in draw_bg()
306 if(grad_dir == LV_GRAD_DIR_VER) blend_dsc.color = grad->map[h - bg_coords.y1]; in draw_bg()
344 a.y1 = coords->y1 + lv_area_get_height(coords) / 2 - size.y / 2; in draw_bg_img()
345 a.y2 = a.y1 + size.y - 1; in draw_bg_img()
369 area.y1 = coords->y1 + lv_area_get_height(coords) / 2 - header.h / 2; in draw_bg_img()
371 area.y2 = area.y1 + header.h - 1; in draw_bg_img()
377 area.y1 = coords->y1; in draw_bg_img()
378 area.y2 = area.y1 + header.h - 1; in draw_bg_img()
380 for(; area.y1 <= coords->y2; area.y1 += header.h, area.y2 += header.h) { in draw_bg_img()
416 …area_inner.y1 += ((dsc->border_side & LV_BORDER_SIDE_TOP) ? dsc->border_width : - (dsc->border_wid… in draw_border()
443 core_area.y1 = coords->y1 + dsc->shadow_ofs_y - dsc->shadow_spread; in draw_shadow()
450 shadow_area.y1 = core_area.y1 - dsc->shadow_width / 2 - 1; in draw_shadow()
534 lv_coord_t h_half = shadow_area.y1 + lv_area_get_height(&shadow_area) / 2; in draw_shadow()
541 blend_area.y1 = shadow_area.y1; in draw_shadow()
542 blend_area.y2 = shadow_area.y1 + corner_size - 1; in draw_shadow()
551 sh_buf_tmp += (clip_area_sub.y1 - shadow_area.y1) * corner_size; in draw_shadow()
562 for(y = clip_area_sub.y1; y <= clip_area_sub.y2; y++) { in draw_shadow()
563 blend_area.y1 = y; in draw_shadow()
584 blend_area.y1 = shadow_area.y2 - corner_size + 1; in draw_shadow()
588 blend_area.y1 = LV_MAX(blend_area.y1, h_half + 1); in draw_shadow()
605 for(y = clip_area_sub.y2; y >= clip_area_sub.y1; y--) { in draw_shadow()
606 blend_area.y1 = y; in draw_shadow()
626 blend_area.y1 = shadow_area.y1; in draw_shadow()
627 blend_area.y2 = shadow_area.y1 + corner_size - 1; in draw_shadow()
634 sh_buf_tmp += (clip_area_sub.y1 - blend_area.y1) * corner_size; in draw_shadow()
650 for(y = clip_area_sub.y1; y <= clip_area_sub.y2; y++) { in draw_shadow()
651 blend_area.y1 = y; in draw_shadow()
673 blend_area.y1 = shadow_area.y2 - corner_size + 1; in draw_shadow()
675 blend_area.y1 = LV_MAX(blend_area.y1, h_half + 1); in draw_shadow()
696 for(y = clip_area_sub.y2; y >= clip_area_sub.y1; y--) { in draw_shadow()
697 blend_area.y1 = y; in draw_shadow()
725 blend_area.y1 = shadow_area.y1 + corner_size; in draw_shadow()
728 blend_area.y1 = LV_MIN(blend_area.y1, h_half + 1); in draw_shadow()
748 for(y = clip_area_sub.y1; y <= clip_area_sub.y2; y++) { in draw_shadow()
749 blend_area.y1 = y; in draw_shadow()
782 blend_area.y1 = shadow_area.y1 + corner_size; in draw_shadow()
785 blend_area.y1 = LV_MIN(blend_area.y1, h_half + 1); in draw_shadow()
804 for(y = clip_area_sub.y1; y <= clip_area_sub.y2; y++) { in draw_shadow()
805 blend_area.y1 = y; in draw_shadow()
822 blend_area.y1 = shadow_area.y1; in draw_shadow()
823 blend_area.y2 = shadow_area.y1 + corner_size - 1; in draw_shadow()
832 sh_buf_tmp += (clip_area_sub.y1 - blend_area.y1) * corner_size; in draw_shadow()
844 for(y = clip_area_sub.y1; y <= clip_area_sub.y2; y++) { in draw_shadow()
845 blend_area.y1 = y; in draw_shadow()
867 blend_area.y1 = shadow_area.y2 - corner_size + 1; in draw_shadow()
870 blend_area.y1 = LV_MAX(blend_area.y1, h_half + 1); in draw_shadow()
888 for(y = clip_area_sub.y2; y >= clip_area_sub.y1; y--) { in draw_shadow()
889 blend_area.y1 = y; in draw_shadow()
909 blend_area.y1 = shadow_area.y1 + corner_size; in draw_shadow()
919 for(y = clip_area_sub.y1; y <= clip_area_sub.y2; y++) { in draw_shadow()
920 blend_area.y1 = y; in draw_shadow()
954 sh_area.y1 = sw / 2 + 1; in shadow_draw_corner_buf()
957 sh_area.y2 = sh_area.y1 + lv_area_get_height(coords); in shadow_draw_corner_buf()
1122 area_inner.y1 -= pad; in draw_outline()
1131 area_outer.y1 -= dsc->outline_width; in draw_outline()
1195 core_area.y1 = LV_MAX(outer_area->y1 + rout, inner_area->y1); in draw_border_generic()
1199 bool top_side = outer_area->y1 <= inner_area->y1 ? true : false; in draw_border_generic()
1206 for(h = draw_area.y1; h <= draw_area.y2; h++) { in draw_border_generic()
1207 if(!top_side && h < core_area.y1) continue; in draw_border_generic()
1210 blend_area.y1 = h; in draw_border_generic()
1243 blend_area.y1 = outer_area->y1; in draw_border_generic()
1244 blend_area.y2 = inner_area->y1 - 1; in draw_border_generic()
1251 blend_area.y1 = inner_area->y2 + 1; in draw_border_generic()
1259 blend_area.y1 = core_area.y1; in draw_border_generic()
1267 blend_area.y1 = core_area.y1; in draw_border_generic()
1280 lv_coord_t max_h = LV_MAX(rout, inner_area->y1 - outer_area->y1); in draw_border_generic()
1282 lv_coord_t top_y = outer_area->y1 + h; in draw_border_generic()
1284 … if(top_y < draw_area.y1 && bottom_y > draw_area.y2) continue; /*This line is clipped now*/ in draw_border_generic()
1289 if(top_y >= draw_area.y1) { in draw_border_generic()
1290 blend_area.y1 = top_y; in draw_border_generic()
1296 blend_area.y1 = bottom_y; in draw_border_generic()
1309 for(h = draw_area.y1; h < core_area.y1; h++) { in draw_border_generic()
1310 blend_area.y1 = h; in draw_border_generic()
1321 blend_area.y1 = h; in draw_border_generic()
1338 for(h = draw_area.y1; h < core_area.y1; h++) { in draw_border_generic()
1339 blend_area.y1 = h; in draw_border_generic()
1350 blend_area.y1 = h; in draw_border_generic()
1388 bool top_side = outer_area->y1 <= inner_area->y1 ? true : false; in draw_border_simple()
1396 a.y1 = outer_area->y1; in draw_border_simple()
1397 a.y2 = inner_area->y1 - 1; in draw_border_simple()
1403 a.y1 = inner_area->y2 + 1; in draw_border_simple()
1412 a.y1 = (top_side) ? inner_area->y1 : outer_area->y1; in draw_border_simple()