Searched refs:short_side (Results 1 – 3 of 3) sorted by relevance
225 int32_t short_side = LV_MATH_MIN(coords_w, coords_h); in draw_bg() local226 if(rout > short_side >> 1) rout = short_side >> 1; in draw_bg()401 int32_t short_side = LV_MATH_MIN(coords_w, coords_h); in draw_border() local402 if(rout > short_side >> 1) rout = short_side >> 1; 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() local584 if(r_bg > short_side >> 1) r_bg = short_side >> 1; 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()588 if(r_sh > short_side >> 1) r_sh = short_side >> 1; in draw_shadow()1339 int32_t short_side = LV_MATH_MIN(inner_w, inner_h); in draw_full_border() local1340 if(rin > short_side >> 1) rin = short_side >> 1; in draw_full_border()[all …]
375 int32_t short_side = LV_MATH_MIN(w, h); in lv_draw_mask_radius_init() local376 if(radius > short_side >> 1) radius = short_side >> 1; in lv_draw_mask_radius_init()
554 lv_coord_t short_side = LV_MATH_MIN(objw, objh); in draw_indic() local555 if(bg_radius > short_side >> 1) bg_radius = short_side >> 1; in draw_indic()