Home
last modified time | relevance | path

Searched refs:txt_len (Results 1 – 5 of 5) sorted by relevance

/lvgl-latest/src/extra/widgets/spinbox/
Dlv_spinbox.c390 size_t txt_len = strlen(txt); in lv_spinbox_event() local
395 else if(spinbox->ta.cursor.pos == (uint32_t)txt_len) { in lv_spinbox_event()
396 lv_textarea_set_cursor_pos(obj, txt_len - 1); in lv_spinbox_event()
/lvgl-latest/src/widgets/
Dlv_label.c451 uint32_t txt_len = new_line_start - line_start; in lv_label_get_letter_on() local
452 if(new_line_start > 0 && txt[new_line_start - 1] == '\0' && txt_len > 0) txt_len--; in lv_label_get_letter_on()
453 …_lv_bidi_process_paragraph(txt + line_start, bidi_txt, txt_len, lv_obj_get_style_base_dir(obj, LV_… in lv_label_get_letter_on()
513txt_len, lv_obj_get_style_base_dir(obj, LV_PART_MAIN), cid, &is_rtl); in lv_label_get_letter_on()
1134 size_t txt_len = strlen(label->text); in lv_label_refr_text() local
1136 while(byte_id + LV_LABEL_DOT_NUM > txt_len) { in lv_label_refr_text()
1148 if(len > LV_LABEL_DOT_NUM || byte_id > txt_len) { in lv_label_refr_text()
Dlv_textarea.c322 size_t txt_len = strlen(txt); in lv_textarea_set_placeholder_text() local
323 if((txt_len == 0) && (ta->placeholder_txt)) { in lv_textarea_set_placeholder_text()
330 ta->placeholder_txt = lv_mem_realloc(ta->placeholder_txt, txt_len + 1); in lv_textarea_set_placeholder_text()
338 ta->placeholder_txt[txt_len] = '\0'; in lv_textarea_set_placeholder_text()
450 size_t txt_len = strlen(bullet); in lv_textarea_set_password_bullet() local
454 ta->pwd_bullet = lv_mem_realloc(ta->pwd_bullet, txt_len + 1); in lv_textarea_set_password_bullet()
462 ta->pwd_bullet[txt_len] = '\0'; in lv_textarea_set_password_bullet()
Dlv_roller.c239 size_t txt_len = strlen(opt_txt); in lv_roller_get_selected_str() local
241 for(i = 0; i < txt_len && line != roller->sel_opt_id; i++) { in lv_roller_get_selected_str()
246 for(c = 0; i < txt_len && opt_txt[i] != '\n'; c++, i++) { in lv_roller_get_selected_str()
Dlv_dropdown.c378 size_t txt_len; in lv_dropdown_get_selected_str() local
381 txt_len = strlen(dropdown->options); in lv_dropdown_get_selected_str()
388 for(i = 0; i < txt_len && line != dropdown->sel_opt_id_orig; i++) { in lv_dropdown_get_selected_str()
393 for(c = 0; i < txt_len && dropdown->options[i] != '\n'; c++, i++) { in lv_dropdown_get_selected_str()