Home
last modified time | relevance | path

Searched refs:life (Results 1 – 8 of 8) sorted by relevance

/lvgl-3.7.0/src/draw/
Dlv_img_cache.c79 if(cache[i].life > INT32_MIN + LV_IMG_CACHE_AGING) { in _lv_img_cache_open()
80 cache[i].life -= LV_IMG_CACHE_AGING; in _lv_img_cache_open()
92 cached_src->life += cached_src->dec_dsc.time_to_open * LV_IMG_CACHE_LIFE_GAIN; in _lv_img_cache_open()
93 … if(cached_src->life > LV_IMG_CACHE_LIFE_LIMIT) cached_src->life = LV_IMG_CACHE_LIFE_LIMIT; in _lv_img_cache_open()
105 if(cache[i].life < cached_src->life) { in _lv_img_cache_open()
127 cached_src->life = INT32_MIN; /*Make the empty entry very "weak" to force its us*/ in _lv_img_cache_open()
131 cached_src->life = 0; in _lv_img_cache_open()
Dlv_img_cache.h37 int32_t life; member
Dlv_draw_mask.c20 #define CIRCLE_CACHE_AGING(life, r) life = LV_MIN(life + (r < 16 ? 1 : (r >> 4)), 1000) argument
217 if(radius_p->circle->life < 0) { in lv_draw_mask_free_param()
500 CIRCLE_CACHE_AGING(LV_GC_ROOT(_lv_circle_cache[i]).life, radius); in lv_draw_mask_radius_init()
511 …else if(LV_GC_ROOT(_lv_circle_cache[i]).life < entry->life) entry = &LV_GC_ROOT(_lv_circle_cache[i… in lv_draw_mask_radius_init()
519 entry->life = -1; in lv_draw_mask_radius_init()
523 entry->life = 0; in lv_draw_mask_radius_init()
524 CIRCLE_CACHE_AGING(entry->life, radius); in lv_draw_mask_radius_init()
Dlv_draw_mask.h158 int32_t life; /*How many times the entry way used*/ member
/lvgl-3.7.0/src/draw/sw/
Dlv_draw_sw_gradient.c99 while(first != NULL && first->life) { in iterate_cache()
112 if(c->life < *min_life) *min_life = c->life; in find_oldest_item_life()
142 if(c->life == *min_life) { in kill_oldest_item()
199 item->life = 1; in allocate_item()
266 item->life++; /* Don't forget to bump the counter */ in lv_gradient_get()
Dlv_draw_sw_gradient.h42 uint32_t life : 30; /**< A life counter that's incremented on usage. Higher counter is member
/lvgl-3.7.0/docs/overview/
Dimage.md304 Every cache entry has a *"life"* value. Every time an image is opened through the cache, the *life*…
305 When a cached image is used, its *life* value is increased by the *time to open* value to make it m…
307 If there is no more space in the cache, the entry with the lowest life value will be closed.
/lvgl-3.7.0/docs/_static/css/
Dfontawesome.min.css5life-ring:before{content:"\f1cd"}.fa-lightbulb:before{content:"\f0eb"}.fa-line:before{content:"\f3…