Lines Matching refs:part_coords
474 lv_area_t part_coords; in draw_bg_grad_radius() local
478 part_coords.x1 = 0; in draw_bg_grad_radius()
479 part_coords.x2 = radius - 1; in draw_bg_grad_radius()
480 part_coords.y1 = radius; in draw_bg_grad_radius()
481 part_coords.y2 = bg_h - radius - 1; in draw_bg_grad_radius()
483 lv_area_align(coords, &part_coords, LV_ALIGN_LEFT_MID, 0, 0); in draw_bg_grad_radius()
484 _lv_area_intersect(&part_area, &part_coords, draw_area); in draw_bg_grad_radius()
487 lv_area_align(coords, &part_coords, LV_ALIGN_RIGHT_MID, 0, 0); in draw_bg_grad_radius()
488 _lv_area_intersect(&part_area, &part_coords, draw_area); in draw_bg_grad_radius()
491 part_coords.x1 = radius; in draw_bg_grad_radius()
492 part_coords.x2 = bg_w - radius - 1; in draw_bg_grad_radius()
493 part_coords.y1 = 0; in draw_bg_grad_radius()
494 part_coords.y2 = bg_h - 1; in draw_bg_grad_radius()
495 lv_area_align(coords, &part_coords, LV_ALIGN_CENTER, 0, 0); in draw_bg_grad_radius()
496 _lv_area_intersect(&part_area, &part_coords, draw_area); in draw_bg_grad_radius()
501 part_coords.x1 = radius; in draw_bg_grad_radius()
502 part_coords.x2 = bg_w - radius - 1; in draw_bg_grad_radius()
503 part_coords.y1 = 0; in draw_bg_grad_radius()
504 part_coords.y2 = radius - 1; in draw_bg_grad_radius()
506 lv_area_align(coords, &part_coords, LV_ALIGN_TOP_MID, 0, 0); in draw_bg_grad_radius()
507 _lv_area_intersect(&part_area, &part_coords, draw_area); in draw_bg_grad_radius()
510 lv_area_align(coords, &part_coords, LV_ALIGN_BOTTOM_MID, 0, 0); in draw_bg_grad_radius()
511 _lv_area_intersect(&part_area, &part_coords, draw_area); in draw_bg_grad_radius()
514 part_coords.x1 = 0; in draw_bg_grad_radius()
515 part_coords.x2 = bg_w - 1; in draw_bg_grad_radius()
516 part_coords.y1 = radius; in draw_bg_grad_radius()
517 part_coords.y2 = bg_h - radius - 1; in draw_bg_grad_radius()
518 lv_area_align(coords, &part_coords, LV_ALIGN_CENTER, 0, 0); in draw_bg_grad_radius()
519 _lv_area_intersect(&part_area, &part_coords, draw_area); in draw_bg_grad_radius()