Lines Matching refs:grad_dir
115 lv_grad_dir_t grad_dir = dsc->bg_grad.dir; in draw_bg() local
116 …lv_color_t bg_color = grad_dir == LV_GRAD_DIR_NONE ? dsc->bg_color : dsc->bg_grad.stops[0].colo… in draw_bg()
117 if(bg_color.full == dsc->bg_grad.stops[1].color.full) grad_dir = LV_GRAD_DIR_NONE; in draw_bg()
125 if(!mask_any && dsc->radius == 0 && (grad_dir == LV_GRAD_DIR_NONE)) { in draw_bg()
168 if(grad && grad_dir == LV_GRAD_DIR_HOR) { in draw_bg()
176 if(grad_dir == LV_GRAD_DIR_VER && dither_mode != LV_DITHER_NONE) { in draw_bg()
183 if(grad_dir == LV_GRAD_DIR_VER) in draw_bg()
190 switch(grad_dir) { in draw_bg()
203 switch(grad_dir) { in draw_bg()
231 if(grad_dir == LV_GRAD_DIR_VER) blend_dsc.color = grad->map[h - bg_coords.y1]; in draw_bg()
256 if(grad_dir == LV_GRAD_DIR_VER) blend_dsc.color = grad->map[top_y - bg_coords.y1]; in draw_bg()
267 if(grad_dir == LV_GRAD_DIR_VER) blend_dsc.color = grad->map[bottom_y - bg_coords.y1]; in draw_bg()
281 if(!mask_any_center && grad_dir == LV_GRAD_DIR_NONE) { in draw_bg()
306 if(grad_dir == LV_GRAD_DIR_VER) blend_dsc.color = grad->map[h - bg_coords.y1]; in draw_bg()