Home
last modified time | relevance | path

Searched refs:item (Results 1 – 14 of 14) sorted by relevance

/lvgl-3.7.0/src/misc/
Dlv_lru.c46 static int lv_lru_cmp_keys(lv_lru_item_t * item, const void * key, uint32_t key_length);
49 static void lv_lru_remove_item(lv_lru_t * cache, lv_lru_item_t * prev, lv_lru_item_t * item, uint32…
107 lv_lru_item_t * item = NULL, * next = NULL; in lv_lru_del() local
111 item = cache->items[i]; in lv_lru_del()
112 while(item) { in lv_lru_del()
113 next = (lv_lru_item_t *) item->next; in lv_lru_del()
114 cache->value_free(item->value); in lv_lru_del()
115 cache->key_free(item->key); in lv_lru_del()
116 cache->free_memory += item->value_length; in lv_lru_del()
117 lv_mem_free(item); in lv_lru_del()
[all …]
/lvgl-3.7.0/src/draw/sw/
Dlv_draw_sw_gradient.c38 static lv_grad_t * next_in_cache(lv_grad_t * item);
83 static lv_grad_t * next_in_cache(lv_grad_t * item) in next_in_cache() argument
87 if(item == NULL) in next_in_cache()
90 size_t s = get_cache_item_size(item); in next_in_cache()
92 if((uint8_t *)item + s >= grad_cache_end) return NULL; in next_in_cache()
93 else return (lv_grad_t *)((uint8_t *)item + s); in next_in_cache()
172 lv_grad_t * item = NULL; in allocate_item() local
174 item = (lv_grad_t *)grad_cache_end; in allocate_item()
175 item->not_cached = 0; in allocate_item()
186 item = (lv_grad_t *)grad_cache_end; in allocate_item()
[all …]
/lvgl-3.7.0/src/extra/layouts/flex/
Dlv_flex.c30 lv_obj_t * item; member
336 lv_obj_t * item = lv_obj_get_child(cont, item_id); in find_track_end() local
337 while(item) { in find_track_end()
338 if(item_id != item_start_id && lv_obj_has_flag(item, LV_OBJ_FLAG_FLEX_IN_NEW_TRACK)) break; in find_track_end()
340 …if(!lv_obj_has_flag_any(item, LV_OBJ_FLAG_IGNORE_LAYOUT | LV_OBJ_FLAG_HIDDEN | LV_OBJ_FLAG_FLOATIN… in find_track_end()
341 uint8_t grow_value = lv_obj_get_style_flex_grow(item, LV_PART_MAIN); in find_track_end()
354 new_dsc[t->grow_item_cnt - 1].item = item; in find_track_end()
355 … new_dsc[t->grow_item_cnt - 1].min_size = f->row ? lv_obj_get_style_min_width(item, in find_track_end()
356 … LV_PART_MAIN) : lv_obj_get_style_min_height(item, LV_PART_MAIN); in find_track_end()
357 … new_dsc[t->grow_item_cnt - 1].max_size = f->row ? lv_obj_get_style_max_width(item, in find_track_end()
[all …]
/lvgl-3.7.0/src/extra/others/fragment/
Dlv_fragment_manager.c43 static void item_create_obj(lv_fragment_managed_states_t * item);
45 static void item_del_obj(lv_fragment_managed_states_t * item);
47 static void item_del_fragment(lv_fragment_managed_states_t * item);
129 lv_fragment_stack_item_t * item = NULL; in lv_fragment_manager_remove() local
130 _LV_LL_READ_BACK(&manager->stack, item) { in lv_fragment_manager_remove()
131 if(item->states == states) { in lv_fragment_manager_remove()
132 was_top = stack_top == item; in lv_fragment_manager_remove()
133 void * stack_prev = _lv_ll_get_prev(&manager->stack, item); in lv_fragment_manager_remove()
139 if(item) { in lv_fragment_manager_remove()
140 _lv_ll_remove(&manager->stack, item); in lv_fragment_manager_remove()
[all …]
/lvgl-3.7.0/src/extra/layouts/grid/
Dlv_grid.c55 static void item_repos(lv_obj_t * item, _lv_grid_calc_t * c, item_repos_hint_t * hint);
362 lv_obj_t * item = cont->spec_attr->children[i]; in grid_update() local
363 item_repos(item, &c, &hint); in grid_update()
443 lv_obj_t * item = lv_obj_get_child(cont, ci); in calc_cols() local
444 …if(lv_obj_has_flag_any(item, LV_OBJ_FLAG_IGNORE_LAYOUT | LV_OBJ_FLAG_HIDDEN | LV_OBJ_FLAG_FLOATING… in calc_cols()
445 uint32_t col_span = get_col_span(item); in calc_cols()
448 uint32_t col_pos = get_col_pos(item); in calc_cols()
451 size = LV_MAX(size, lv_obj_get_width(item)); in calc_cols()
512 lv_obj_t * item = lv_obj_get_child(cont, ci); in calc_rows() local
513 …if(lv_obj_has_flag_any(item, LV_OBJ_FLAG_IGNORE_LAYOUT | LV_OBJ_FLAG_HIDDEN | LV_OBJ_FLAG_FLOATING… in calc_rows()
[all …]
/lvgl-3.7.0/examples/others/gridnav/
Dlv_example_gridnav_2.c23 lv_obj_t * item = lv_list_add_btn(list1, LV_SYMBOL_FILE, buf); in lv_example_gridnav_2() local
24 lv_obj_set_style_bg_opa(item, 0, 0); in lv_example_gridnav_2()
25 lv_group_remove_obj(item); /*Not needed, we use the gridnav instead*/ in lv_example_gridnav_2()
37 lv_obj_t * item = lv_list_add_btn(list2, LV_SYMBOL_DIRECTORY, buf); in lv_example_gridnav_2() local
38 lv_obj_set_style_bg_opa(item, 0, 0); in lv_example_gridnav_2()
39 lv_group_remove_obj(item); in lv_example_gridnav_2()
Dlv_example_gridnav_4.c35 lv_obj_t * item = lv_list_add_btn(list, LV_SYMBOL_FILE, buf); in lv_example_gridnav_4() local
36 lv_obj_add_event_cb(item, event_handler, LV_EVENT_CLICKED, NULL); in lv_example_gridnav_4()
37 lv_group_remove_obj(item); /*The default group adds it automatically*/ in lv_example_gridnav_4()
/lvgl-3.7.0/docs/layouts/
Dgrid.md8 It can arrange items into a 2D "table" that has rows or columns (tracks). The item can span through…
9 The track's size can be set in pixel, to the largest item (`LV_GRID_CONTENT`) or in "Free unit" (FR…
50 `colum_pos` and `row_pos` means the zero based index of the cell into the item should be placed.
52 `colum_span` and `row_span` means how many tracks should the item involve from the start cell. Must…
63 The first item will have one unit of space against the container edge, but two units of space betwe…
64 …BETWEEN` items are evenly distributed in the track: first item is on the start line, last item on …
Dflex.md8 …djust the spacing between the items and tracks, handle *grow* to make the item(s) fill the remaini…
19 - grow: if set on an item it will grow to fill the remaining space on the track.
55 The first item will have one unit of space against the container edge, but two units of space betwe…
56 …BETWEEN` items are evenly distributed in the track: first item is on the start line, last item on …
101 You can force Flex to put an item into a new line with `lv_obj_add_flag(child, LV_OBJ_FLAG_FLEX_IN_…
/lvgl-3.7.0/docs/others/
Dime_pinyin.md71 … Hanyu Pinyin syllable table. You can read [here](https://baike.baidu.com/item/%E6%B1%89%E8%AF%AD%…
79item/%E6%B1%89%E8%AF%AD%E6%8B%BC%E9%9F%B3%E9%9F%B3%E8%8A%82/9167981)了解[汉语拼音音节](https://baike.baidu…
101 **The last item** must end with `{null, null}` , or it will not work properly.
/lvgl-3.7.0/src/extra/widgets/span/
Dlv_span.c62 static void lv_snippet_push(lv_snippet_t * item);
620 static void lv_snippet_push(lv_snippet_t * item) in lv_snippet_push() argument
623 memcpy(&snippet_stack.stack[snippet_stack.index], item, sizeof(lv_snippet_t)); in lv_snippet_push()
/lvgl-3.7.0/src/extra/libs/tiny_ttf/
Dstb_truetype_htcw.h1746 stbtt_uint16 item = (stbtt_uint16)((search - endCount) >> 1); local
1748 start = ttUSHORT(data, index_map + 14 + segcount * 2 + 2 + 2 * item);
1749 last = ttUSHORT(data, endCount + 2 * item);
1753 offset = ttUSHORT(data, index_map + 14 + segcount * 6 + 2 + 2 * item);
1755 …rn (stbtt_uint16)(unicode_codepoint + ttSHORT(data, index_map + 14 + segcount * 4 + 2 + 2 * item));
1757 …ORT(data, offset + (unicode_codepoint - start) * 2 + index_map + 14 + segcount * 6 + 2 + 2 * item);
/lvgl-3.7.0/scripts/
DDoxyfile1548 # using the <cursor keys>. Press <Enter> to select an item or <escape> to cancel
/lvgl-3.7.0/docs/
DCHANGELOG.md62 - fix(dropdown): position to the selected item in lv_dropdown_set_selected [`f174589`](https://gith…