Lines Matching refs:new_line_start

315     uint32_t new_line_start  = 0;  in lv_label_get_letter_pos()  local
331 while(txt[new_line_start] != '\0') { in lv_label_get_letter_pos()
332new_line_start += _lv_txt_get_next_line(&txt[line_start], font, letter_space, max_w, NULL, flag); in lv_label_get_letter_pos()
333 if(byte_id < new_line_start || txt[new_line_start] == '\0') in lv_label_get_letter_pos()
337 line_start = new_line_start; in lv_label_get_letter_pos()
356 if(new_line_start == byte_id) { in lv_label_get_letter_pos()
364 …har_pos = _lv_bidi_get_visual_pos(&txt[line_start], &mutable_bidi_txt, new_line_start - line_start, 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()
414 uint32_t new_line_start = 0; in lv_label_get_letter_on() local
433new_line_start += _lv_txt_get_next_line(&txt[line_start], font, letter_space, max_w, NULL, flag); in lv_label_get_letter_on()
438 uint32_t tmp = new_line_start; in lv_label_get_letter_on()
441 if(letter != '\n' && txt[new_line_start] == '\0') new_line_start++; in lv_label_get_letter_on()
446 line_start = new_line_start; in lv_label_get_letter_on()
450 bidi_txt = lv_mem_buf_get(new_line_start - line_start + 1); in lv_label_get_letter_on()
451 uint32_t txt_len = new_line_start - line_start; in lv_label_get_letter_on()
452 if(new_line_start > 0 && txt[new_line_start - 1] == '\0' && txt_len > 0) txt_len--; in lv_label_get_letter_on()
462 line_w = lv_txt_get_width(bidi_txt, new_line_start - line_start, font, letter_space, flag); in lv_label_get_letter_on()
467 line_w = lv_txt_get_width(bidi_txt, new_line_start - line_start, font, letter_space, flag); in lv_label_get_letter_on()
476 if(new_line_start > 0) { in lv_label_get_letter_on()
477 while(i + line_start < new_line_start) { in lv_label_get_letter_on()
494 … if(pos.x < x + gw || i + line_start == new_line_start || txt[i_act + line_start] == '\0') { in lv_label_get_letter_on()
534 uint32_t new_line_start = 0; in lv_label_is_char_under_pos() local
551new_line_start += _lv_txt_get_next_line(&txt[line_start], font, letter_space, max_w, NULL, flag); in lv_label_is_char_under_pos()
556 line_start = new_line_start; in lv_label_is_char_under_pos()
564 …line_w = lv_txt_get_width(&txt[line_start], new_line_start - line_start, font, letter_space, flag); in lv_label_is_char_under_pos()
569 …line_w = lv_txt_get_width(&txt[line_start], new_line_start - line_start, font, letter_space, flag); in lv_label_is_char_under_pos()
580 if(new_line_start > 0) { in lv_label_is_char_under_pos()
581 while(i <= new_line_start - 1) { in lv_label_is_char_under_pos()