/AliOS-Things-master/components/littlevgl/src/lv_draw/ |
A D | lv_draw_label.c | 69 …lv_txt_get_size(&p, txt, style->text.font, style->text.letter_space, style->text.line_space, LV_CO… in lv_draw_label() 108 …end = line_start + lv_txt_get_next_line(&txt[line_start], font, style->text.letter_space, w, flag); in lv_draw_label() 114 line_end += lv_txt_get_next_line(&txt[line_start], font, style->text.letter_space, w, flag); in lv_draw_label() 129 … = lv_txt_get_width(&txt[line_start], line_end - line_start, font, style->text.letter_space, flag); in lv_draw_label() 136 … = lv_txt_get_width(&txt[line_start], line_end - line_start, font, style->text.letter_space, flag); in lv_draw_label() 215 sel_coords.x2 = pos.x + letter_w + style->text.letter_space - 1; in lv_draw_label() 223 pos.x += letter_w + style->text.letter_space; in lv_draw_label() 228 line_end += lv_txt_get_next_line(&txt[line_start], font, style->text.letter_space, w, flag); in lv_draw_label() 234 … lv_txt_get_width(&txt[line_start], line_end - line_start, font, style->text.letter_space, flag); in lv_draw_label() 242 … lv_txt_get_width(&txt[line_start], line_end - line_start, font, style->text.letter_space, flag); in lv_draw_label()
|
/AliOS-Things-master/components/littlevgl/src/lv_misc/ |
A D | lv_txt.h | 74 …get_size(lv_point_t * size_res, const char * text, const lv_font_t * font, lv_coord_t letter_space, 88 uint16_t lv_txt_get_next_line(const char * txt, const lv_font_t * font, lv_coord_t letter_space, lv… 101 …v_txt_get_width(const char * txt, uint16_t length, const lv_font_t * font, lv_coord_t letter_space,
|
A D | lv_txt.c | 92 …get_size(lv_point_t * size_res, const char * text, const lv_font_t * font, lv_coord_t letter_space, in lv_txt_get_size() argument 110 … new_line_start += lv_txt_get_next_line(&text[line_start], font, letter_space, max_width, flag); in lv_txt_get_size() 115 …ength = lv_txt_get_width(&text[line_start], new_line_start - line_start, font, letter_space, flag); in lv_txt_get_size() 142 uint16_t lv_txt_get_next_line(const char * txt, const lv_font_t * font, lv_coord_t letter_space, lv… in lv_txt_get_next_line() argument 209 cur_w += letter_space; in lv_txt_get_next_line() 226 …v_txt_get_width(const char * txt, uint16_t length, const lv_font_t * font, lv_coord_t letter_space, in lv_txt_get_width() argument 251 width += letter_space; in lv_txt_get_width() 256 width -= letter_space; /*Trim the last letter space. Important if the text is center in lv_txt_get_width()
|
/AliOS-Things-master/components/littlevgl/src/lv_objx/ |
A D | lv_label.c | 502 …new_line_start += lv_txt_get_next_line(&txt[line_start], font, style->text.letter_space, max_w, fl… in lv_label_get_letter_pos() 521 if(index != line_start) x += style->text.letter_space; in lv_label_get_letter_pos() 569 …new_line_start += lv_txt_get_next_line(&txt[line_start], font, style->text.letter_space, max_w, fl… in lv_label_get_letter_on() 613 x += style->text.letter_space; in lv_label_get_letter_on() 684 …new_line_start += lv_txt_get_next_line(&txt[line_start], font, style->text.letter_space, max_w, fl… in lv_label_is_char_under_pos() 729 x += style->text.letter_space; in lv_label_is_char_under_pos() 734 …t32_t max_diff = lv_font_get_glyph_width(font, letter, letter_next) + style->text.letter_space + 1; in lv_label_is_char_under_pos() 735 return (pos->x >= (last_x - style->text.letter_space) && pos->x <= (last_x + max_diff)); in lv_label_is_char_under_pos() 988 …lv_txt_get_size(&size, ext->text, font, style->text.letter_space, style->text.line_space, max_w, f… in lv_label_refr_text() 1005 … (((lv_font_get_glyph_width(style->text.font, ' ', ' ') + style->text.letter_space) * 1000) / in lv_label_refr_text() [all …]
|
A D | lv_table.c | 673 cell_style->text.letter_space, cell_style->text.line_space, in lv_table_design() 706 … cell_style->text.letter_space, cell_style->text.line_space, in lv_table_design() 838 … cell_style->text.letter_space, cell_style->text.line_space, txt_w, LV_TXT_FLAG_NONE); in get_row_height()
|
A D | lv_img.c | 178 …lv_txt_get_size(&size, src_img, style->text.font, style->text.letter_space, style->text.line_space, in lv_img_set_src()
|
A D | lv_gauge.c | 375 …lv_txt_get_size(&label_size, scale_txt, style->text.font, style->text.letter_space, style->text.li… in lv_gauge_draw_scale()
|
A D | lv_chart.c | 1144 … lv_txt_get_size(&size, buf, style->text.font, style->text.letter_space, style->text.line_space, in lv_chart_draw_y_ticks() 1252 … lv_txt_get_size(&size, buf, style->text.font, style->text.letter_space, style->text.line_space, in lv_chart_draw_x_ticks()
|
A D | lv_btnm.c | 688 lv_txt_get_size(&txt_size, ext->map_p[txt_i], font, btn_style->text.letter_space, in lv_btnm_design()
|
/AliOS-Things-master/components/littlevgl/src/lv_core/ |
A D | lv_style.h | 101 lv_coord_t letter_space; /**< Space between letters */ member
|
A D | lv_style.c | 97 lv_style_scr.text.letter_space = 0; in lv_style_init() 245 STYLE_ATTR_MIX(text.letter_space, ratio); in lv_style_mix()
|
/AliOS-Things-master/components/littlevgl/src/lv_themes/ |
A D | lv_theme_mono.c | 68 def.text.letter_space = 1; in basic_init()
|
A D | lv_theme_nemo.c | 94 def.text.letter_space = 1; in basic_init()
|
A D | lv_theme_alien.c | 92 def.text.letter_space = 1; in basic_init()
|