Searched refs:max_width (Results 1 – 9 of 9) sorted by relevance
/lvgl-3.7.0/src/misc/ |
D | lv_txt.c | 92 lv_coord_t line_space, lv_coord_t max_width, lv_text_flag_t flag) in lv_txt_get_size() argument 100 if(flag & LV_TEXT_FLAG_EXPAND) max_width = LV_COORD_MAX; in lv_txt_get_size() 108 …new_line_start += _lv_txt_get_next_line(&text[line_start], font, letter_space, max_width, NULL, fl… in lv_txt_get_size() 172 lv_coord_t letter_space, lv_coord_t max_width, in lv_txt_get_next_word() argument 178 if(flag & LV_TEXT_FLAG_EXPAND) max_width = LV_COORD_MAX; in lv_txt_get_next_word() 215 if(break_index == NO_BREAK_FOUND && (cur_w - letter_space) > max_width) { in lv_txt_get_next_word() 280 lv_coord_t letter_space, lv_coord_t max_width, in _lv_txt_get_next_line() argument 303 if(flag & LV_TEXT_FLAG_EXPAND) max_width = LV_COORD_MAX; in _lv_txt_get_next_line() 307 while(txt[i] != '\0' && max_width > 0) { in _lv_txt_get_next_line() 309 …uint32_t advance = lv_txt_get_next_word(&txt[i], font, letter_space, max_width, flag, &word_w, &cm… in _lv_txt_get_next_line() [all …]
|
D | lv_txt.h | 84 lv_coord_t line_space, lv_coord_t max_width, lv_text_flag_t flag); 100 lv_coord_t max_width, lv_coord_t * used_width, lv_text_flag_t flag);
|
/lvgl-3.7.0/src/extra/widgets/span/ |
D | lv_span.c | 57 lv_coord_t max_width, lv_text_flag_t flag, lv_coord_t * use_width, 359 uint32_t lv_spangroup_get_expand_width(lv_obj_t * obj, uint32_t max_width) in lv_spangroup_get_expand_width() argument 378 if(max_width > 0 && width >= max_width) { in lv_spangroup_get_expand_width() 379 return max_width; in lv_spangroup_get_expand_width() 402 lv_coord_t max_width = width; in lv_spangroup_get_expand_height() local 403 lv_coord_t indent = convert_indent_pct(obj, max_width); in lv_spangroup_get_expand_height() 404 lv_coord_t max_w = max_width - indent; /* first line need minus indent */ in lv_spangroup_get_expand_height() 486 max_w = max_width; in lv_spangroup_get_expand_height() 600 lv_coord_t letter_space, lv_coord_t max_width, lv_text_flag_t flag, in lv_txt_get_snippet() argument 609 uint32_t ofs = _lv_txt_get_next_line(txt, font, letter_space, max_width, use_width, flag); in lv_txt_get_snippet() [all …]
|
D | lv_span.h | 216 uint32_t lv_spangroup_get_expand_width(lv_obj_t * obj, uint32_t max_width);
|
/lvgl-3.7.0/tests/src/test_cases/ |
D | test_txt.c | 199 lv_coord_t max_width = 0; in test_txt_next_line_should_handle_empty_string() local 202 uint32_t next_line = _lv_txt_get_next_line("", font_ptr, letter_space, max_width, NULL, flag); in test_txt_next_line_should_handle_empty_string()
|
/lvgl-3.7.0/src/core/ |
D | lv_obj_pos.h | 427 lv_coord_t lv_clamp_width(lv_coord_t width, lv_coord_t min_width, lv_coord_t max_width, lv_coord_t …
|
D | lv_obj_pos.c | 970 lv_coord_t lv_clamp_width(lv_coord_t width, lv_coord_t min_width, lv_coord_t max_width, lv_coord_t … in lv_clamp_width() argument 973 if(LV_COORD_IS_PCT(max_width)) max_width = (ref_width * LV_COORD_GET_PCT(max_width)) / 100; in lv_clamp_width() 974 return LV_CLAMP(min_width, width, max_width); in lv_clamp_width()
|
/lvgl-3.7.0/docs/widgets/core/ |
D | canvas.md | 47 - `lv_canvas_draw_text(canvas, x, y, max_width, &draw_dsc, txt)`
|
/lvgl-3.7.0/docs/overview/ |
D | style-props.md | 24 ### max_width subsection
|