Searched refs:bidi_txt (Results 1 – 5 of 5) sorted by relevance
/lvgl-3.7.0/src/draw/ |
D | lv_draw_label.c | 222 char * bidi_txt = lv_mem_buf_get(line_end - line_start + 1); in lv_draw_label() local 223 … _lv_bidi_process_paragraph(txt + line_start, bidi_txt, line_end - line_start, base_dir, NULL, 0); in lv_draw_label() 225 const char * bidi_txt = txt + line_start; in lv_draw_label() local 233 uint32_t t = _lv_txt_encoded_get_char_id(bidi_txt, i); in lv_draw_label() 234 …logical_char_pos += _lv_bidi_get_logical_pos(bidi_txt, NULL, line_end - line_start, base_dir, t, N… in lv_draw_label() 242 _lv_txt_encoded_letter_next_2(bidi_txt, &letter, &letter_next, &i); in lv_draw_label() 266 lv_memcpy_small(buf, &bidi_txt[par_start], LABEL_RECOLOR_PAR_LENGTH); in lv_draw_label() 332 lv_mem_buf_release(bidi_txt); in lv_draw_label() 333 bidi_txt = NULL; in lv_draw_label()
|
/lvgl-3.7.0/src/misc/ |
D | lv_bidi.c | 137 uint16_t _lv_bidi_get_logical_pos(const char * str_in, char ** bidi_txt, uint32_t len, lv_base_dir_… in _lv_bidi_get_logical_pos() argument 150 if(bidi_txt) *bidi_txt = buf; in _lv_bidi_get_logical_pos() 152 …_lv_bidi_process_paragraph(str_in, bidi_txt ? *bidi_txt : NULL, len, base_dir, pos_conv_buf, pos_c… in _lv_bidi_get_logical_pos() 156 if(bidi_txt == NULL) lv_mem_buf_release(buf); in _lv_bidi_get_logical_pos() 174 uint16_t _lv_bidi_get_visual_pos(const char * str_in, char ** bidi_txt, uint16_t len, lv_base_dir_t… in _lv_bidi_get_visual_pos() argument 187 if(bidi_txt) *bidi_txt = buf; in _lv_bidi_get_visual_pos() 189 …_lv_bidi_process_paragraph(str_in, bidi_txt ? *bidi_txt : NULL, len, base_dir, pos_conv_buf, pos_c… in _lv_bidi_get_visual_pos() 197 if(bidi_txt == NULL) lv_mem_buf_release(buf); in _lv_bidi_get_visual_pos() 202 if(bidi_txt == NULL) lv_mem_buf_release(buf); in _lv_bidi_get_visual_pos()
|
D | lv_bidi.h | 77 uint16_t _lv_bidi_get_logical_pos(const char * str_in, char ** bidi_txt, uint32_t len, lv_base_dir_… 92 uint16_t _lv_bidi_get_visual_pos(const char * str_in, char ** bidi_txt, uint16_t len, lv_base_dir_t…
|
/lvgl-3.7.0/src/widgets/ |
D | lv_label.c | 348 const char * bidi_txt; in lv_label_get_letter_pos() local 358 bidi_txt = &txt[line_start]; in lv_label_get_letter_pos() 366 bidi_txt = mutable_bidi_txt; in lv_label_get_letter_pos() 369 visual_byte_pos = _lv_txt_encoded_get_byte_id(bidi_txt, visual_char_pos); in lv_label_get_letter_pos() 372 bidi_txt = &txt[line_start]; in lv_label_get_letter_pos() 377 lv_coord_t x = lv_txt_get_width(bidi_txt, visual_byte_pos, font, letter_space, flag); in lv_label_get_letter_pos() 382 line_w = lv_txt_get_width(bidi_txt, new_line_start - line_start, font, letter_space, flag); in lv_label_get_letter_pos() 388 line_w = lv_txt_get_width(bidi_txt, new_line_start - line_start, font, letter_space, flag); in lv_label_get_letter_pos() 423 char * bidi_txt; in lv_label_get_letter_on() local 450 bidi_txt = lv_mem_buf_get(new_line_start - line_start + 1); in lv_label_get_letter_on() [all …]
|
/lvgl-3.7.0/src/extra/widgets/span/ |
D | lv_span.c | 927 const char * bidi_txt = pinfo->txt; in lv_draw_span() local 956 uint32_t letter = _lv_txt_encoded_next(bidi_txt, &j); in lv_draw_span() 957 uint32_t letter_next = _lv_txt_encoded_next(&bidi_txt[j], NULL); in lv_draw_span()
|