Home
last modified time | relevance | path

Searched refs:map (Results 1 – 25 of 29) sorted by relevance

12

/lvgl-3.7.0/src/draw/sw/
Dlv_draw_sw_dither.c25 grad->map[i] = lv_color_hex(grad->hmap[i].full); in lv_dither_none()
61 grad->map[j] = lv_color_hex(t.full); in lv_dither_ordered_hor()
86 grad->map[j] = lv_color_hex(t.full); in lv_dither_ordered_ver()
91 lv_memcpy(grad->map + j, grad->map, 8 * sizeof(*grad->map)); in lv_dither_ordered_ver()
95 grad->map[j] = grad->map[j & 7]; in lv_dither_ordered_ver()
119 grad->map[0] = lv_color_hex(grad->hmap[0].full); in lv_dither_err_diff_hor()
149 grad->map[x] = q; in lv_dither_err_diff_hor()
151 grad->map[grad->size - 1] = lv_color_hex(grad->hmap[grad->size - 1].full); in lv_dither_err_diff_hor()
185 grad->map[0] = lv_color_hex(grad->hmap[y].full); in lv_dither_err_diff_ver()
186 FS_QUANT_ERROR(next_px_err, grad->hmap[y], grad->map[0]); in lv_dither_err_diff_ver()
[all …]
Dlv_draw_sw_gradient.c126 c->map = (lv_color_t *)(((uint8_t *)c->map) - size); in free_item()
205 item->map = (lv_color_t *)(p + ALIGN(sizeof(*item))); in allocate_item()
216 item->map = (lv_color_t *)(grad_cache_end + ALIGN(sizeof(*item))); in allocate_item()
287 item->map[i] = lv_gradient_calculate(g, item->size, i); in lv_gradient_get()
Dlv_draw_sw_gradient.h46 lv_color_t * map; /**< The computed gradient low bitdepth color map, points into the member
Dlv_draw_sw_rect.c169 blend_dsc.src_buf = grad->map + clipped_coords.x1 - bg_coords.x1; in draw_bg()
178 blend_dsc.src_buf = grad->map; 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()
306 if(grad_dir == LV_GRAD_DIR_VER) blend_dsc.color = grad->map[h - bg_coords.y1]; in draw_bg()
/lvgl-3.7.0/src/extra/widgets/tabview/
Dlv_tabview.c80 const char ** old_map = (const char **)tabview->map; in lv_tabview_add_tab()
107 tabview->map = new_map; in lv_tabview_add_tab()
132 lv_mem_free((void *)tabview->map[id]); in lv_tabview_rename_tab()
133 tabview->map[id] = lv_mem_alloc(strlen(new_name) + 1); in lv_tabview_rename_tab()
134 strcpy((void *)tabview->map[id], new_name); in lv_tabview_rename_tab()
229 tabview->map = lv_mem_alloc(sizeof(const char *)); in lv_tabview_constructor()
230 tabview->map[0] = ""; in lv_tabview_constructor()
231 lv_btnmatrix_set_map(btnm, (const char **)tabview->map); in lv_tabview_constructor()
276 lv_mem_free((void *)tabview->map[i]); in lv_tabview_destructor()
277 tabview->map[i] = NULL; in lv_tabview_destructor()
[all …]
Dlv_tabview.h30 const char ** map; member
/lvgl-3.7.0/docs/widgets/extra/
Dkeyboard.md40 You can specify a new map (layout) for the keyboard with `lv_keyboard_set_map(kb, map)` and `lv_key…
42 Keep in mind that using following keywords will have the same effect as with the original map:
49 - *"ABC"* Load the uppercase map.
50 - *"abc"* Load the lower case map.
51 - *"1#"* Load the lower case map.
58 …back called `lv_keyboard_def_event_cb`, which handles the button pressing, map changing, the assig…
/lvgl-3.7.0/tests/unity/
Dgenerate_test_runner.rb81 …all_files_used += testfile_includes.map { |filename| filename + '.c' } unless testfile_includes.em…
129 ….map { |line| line.gsub(substring_unre, substring_unsubs) } # unhide the problematic characters pr…
146 …args += range_str.scan(/\[\s*(-?\d+.?\d*),\s*(-?\d+.?\d*),\s*(-?\d+.?\d*)\s*\]/).map do |arg_value…
147 arg_values_str.map do |arg_value_str|
150 end.map do |arg_values|
154 end.map do |arg_combinations|
190 system: source.scan(/^\s*#include\s+<\s*(.+)\s*>/).flatten.map { |inc| "<#{inc}>" },
266 mocks = mock_headers.map { |mock| File.basename(mock, '.*') }
/lvgl-3.7.0/examples/widgets/btnmatrix/
Dlv_example_btnmatrix_3.c46 static const char * map[] = {LV_SYMBOL_LEFT, "1", "2", "3", "4", "5", LV_SYMBOL_RIGHT, ""}; in lv_example_btnmatrix_3() local
49 lv_btnmatrix_set_map(btnm, map); in lv_example_btnmatrix_3()
Dlv_example_btnmatrix_3.py46 map = [lv.SYMBOL.LEFT,"1","2", "3", "4", "5",lv.SYMBOL.RIGHT, ""] variable
49 btnm.set_map(map)
/lvgl-3.7.0/docs/widgets/core/
Dbtnmatrix.md16 There is a text on each button. To specify them a descriptor string array, called *map*, needs to b…
17 The map can be set with `lv_btnmatrix_set_map(btnm, my_map)`.
18 The declaration of a map should look like `const char * map[] = {"btn1", "btn2", "btn3", NULL}`.
21 Use `"\n"` in the map to insert a **line break**. E.g. `{"btn1", "btn2", "\n", "btn3", ""}`. Each l…
50 The set a control map for a button matrix (similarly to the map for the text), use `lv_btnmatrix_se…
/lvgl-3.7.0/src/extra/widgets/calendar/
Dlv_calendar.c79 calendar->map[i] = day_names[i]; in lv_calendar_set_day_names()
262 calendar->map[i] = "\n"; in lv_calendar_constructor()
265 calendar->map[i] = day_names_def[i]; in lv_calendar_constructor()
269 calendar->map[i] = calendar->nums[j]; in lv_calendar_constructor()
273 calendar->map[8 * 7 - 1] = ""; in lv_calendar_constructor()
276 lv_btnmatrix_set_map(calendar->btnm, calendar->map); in lv_calendar_constructor()
Dlv_calendar.h47 const char * map[8 * 7]; member
/lvgl-3.7.0/scripts/
Dfiletohex.py8 b.extend(map(ord, s))
/lvgl-3.7.0/src/draw/
Dlv_draw_mask.h199 const lv_opa_t * map; member
374 …aw_mask_map_init(lv_draw_mask_map_param_t * param, const lv_area_t * coords, const lv_opa_t * map);
Dlv_draw_mask.c560 …raw_mask_map_init(lv_draw_mask_map_param_t * param, const lv_area_t * coords, const lv_opa_t * map) in lv_draw_mask_map_init() argument
563 param->cfg.map = map; in lv_draw_mask_map_init()
1225 const lv_opa_t * map_tmp = p->cfg.map; in lv_draw_mask_map()
/lvgl-3.7.0/src/extra/widgets/keyboard/
Dlv_keyboard.h104 void lv_keyboard_set_map(lv_obj_t * kb, lv_keyboard_mode_t mode, const char * map[],
Dlv_keyboard.c215 void lv_keyboard_set_map(lv_obj_t * obj, lv_keyboard_mode_t mode, const char * map[], in lv_keyboard_set_map() argument
218 kb_map[mode] = map; in lv_keyboard_set_map()
/lvgl-3.7.0/src/widgets/
Dlv_btnmatrix.c51 static void allocate_btn_areas_and_controls(const lv_obj_t * obj, const char ** map);
93 void lv_btnmatrix_set_map(lv_obj_t * obj, const char * map[]) in lv_btnmatrix_set_map() argument
96 if(map == NULL) return; in lv_btnmatrix_set_map()
101 allocate_btn_areas_and_controls(obj, map); in lv_btnmatrix_set_map()
102 btnm->map_p = map; in lv_btnmatrix_set_map()
122 const char ** map_row = map; in lv_btnmatrix_set_map()
855 static void allocate_btn_areas_and_controls(const lv_obj_t * obj, const char ** map) in allocate_btn_areas_and_controls() argument
862 while(map[i] && map[i][0] != '\0') { in allocate_btn_areas_and_controls()
863 if(strcmp(map[i], "\n") != 0) { /*Do not count line breaks*/ in allocate_btn_areas_and_controls()
Dlv_btnmatrix.h99 void lv_btnmatrix_set_map(lv_obj_t * obj, const char * map[]);
/lvgl-3.7.0/examples/scroll/
Dlv_example_scroll_6.py38 opa = lv.map(x, 0, r, lv.OPA.TRANSP, lv.OPA.COVER)
/lvgl-3.7.0/docs/others/
Dmonkey.md17 …ndev()` to get the input device, and use `lv_indev_set_button_points()` to map the key ID to the c…
/lvgl-3.7.0/examples/anim/
Dlv_example_anim_3.py116 t = lv.map(a.act_time, 0, a.time, 0, 1024)
/lvgl-3.7.0/docs/overview/
Dcolor.md123 …ter functions return with a number, so you have to use the `full` field to map a converted color b…
/lvgl-3.7.0/docs/get-started/bindings/
Dmicropython.md21 …-objects) high-level GUI library, which seems to be a natural candidate to map into a higher level…

12