Home
last modified time | relevance | path

Searched refs:letter (Results 1 – 25 of 40) sorted by relevance

12

/lvgl-3.7.0/src/misc/
Dlv_bidi.c39 static lv_base_dir_t lv_bidi_get_letter_dir(uint32_t letter);
40 static bool lv_bidi_letter_is_weak(uint32_t letter);
41 static bool lv_bidi_letter_is_rtl(uint32_t letter);
42 static bool lv_bidi_letter_is_neutral(uint32_t letter);
48 static uint32_t char_change_to_pair(uint32_t letter);
49 …c lv_base_dir_t bracket_process(const char * txt, uint32_t next_pos, uint32_t len, uint32_t letter,
111 uint32_t letter; in _lv_bidi_detect_base_dir() local
113 letter = _lv_txt_encoded_next(txt, &i); in _lv_bidi_detect_base_dir()
116 dir = lv_bidi_get_letter_dir(letter); in _lv_bidi_detect_base_dir()
246 uint32_t letter = _lv_txt_encoded_next(str_in, &rd); in _lv_bidi_process_paragraph() local
[all …]
Dlv_txt.c181 uint32_t letter = 0; /*Letter at i*/ in lv_txt_get_next_word() local
189 letter = _lv_txt_encoded_next(txt, &i_next); in lv_txt_get_next_word()
199 if(_lv_txt_is_cmd(cmd_state, letter) != false) { in lv_txt_get_next_word()
202 letter = letter_next; in lv_txt_get_next_word()
207 letter_w = lv_font_get_glyph_width(font, letter, letter_next); in lv_txt_get_next_word()
222 if(letter == '\n' || letter == '\r' || _lv_txt_is_break_char(letter)) { in lv_txt_get_next_word()
235 letter = letter_next; in lv_txt_get_next_word()
240 if(word_len == 0 || (letter == '\r' && letter_next == '\n')) i = i_next; in lv_txt_get_next_word()
330 uint32_t letter = _lv_txt_encoded_next(txt, &i); in _lv_txt_get_next_line() local
332 line_w = lv_font_get_glyph_width(font, letter, '\0'); in _lv_txt_get_next_line()
[all …]
Dlv_txt.h158 void _lv_txt_encoded_letter_next_2(const char * txt, uint32_t * letter, uint32_t * letter_next, uin…
165 static inline bool _lv_txt_is_break_char(uint32_t letter) in _lv_txt_is_break_char() argument
171 if(letter >= 0x4E00 && letter <= 0x9FA5) { in _lv_txt_is_break_char()
177 if(letter == (uint32_t)LV_TXT_BREAK_CHARS[i]) { in _lv_txt_is_break_char()
Dlv_fs.c46 bool lv_fs_is_ready(char letter) in lv_fs_is_ready() argument
48 lv_fs_drv_t * drv = lv_fs_get_drv(letter); in lv_fs_is_ready()
64 char letter = path[0]; in lv_fs_open() local
65 lv_fs_drv_t * drv = lv_fs_get_drv(letter); in lv_fs_open()
328 char letter = path[0]; in lv_fs_dir_open() local
329 lv_fs_drv_t * drv = lv_fs_get_drv(letter); in lv_fs_dir_open()
409 lv_fs_drv_t * lv_fs_get_drv(char letter) in lv_fs_get_drv() argument
414 if((*drv)->letter == letter) { in lv_fs_get_drv()
428 buf[i] = (*drv)->letter; in lv_fs_get_letters()
Dlv_fs.h70 char letter; member
138 lv_fs_drv_t * lv_fs_get_drv(char letter);
146 bool lv_fs_is_ready(char letter);
/lvgl-3.7.0/src/font/
Dlv_font.c49 const uint8_t * lv_font_get_glyph_bitmap(const lv_font_t * font_p, uint32_t letter) in lv_font_get_glyph_bitmap() argument
52 return font_p->get_glyph_bitmap(font_p, letter); in lv_font_get_glyph_bitmap()
64 bool lv_font_get_glyph_dsc(const lv_font_t * font_p, lv_font_glyph_dsc_t * dsc_out, uint32_t letter, in lv_font_get_glyph_dsc() argument
80 bool found = f->get_glyph_dsc(f, dsc_out, letter, letter_next); in lv_font_get_glyph_dsc()
97 placeholder_font->get_glyph_dsc(placeholder_font, dsc_out, letter, letter_next); in lv_font_get_glyph_dsc()
103 if(letter < 0x20 || in lv_font_get_glyph_dsc()
104 letter == 0xf8ff || /*LV_SYMBOL_DUMMY*/ in lv_font_get_glyph_dsc()
105 letter == 0x200c) { /*ZERO WIDTH NON-JOINER*/ in lv_font_get_glyph_dsc()
136 uint16_t lv_font_get_glyph_width(const lv_font_t * font, uint32_t letter, uint32_t letter_next) in lv_font_get_glyph_width() argument
140 lv_font_get_glyph_dsc(font, &g, letter, letter_next); in lv_font_get_glyph_width()
Dlv_font.h66 …bool (*get_glyph_dsc)(const struct _lv_font_t *, lv_font_glyph_dsc_t *, uint32_t letter, uint32_t …
96 const uint8_t * lv_font_get_glyph_bitmap(const lv_font_t * font_p, uint32_t letter);
107 bool lv_font_get_glyph_dsc(const lv_font_t * font_p, lv_font_glyph_dsc_t * dsc_out, uint32_t letter,
117 uint16_t lv_font_get_glyph_width(const lv_font_t * font, uint32_t letter, uint32_t letter_next);
Dlv_font_fmt_txt.c34 static uint32_t get_glyph_dsc_id(const lv_font_t * font, uint32_t letter);
209 static uint32_t get_glyph_dsc_id(const lv_font_t * font, uint32_t letter) in get_glyph_dsc_id() argument
211 if(letter == '\0') return 0; in get_glyph_dsc_id()
216 if(fdsc->cache && letter == fdsc->cache->last_letter) return fdsc->cache->last_glyph_id; in get_glyph_dsc_id()
222 uint32_t rcp = letter - fdsc->cmaps[i].range_start; in get_glyph_dsc_id()
256 fdsc->cache->last_letter = letter; in get_glyph_dsc_id()
263 fdsc->cache->last_letter = letter; in get_glyph_dsc_id()
Dlv_font_fmt_txt.h210 const uint8_t * lv_font_get_bitmap_fmt_txt(const lv_font_t * font, uint32_t letter);
/lvgl-3.7.0/src/draw/sdl/
Dlv_draw_sdl_label.c35 uint32_t letter; member
42 static lv_font_glyph_key_t font_key_glyph_create(const lv_font_t * font_p, uint32_t letter);
57 uint32_t letter) in lv_draw_sdl_draw_letter() argument
72 bool g_ret = lv_font_get_glyph_dsc(font_p, &g, letter, '\0'); in lv_draw_sdl_draw_letter()
76 if(letter >= 0x20 && in lv_draw_sdl_draw_letter()
77 letter != 0xf8ff && /*LV_SYMBOL_DUMMY*/ in lv_draw_sdl_draw_letter()
78 letter != 0x200c) { /*ZERO WIDTH NON-JOINER*/ in lv_draw_sdl_draw_letter()
79 LV_LOG_WARN("lv_draw_letter: glyph dsc. not found for U+%X", letter); in lv_draw_sdl_draw_letter()
116 lv_font_glyph_key_t glyph_key = font_key_glyph_create(font_p, letter); in lv_draw_sdl_draw_letter()
124 const uint8_t * bmp = lv_font_get_glyph_bitmap(font_p, letter); in lv_draw_sdl_draw_letter()
[all …]
Dlv_draw_sdl.c28 uint32_t letter);
/lvgl-3.7.0/src/extra/widgets/span/
Dlv_span.c381 uint32_t letter = _lv_txt_encoded_next(cur_txt, &j); in lv_spangroup_get_expand_width() local
383 uint16_t letter_w = lv_font_get_glyph_width(font, letter, letter_next); in lv_spangroup_get_expand_width()
459 uint32_t letter = _lv_txt_encoded_prev(&cur_txt[cur_txt_ofs], &tmp_ofs); in lv_spangroup_get_expand_height() local
460 … if(!(letter == '\0' || letter == '\n' || letter == '\r' || _lv_txt_is_break_char(letter))) { in lv_spangroup_get_expand_height()
462 letter = _lv_txt_encoded_next(&cur_txt[cur_txt_ofs + next_ofs], &tmp_ofs); in lv_spangroup_get_expand_height()
463 … if(!(letter == '\0' || letter == '\n' || letter == '\r' || _lv_txt_is_break_char(letter))) { in lv_spangroup_get_expand_height()
843 uint32_t letter = _lv_txt_encoded_prev(&cur_txt[cur_txt_ofs], &tmp_ofs); in lv_draw_span() local
844 … if(!(letter == '\0' || letter == '\n' || letter == '\r' || _lv_txt_is_break_char(letter))) { in lv_draw_span()
846 letter = _lv_txt_encoded_next(&cur_txt[cur_txt_ofs + next_ofs], &tmp_ofs); in lv_draw_span()
847 … if(!(letter == '\0' || letter == '\n' || letter == '\r' || _lv_txt_is_break_char(letter))) { in lv_draw_span()
[all …]
/lvgl-3.7.0/src/draw/renesas/
Dlv_gpu_d2_draw_label.c233 uint32_t letter) in lv_draw_gpu_letter() argument
247 bool g_ret = lv_font_get_glyph_dsc(font_p, &g, letter, '\0'); in lv_draw_gpu_letter()
251 if(letter >= 0x20 && in lv_draw_gpu_letter()
252 letter != 0xf8ff && /*LV_SYMBOL_DUMMY*/ in lv_draw_gpu_letter()
253 letter != 0x200c) { /*ZERO WIDTH NON-JOINER*/ in lv_draw_gpu_letter()
254 LV_LOG_WARN("lv_draw_letter: glyph dsc. not found for U+%X", letter); in lv_draw_gpu_letter()
274 const uint8_t * map_p = lv_font_get_glyph_bitmap(font_p, letter); in lv_draw_gpu_letter()
/lvgl-3.7.0/src/draw/
Dlv_draw_label.c240 uint32_t letter; in lv_draw_label() local
242 _lv_txt_encoded_letter_next_2(bidi_txt, &letter, &letter_next, &i); in lv_draw_label()
245 if(letter == (uint32_t)LV_TXT_COLOR_CMD[0]) { in lv_draw_label()
262 if(letter == ' ') { in lv_draw_label()
287 letter_w = lv_font_get_glyph_width(font, letter, letter_next); in lv_draw_label()
302 lv_draw_letter(draw_ctx, &dsc_mod, &pos, letter); in lv_draw_label()
365 uint32_t letter) in lv_draw_letter() argument
367 draw_ctx->draw_letter(draw_ctx, dsc, pos_p, letter); in lv_draw_letter()
Dlv_draw_label.h86 uint32_t letter);
Dlv_draw.h89 uint32_t letter);
/lvgl-3.7.0/docs/overview/
Dfile-system.md4 A file system is identified by an assigned drive letter.
5 For example, if an SD card is associated with the letter `'S'`, a file can be reached using `"S:pat…
19 drv.letter = 'S'; /*An uppercase letter to identify the drive */
51 `path` is the path after the drive letter (e.g. "S:path/to/file.txt" -> "path/to/file.txt"). `mode`…
Dfont.md10 This way, with higher *bpp*, the edges of the letter can be smoother. The possible *bpp* values are…
121 A different form of the same letter needs to be used when it is isolated, at start, middle or end p…
132 …on of physical color channels of each pixel, resulting in higher quality letter anti-aliasing. Lea…
221 …* The next letter (`unicode_letter_next`) might be used to calculate the width required by this gl…
256 fails to find glyph to a letter, it will try to let font from `fallback` to handle.
/lvgl-3.7.0/src/draw/sw/
Dlv_draw_sw_letter.c95 uint32_t letter) in lv_draw_sw_letter() argument
98 bool g_ret = lv_font_get_glyph_dsc(dsc->font, &g, letter, '\0'); in lv_draw_sw_letter()
102 if(letter >= 0x20 && in lv_draw_sw_letter()
103 letter != 0xf8ff && /*LV_SYMBOL_DUMMY*/ in lv_draw_sw_letter()
104 letter != 0x200c) { /*ZERO WIDTH NON-JOINER*/ in lv_draw_sw_letter()
105 LV_LOG_WARN("lv_draw_letter: glyph dsc. not found for U+%" LV_PRIX32, letter); in lv_draw_sw_letter()
142 const uint8_t * map_p = lv_font_get_glyph_bitmap(g.resolved_font, letter); in lv_draw_sw_letter()
Dlv_draw_sw.h62 uint32_t letter);
/lvgl-3.7.0/docs/libs/
Dfsdrv.md18 …s_littlefs`, to attach a `lfs_t` object's pointer to a registered driver-letter. See its comments …
40 In `lv_conf.h` enable `LV_USE_FS_...` and assign an upper cased letter to `LV_FS_..._LETTER` (e.g. …
41 After that you can access files using that driver letter. E.g. `"S:path/to/file.txt"`.
/lvgl-3.7.0/src/widgets/
Dlv_textarea.c62 static inline bool is_valid_but_non_printable_char(const uint32_t letter);
1060 uint32_t letter = _lv_txt_encoded_next(&txt[byte_pos], NULL); in refr_cursor_area() local
1065 uint32_t letter_space = letter; in refr_cursor_area()
1066 if(is_valid_but_non_printable_char(letter)) { in refr_cursor_area()
1083 if(letter != '\0') { in refr_cursor_area()
1085 letter = _lv_txt_encoded_next(&txt[byte_pos], NULL); in refr_cursor_area()
1088 uint32_t tmp = letter; in refr_cursor_area()
1089 if(is_valid_but_non_printable_char(letter)) { in refr_cursor_area()
1358 static inline bool is_valid_but_non_printable_char(const uint32_t letter) in is_valid_but_non_printable_char() argument
1360 if(letter == '\0' || letter == '\n' || letter == '\r') { in is_valid_but_non_printable_char()
Dlv_label.c439 uint32_t letter; in lv_label_get_letter_on() local
440 letter = _lv_txt_encoded_prev(txt, &tmp); in lv_label_get_letter_on()
441 if(letter != '\n' && txt[new_line_start] == '\0') new_line_start++; in lv_label_get_letter_on()
480 uint32_t letter; in lv_label_get_letter_on() local
482 _lv_txt_encoded_letter_next_2(bidi_txt, &letter, &letter_next, &i); in lv_label_get_letter_on()
491 lv_coord_t gw = lv_font_get_glyph_width(font, letter, letter_next); in lv_label_get_letter_on()
577 uint32_t letter = '\0'; in lv_label_is_char_under_pos() local
584 _lv_txt_encoded_letter_next_2(txt, &letter, &letter_next, &i); in lv_label_is_char_under_pos()
593 x += lv_font_get_glyph_width(font, letter, letter_next); in lv_label_is_char_under_pos()
603 int32_t max_diff = lv_font_get_glyph_width(font, letter, letter_next) + letter_space + 1; in lv_label_is_char_under_pos()
/lvgl-3.7.0/examples/porting/
Dlv_port_fs_template.c72 fs_drv.letter = 'P';
/lvgl-3.7.0/src/extra/libs/fsdrv/
Dlv_fs_fatfs.c69 fs_drv.letter = LV_FS_FATFS_LETTER; in lv_fs_fatfs_init()

12