Home
last modified time | relevance | path

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

12

/lvgl-latest/src/drivers/wayland/
Dlv_wayland_smm.c104 void * map; member
285 void * map = pool->map; in smm_map() local
289 if(pool->map != NULL) { in smm_map()
290 munmap(pool->map, pool->map_size); in smm_map()
293 map = mmap(NULL, in smm_map()
300 if(map == MAP_FAILED) { in smm_map()
301 map = NULL; in smm_map()
302 pool->map = NULL; in smm_map()
305 pool->map = map; in smm_map()
312 if(map != NULL) { in smm_map()
[all …]
/lvgl-latest/tests/unity/
Dgenerate_test_runner.rb84 …all_files_used += testfile_includes.map { |filename| "#{filename}.c" } unless testfile_includes.em…
132 ….map { |line| line.gsub(substring_unre, substring_unsubs) } # unhide the problematic characters pr…
154 …an(/(\[|<)\s*(-?\d+.?\d*)\s*,\s*(-?\d+.?\d*)\s*,\s*(-?\d+.?\d*)\s*(\]|>)/m).map do |arg_values_str|
156 arg_values_str[1...-1].map do |arg_value_str|
159 end.map do |arg_values|
162 result.nil? ? arg_range_expanded.map { |a| [a] } : result.product(arg_range_expanded)
163 end.map do |arg_combinations|
172 args += type_and_args[i + 1].scan(args_regex).flatten.map do |arg_values_str|
176 end.map do |arg_combinations|
213 system: source.scan(/^\s*#include\s+<\s*(.+)\s*>/).flatten.map { |inc| "<#{inc}>" },
[all …]
/lvgl-latest/docs/details/widgets/
Dkeyboard.rst79 You can specify a new map (layout) for the Keyboard with
81 Button Matrix's :ref:`button map` section for more information about
84 Keep in mind that using following keywords in the map will have the same effect as
85 with the original map:
93 - ``"ABC"`` Load upper-case map.
94 - ``"abc"`` Load lower-case map.
95 - ``"1#"`` Load number map.
111 :cpp:func:`lv_keyboard_def_event_cb`, which handles the button pressing, map
Dbuttonmatrix.rst40 .. _button map:
42 Button map
46 array, called a *map*, passed to
47 :cpp:expr:`lv_buttonmatrix_set_map(btn_matrix, my_map)`. The declaration of a map should
48 look like ``const char * map[] = {"button1", "button2", "button3", NULL}``. Note
52 Use ``"\n"`` in the map to insert a **line break**. E.g.
106 To set a control map for a Button Matrix (similar to `Button map`_), use
/lvgl-latest/tests/src/test_cases/widgets/
Dtest_btnmatrix.c28 const char * const * map; in test_button_matrix_creation() local
31 map = lv_buttonmatrix_get_map(btnm); in test_button_matrix_creation()
32 TEST_ASSERT_EQUAL_STRING(map[0], "Btn1"); in test_button_matrix_creation()
33 TEST_ASSERT_EQUAL_STRING(map[1], "Btn2"); in test_button_matrix_creation()
34 TEST_ASSERT_EQUAL_STRING(map[2], "Btn3"); in test_button_matrix_creation()
35 TEST_ASSERT_EQUAL_STRING(map[3], "\n"); in test_button_matrix_creation()
36 TEST_ASSERT_EQUAL_STRING(map[4], "Btn4"); in test_button_matrix_creation()
37 TEST_ASSERT_EQUAL_STRING(map[5], "Btn5"); in test_button_matrix_creation()
/lvgl-latest/examples/widgets/buttonmatrix/
Dlv_example_buttonmatrix_3.c46 static const char * map[] = {LV_SYMBOL_LEFT, "1", "2", "3", "4", "5", LV_SYMBOL_RIGHT, ""}; in lv_example_buttonmatrix_3() local
49 lv_buttonmatrix_set_map(btnm, map); in lv_example_buttonmatrix_3()
/lvgl-latest/examples/widgets/keyboard/
Dindex.rst9 Keyboard with custom map
/lvgl-latest/src/widgets/calendar/
Dlv_calendar_private.h39 const char * map[8 * 7]; member
Dlv_calendar.c90 calendar->map[i] = day_names[i]; in lv_calendar_set_day_names()
310 calendar->map[i] = "\n"; in lv_calendar_constructor()
313 calendar->map[i] = day_names_def[i]; in lv_calendar_constructor()
317 calendar->map[i] = calendar->nums[j]; in lv_calendar_constructor()
321 calendar->map[8 * 7 - 1] = ""; in lv_calendar_constructor()
324 lv_buttonmatrix_set_map(calendar->btnm, calendar->map); in lv_calendar_constructor()
/lvgl-latest/scripts/
Dfiletohex.py16 b.extend(map(ord, s))
DLVGLImage.py610 map = self.data[offset:offset + self.stride]
613 multiply(map[i], map[i + 1], map[i + 2], map[i + 3])
655 map = self.data[offset:offset + self.stride]
658 multiply((map[i + 1] << 8) | map[i], map[i + 2])
Drelease_branch_updater.py40 urls = [url for url in map(str.strip, urls.splitlines()) if url]
/lvgl-latest/src/libs/thorvg/rapidjson/
Ddocument.h2155 static RAPIDJSON_FORCEINLINE SizeType &GetMapCapacity(Map* &map) {
2156 return *reinterpret_cast<SizeType*>(reinterpret_cast<uintptr_t>(&map) +
2160 static RAPIDJSON_FORCEINLINE Member* GetMapMembers(Map* &map) {
2161 return reinterpret_cast<Member*>(reinterpret_cast<uintptr_t>(&map) +
2166 static RAPIDJSON_FORCEINLINE MapIterator* GetMapIterators(Map* &map) {
2167 return reinterpret_cast<MapIterator*>(reinterpret_cast<uintptr_t>(&map) +
2170 … RAPIDJSON_ALIGN(GetMapCapacity(map) * sizeof(Member)));
2231 Map* &map = GetMap(members);
2232 MapIterator mit = map->find(reinterpret_cast<const Data&>(name.data_));
2233 if (mit != map->end()) {
[all …]
/lvgl-latest/src/drivers/display/drm/
Dlv_linux_drm.c46 uint8_t * map; member
167 lv_display_set_buffers(disp, drm_dev->drm_bufs[1].map, drm_dev->drm_bufs[0].map, buf_size, in lv_linux_drm_set_file()
763 buf->map = mmap(0, creq.size, PROT_READ | PROT_WRITE, MAP_SHARED, drm_dev->fd, mreq.offset); in drm_allocate_dumb()
764 if(buf->map == MAP_FAILED) { in drm_allocate_dumb()
770 lv_memzero(buf->map, creq.size); in drm_allocate_dumb()
834 if(drm_dev->drm_bufs[idx].map == px_map) { in drm_flush()
/lvgl-latest/src/widgets/buttonmatrix/
Dlv_buttonmatrix.c54 static void allocate_button_areas_and_controls(const lv_obj_t * obj, const char * const * map);
100 void lv_buttonmatrix_set_map(lv_obj_t * obj, const char * const map[]) in lv_buttonmatrix_set_map() argument
103 if(map == NULL) return; in lv_buttonmatrix_set_map()
108 allocate_button_areas_and_controls(obj, map); in lv_buttonmatrix_set_map()
109 btnm->map_p = map; in lv_buttonmatrix_set_map()
129 const char * const * map_row = map; in lv_buttonmatrix_set_map()
828 static void allocate_button_areas_and_controls(const lv_obj_t * obj, const char * const * map) in allocate_button_areas_and_controls() argument
835 while(map[i] && map[i][0] != '\0') { in allocate_button_areas_and_controls()
836 if(lv_strcmp(map[i], "\n") != 0) { /*Do not count line breaks*/ in allocate_button_areas_and_controls()
Dlv_buttonmatrix.h76 void lv_buttonmatrix_set_map(lv_obj_t * obj, const char * const map[]);
/lvgl-latest/src/widgets/keyboard/
Dlv_keyboard.h110 void lv_keyboard_set_map(lv_obj_t * kb, lv_keyboard_mode_t mode, const char * const map[],
Dlv_keyboard.c272 void lv_keyboard_set_map(lv_obj_t * obj, lv_keyboard_mode_t mode, const char * const map[], in lv_keyboard_set_map() argument
276 kb_map[mode] = map; in lv_keyboard_set_map()
/lvgl-latest/src/draw/sw/
Dlv_draw_sw_mask_private.h131 const lv_opa_t * map; member
Dlv_draw_sw_mask.h173 …mask_map_init(lv_draw_sw_mask_map_param_t * param, const lv_area_t * coords, const lv_opa_t * map);
/lvgl-latest/src/libs/libpng/
Dlv_libpng.c325 void * map = decoded->data + LV_COLOR_INDEXED_PALETTE_SIZE(cf) * sizeof(lv_color32_t); in decode_png() local
328 ret = png_image_finish_read(&image, NULL, map, decoded->header.stride, palette); in decode_png()
/lvgl-latest/docs/details/other-components/
Dmonkey.rst44 :cpp:func:`lv_indev_set_button_points` to map the key ID to the coordinates.
/lvgl-latest/docs/details/integration/driver/
Dlibinput.rst53 To find the right key map values, you may use the ``setxkbmap -query`` command.
/lvgl-latest/examples/arduino/LVGL_Arduino/
DLVGL_Arduino.ino39 /*Copy `px map` to the `area`*/
/lvgl-latest/docs/details/integration/os/
Dtorizon_os.rst187 The registry container will listen on port ``TCP/5000`` and will map to the same port externally.
226 By using the ``--device`` argument it is possible to map a device to a container.

12