Lines Matching refs:flag
605 lv_txt_flag_t flag = LV_TXT_FLAG_NONE; in lv_label_get_letter_pos() local
607 if(ext->recolor != 0) flag |= LV_TXT_FLAG_RECOLOR; in lv_label_get_letter_pos()
608 if(ext->expand != 0) flag |= LV_TXT_FLAG_EXPAND; in lv_label_get_letter_pos()
609 if(ext->long_mode == LV_LABEL_LONG_EXPAND) flag |= LV_TXT_FLAG_FIT; in lv_label_get_letter_pos()
611 if(align == LV_LABEL_ALIGN_CENTER) flag |= LV_TXT_FLAG_CENTER; in lv_label_get_letter_pos()
612 if(align == LV_LABEL_ALIGN_RIGHT) flag |= LV_TXT_FLAG_RIGHT; in lv_label_get_letter_pos()
618 new_line_start += _lv_txt_get_next_line(&txt[line_start], font, letter_space, max_w, flag); in lv_label_get_letter_pos()
661 lv_coord_t x = _lv_txt_get_width(bidi_txt, visual_byte_pos, font, letter_space, flag); in lv_label_get_letter_pos()
666 line_w = _lv_txt_get_width(bidi_txt, new_line_start - line_start, font, letter_space, flag); in lv_label_get_letter_pos()
672 line_w = _lv_txt_get_width(bidi_txt, new_line_start - line_start, font, letter_space, flag); in lv_label_get_letter_pos()
712 lv_txt_flag_t flag = LV_TXT_FLAG_NONE; in lv_label_get_letter_on() local
716 if(ext->recolor != 0) flag |= LV_TXT_FLAG_RECOLOR; in lv_label_get_letter_on()
717 if(ext->expand != 0) flag |= LV_TXT_FLAG_EXPAND; in lv_label_get_letter_on()
718 if(ext->long_mode == LV_LABEL_LONG_EXPAND) flag |= LV_TXT_FLAG_FIT; in lv_label_get_letter_on()
721 if(align == LV_LABEL_ALIGN_CENTER) flag |= LV_TXT_FLAG_CENTER; in lv_label_get_letter_on()
722 if(align == LV_LABEL_ALIGN_RIGHT) flag |= LV_TXT_FLAG_RIGHT; in lv_label_get_letter_on()
726 new_line_start += _lv_txt_get_next_line(&txt[line_start], font, letter_space, max_w, flag); in lv_label_get_letter_on()
755 line_w = _lv_txt_get_width(bidi_txt, new_line_start - line_start, font, letter_space, flag); in lv_label_get_letter_on()
760 line_w = _lv_txt_get_width(bidi_txt, new_line_start - line_start, font, letter_space, flag); in lv_label_get_letter_on()
778 if((flag & LV_TXT_FLAG_RECOLOR) != 0) { in lv_label_get_letter_on()
877 lv_txt_flag_t flag = LV_TXT_FLAG_NONE; in lv_label_is_char_under_pos() local
880 if(ext->recolor != 0) flag |= LV_TXT_FLAG_RECOLOR; in lv_label_is_char_under_pos()
881 if(ext->expand != 0) flag |= LV_TXT_FLAG_EXPAND; in lv_label_is_char_under_pos()
882 if(ext->long_mode == LV_LABEL_LONG_EXPAND) flag |= LV_TXT_FLAG_FIT; in lv_label_is_char_under_pos()
883 if(align == LV_LABEL_ALIGN_CENTER) flag |= LV_TXT_FLAG_CENTER; in lv_label_is_char_under_pos()
887 new_line_start += _lv_txt_get_next_line(&txt[line_start], font, letter_space, max_w, flag); in lv_label_is_char_under_pos()
900 …ine_w = _lv_txt_get_width(&txt[line_start], new_line_start - line_start, font, letter_space, flag); in lv_label_is_char_under_pos()
905 …ine_w = _lv_txt_get_width(&txt[line_start], new_line_start - line_start, font, letter_space, flag); in lv_label_is_char_under_pos()
926 if((flag & LV_TXT_FLAG_RECOLOR) != 0) { in lv_label_is_char_under_pos()
1081 lv_txt_flag_t flag = LV_TXT_FLAG_NONE; in lv_label_design() local
1082 if(ext->recolor != 0) flag |= LV_TXT_FLAG_RECOLOR; in lv_label_design()
1083 if(ext->expand != 0) flag |= LV_TXT_FLAG_EXPAND; in lv_label_design()
1084 if(ext->long_mode == LV_LABEL_LONG_EXPAND) flag |= LV_TXT_FLAG_FIT; in lv_label_design()
1085 if(align == LV_LABEL_ALIGN_CENTER) flag |= LV_TXT_FLAG_CENTER; in lv_label_design()
1086 if(align == LV_LABEL_ALIGN_RIGHT) flag |= LV_TXT_FLAG_RIGHT; in lv_label_design()
1095 label_draw_dsc.flag = flag; in lv_label_design()
1104 LV_COORD_MAX, flag); in lv_label_design()
1106 label_draw_dsc.flag &= ~LV_TXT_FLAG_RIGHT; in lv_label_design()
1107 label_draw_dsc.flag &= ~LV_TXT_FLAG_CENTER; in lv_label_design()
1125 LV_COORD_MAX, flag); in lv_label_design()
1231 lv_txt_flag_t flag = LV_TXT_FLAG_NONE; in lv_label_refr_text() local
1232 if(ext->recolor != 0) flag |= LV_TXT_FLAG_RECOLOR; in lv_label_refr_text()
1233 if(ext->expand != 0) flag |= LV_TXT_FLAG_EXPAND; in lv_label_refr_text()
1234 if(ext->long_mode == LV_LABEL_LONG_EXPAND) flag |= LV_TXT_FLAG_FIT; in lv_label_refr_text()
1235 _lv_txt_get_size(&size, ext->text, font, letter_space, line_space, max_w, flag); in lv_label_refr_text()