Searched refs:corner_size (Results 1 – 1 of 1) sorted by relevance
477 int32_t corner_size = dsc->shadow_width + r_sh; in draw_shadow() local482 if(sh_cache_size == corner_size && sh_cache_r == r_sh) { in draw_shadow()484 sh_buf = lv_mem_buf_get(corner_size * corner_size); in draw_shadow()485 lv_memcpy(sh_buf, sh_cache, corner_size * corner_size); in draw_shadow()489 sh_buf = lv_mem_buf_get(corner_size * corner_size * sizeof(uint16_t)); in draw_shadow()493 if((uint32_t)corner_size * corner_size < sizeof(sh_cache)) { in draw_shadow()494 lv_memcpy(sh_cache, sh_buf, corner_size * corner_size); in draw_shadow()495 sh_cache_size = corner_size; in draw_shadow()500 sh_buf = lv_mem_buf_get(corner_size * corner_size * sizeof(uint16_t)); in draw_shadow()540 blend_area.x1 = shadow_area.x2 - corner_size + 1; in draw_shadow()[all …]