Home
last modified time | relevance | path

Searched refs:flag (Results 1 – 25 of 38) sorted by relevance

12

/lvgl-3.5.0/src/widgets/
Dlv_label.c322 lv_text_flag_t flag = LV_TEXT_FLAG_NONE; in lv_label_get_letter_pos() local
324 if(label->recolor != 0) flag |= LV_TEXT_FLAG_RECOLOR; in lv_label_get_letter_pos()
325 if(label->expand != 0) flag |= LV_TEXT_FLAG_EXPAND; in lv_label_get_letter_pos()
326 …if(lv_obj_get_style_width(obj, LV_PART_MAIN) == LV_SIZE_CONTENT && !obj->w_layout) flag |= LV_TEXT… in lv_label_get_letter_pos()
332 … new_line_start += _lv_txt_get_next_line(&txt[line_start], font, letter_space, max_w, NULL, flag); 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()
421 lv_text_flag_t flag = LV_TEXT_FLAG_NONE; in lv_label_get_letter_on() local
425 if(label->recolor != 0) flag |= LV_TEXT_FLAG_RECOLOR; in lv_label_get_letter_on()
[all …]
Dlv_roller.c480 if(lv_label_get_recolor(label)) label_dsc.flag |= LV_TEXT_FLAG_RECOLOR; in draw_main()
515 label_dsc.flag |= LV_TEXT_FLAG_EXPAND; in draw_main()
533 if(lv_label_get_recolor(label_obj)) label_draw_dsc.flag |= LV_TEXT_FLAG_RECOLOR; in draw_label()
/lvgl-3.5.0/src/draw/
Dlv_draw_label.c109 if((dsc->flag & LV_TEXT_FLAG_EXPAND) == 0) { in lv_draw_label()
117 dsc->flag); in lv_draw_label()
154 … line_start + _lv_txt_get_next_line(&txt[line_start], font, dsc->letter_space, w, NULL, dsc->flag); in lv_draw_label()
160 … line_end += _lv_txt_get_next_line(&txt[line_start], font, dsc->letter_space, w, NULL, dsc->flag); in lv_draw_label()
175 …th = lv_txt_get_width(&txt[line_start], line_end - line_start, font, dsc->letter_space, dsc->flag); in lv_draw_label()
182 …th = lv_txt_get_width(&txt[line_start], line_end - line_start, font, dsc->letter_space, dsc->flag); in lv_draw_label()
244 if((dsc->flag & LV_TEXT_FLAG_RECOLOR) != 0) { in lv_draw_label()
337 … line_end += _lv_txt_get_next_line(&txt[line_start], font, dsc->letter_space, w, NULL, dsc->flag); in lv_draw_label()
343 … lv_txt_get_width(&txt[line_start], line_end - line_start, font, dsc->letter_space, dsc->flag); in lv_draw_label()
351 … lv_txt_get_width(&txt[line_start], line_end - line_start, font, dsc->letter_space, dsc->flag); in lv_draw_label()
Dlv_draw_label.h44 lv_text_flag_t flag; member
/lvgl-3.5.0/src/misc/
Dlv_txt.c92 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 …_line_start += _lv_txt_get_next_line(&text[line_start], font, letter_space, max_width, NULL, flag); in lv_txt_get_size()
121 flag); in lv_txt_get_size()
173 … lv_text_flag_t flag, uint32_t * word_w_ptr, lv_text_cmd_state_t * cmd_state, bool force) 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()
198 if((flag & LV_TEXT_FLAG_RECOLOR) != 0) { in lv_txt_get_next_word()
281 lv_coord_t * used_width, lv_text_flag_t flag) in _lv_txt_get_next_line() argument
293 if((flag & LV_TEXT_FLAG_EXPAND) || (flag & LV_TEXT_FLAG_FIT)) { in _lv_txt_get_next_line()
303 if(flag & LV_TEXT_FLAG_EXPAND) max_width = LV_COORD_MAX; in _lv_txt_get_next_line()
[all …]
Dlv_txt.h84 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);
113 lv_text_flag_t flag);
Dlv_style.h370 lv_style_prop_t lv_style_register_prop(uint8_t flag);
565 static inline bool lv_style_prop_has_flag(lv_style_prop_t prop, uint8_t flag) in lv_style_prop_has_flag() argument
567 return _lv_style_prop_lookup_flags(prop) & flag; in lv_style_prop_has_flag()
Dlv_style.c180 lv_style_prop_t lv_style_register_prop(uint8_t flag) in lv_style_register_prop() argument
212 …lv_style_custom_prop_flag_lookup_table)[last_custom_prop_id - _LV_STYLE_NUM_BUILT_IN_PROPS] = flag; in lv_style_register_prop()
/lvgl-3.5.0/docs/widgets/
Dobj.md125 - `LV_OBJ_FLAG_LAYOUT_1` Custom flag, free to use by layouts
126 - `LV_OBJ_FLAG_LAYOUT_2` Custom flag, free to use by layouts
128 - `LV_OBJ_FLAG_WIDGET_1` Custom flag, free to use by widget
129 - `LV_OBJ_FLAG_WIDGET_2` Custom flag, free to use by widget
131 - `LV_OBJ_FLAG_USER_1` Custom flag, free to use by user
132 - `LV_OBJ_FLAG_USER_2` Custom flag, free to use by user
133 - `LV_OBJ_FLAG_USER_3` Custom flag, free to use by user
134 - `LV_OBJ_FLAG_USER_4` Custom flag, free to use by user
158 - `LV_EVENT_VALUE_CHANGED` when the `LV_OBJ_FLAG_CHECKABLE` flag is enabled and the object clicked …
/lvgl-3.5.0/tests/src/test_cases/
Dtest_txt.c200 lv_text_flag_t flag = LV_TEXT_FLAG_NONE; 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.5.0/examples/widgets/table/
Dlv_example_table_1.py17 dsc.label_dsc.flag = lv.TEXT_ALIGN.RIGHT
/lvgl-3.5.0/examples/widgets/bar/
Dlv_example_bar_6.c25 label_dsc.flag); in event_cb()
Dlv_example_bar_6.py17 …ue_txt, label_dsc.font, label_dsc.letter_space, label_dsc.line_space, lv.COORD.MAX, label_dsc.flag)
Dtest.py20 …ue_txt, label_dsc.font, label_dsc.letter_space, label_dsc.line_space, lv.COORD.MAX, label_dsc.flag)
/lvgl-3.5.0/docs/widgets/core/
Dbtn.md20 - `LV_EVENT_VALUE_CHANGED` when the `LV_OBJ_FLAG_CHECKABLE` flag is enabled and the object is click…
Dbtnmatrix.md39 - `LV_BTNMATRIX_CTRL_CUSTOM_1` Custom free to use flag
40 - `LV_BTNMATRIX_CTRL_CUSTOM_2` Custom free to use flag
/lvgl-3.5.0/docs/overview/
Dscroll.md90 …lled "scroll chaining" and it can be enabled/disabled with `LV_OBJ_FLAG_SCROLL_CHAIN_HOR/VER` flag.
96 The scroll momentum can be enabled/disabled with the `LV_OBJ_FLAG_SCROLL_MOMENTUM` flag.
105 … scrolling ends. Children can be made snappable individually with the `LV_OBJ_FLAG_SNAPPABLE` flag.
125 This feature can be enabled by the `LV_OBJ_FLAG_SCROLL_ONE` flag.
/lvgl-3.5.0/docs/porting/
Dos.md50 It's a better approach to simply set a flag or some value in the interrupt, and periodically check …
/lvgl-3.5.0/src/extra/others/ime/
Dlv_ime_pinyin.c1013 int flag = 0; in pinyin_k9_get_legal_py() local
1038 flag = mark[index]; in pinyin_k9_get_legal_py()
1039 if(flag < strlen(py9_map[k9_input[index] - '2'])) { in pinyin_k9_get_legal_py()
1040 py_comp[index] = py9_map[k9_input[index] - '2'][flag]; in pinyin_k9_get_legal_py()
/lvgl-3.5.0/tests/
DREADME.md34 - `report` - Coverage report. Generated if the `report` flag was passed to `./main.py`
/lvgl-3.5.0/docs/widgets/extra/
Dcalendar.md20 - days of the previous and next month have `LV_BTNMATRIX_CTRL_DISABLED` flag
Dkeyboard.md33 …g. space. If you use a custom keymap, set the `LV_BTNMATRIX_CTRL_POPOVER` flag for all keys that y…
/lvgl-3.5.0/docs/libs/
Drlottie.md23 And finally add the `-lrlottie` flag to your linker.
/lvgl-3.5.0/src/extra/widgets/span/
Dlv_span.c57 lv_coord_t max_width, lv_text_flag_t flag, lv_coord_t * use_width,
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()
/lvgl-3.5.0/demos/widgets/
Dlv_demo_widgets.py61 flag = lv.THEME_MATERIAL_FLAG.LIGHT
63 flag=lv.THEME_MATERIAL_FLAG.DARK
64 …heme = lv.theme_material_init(LV_THEME_DEFAULT_COLOR_PRIMARY,LV_THEME_DEFAULT_COLOR_SECONDARY,flag,

12