Searched refs:map_size (Results 1 – 1 of 1) sorted by relevance
161 lv_coord_t map_size = LV_MAX(w, h); /* The map is being used horizontally (width) unless in allocate_item() local164 size_t req_size = ALIGN(sizeof(lv_grad_t)) + ALIGN(map_size * sizeof(lv_color_t)); in allocate_item()202 item->alloc_size = map_size; in allocate_item()208 … item->hmap = (lv_color32_t *)(p + ALIGN(sizeof(*item)) + ALIGN(map_size * sizeof(lv_color_t))); in allocate_item()211 ALIGN(map_size * sizeof(lv_color_t))); in allocate_item()219 …item->hmap = (lv_color32_t *)(grad_cache_end + ALIGN(sizeof(*item)) + ALIGN(map_size * sizeof(lv_c… in allocate_item()222 ALIGN(map_size * sizeof(lv_color_t))); in allocate_item()