/lvgl-2.7.6/src/lv_widgets/ |
D | lv_tabview.c | 216 lv_obj_set_size(h, lv_obj_get_width(tabview), lv_obj_get_height(ext->content)); in lv_tabview_add_tab() 338 cont_x = -(lv_obj_get_width(tabview) * id + scrl_inner * id + scrl_left); in lv_tabview_set_tab_act() 342 …cont_x = -((lv_obj_get_width(tabview) - lv_obj_get_width(ext->btns)) * id + scrl_inner * id + scrl… in lv_tabview_set_tab_act() 377 indic_size = lv_obj_get_width(ext->indic); in lv_tabview_set_tab_act() 645 if(ext->content != NULL && (lv_obj_get_width(tabview) != lv_area_get_width(param) || in lv_tabview_signal() 749 lv_coord_t page_x2 = page_x1 + lv_obj_get_width(tabview); in tabview_scrl_signal() 750 lv_coord_t treshold = lv_obj_get_width(tabview) / 2; in tabview_scrl_signal() 946 btns_w = lv_obj_get_width(tabview); in refr_btns_size() 970 cont_w = lv_obj_get_width(tabview); in refr_content_size() 975 cont_w = lv_obj_get_width(tabview); in refr_content_size() [all …]
|
D | lv_img.c | 82 ext->w = lv_obj_get_width(img); in lv_img_create() 306 lv_coord_t w = lv_obj_get_width(img); in lv_img_set_pivot() 346 lv_coord_t w = lv_obj_get_width(img); in lv_img_set_angle() 389 lv_coord_t w = lv_obj_get_width(img); in lv_img_set_zoom() 599 …_lv_img_buf_get_transformed_area(&a, lv_obj_get_width(img), lv_obj_get_height(img), 0, zoom_final,… in lv_img_design() 634 lv_coord_t obj_w = lv_obj_get_width(img); in lv_img_design() 696 …_lv_img_buf_get_transformed_area(&clip_real, lv_obj_get_width(img), lv_obj_get_height(img), angle_… in lv_img_design() 821 lv_coord_t w = lv_obj_get_width(img); in lv_img_signal() 854 if(ext->w == lv_obj_get_width(img) && ext->h == lv_obj_get_height(img) && in lv_img_signal() 857 lv_coord_t w = lv_obj_get_width(img); in lv_img_signal()
|
D | lv_tileview.c | 229 lv_coord_t x_coord = -x * lv_obj_get_width(tileview); in lv_tileview_set_tile_act() 360 lv_coord_t w = lv_obj_get_width(tileview); in lv_tileview_scrl_signal() 387 lv_obj_set_x(scrl, -ext->act_id.x * lv_obj_get_width(tileview) + left); in lv_tileview_scrl_signal() 406 p.x = -(lv_obj_get_x(scrl) - lv_obj_get_width(tileview) / 2); in drag_end_handler() 438 p.x = p.x / lv_obj_get_width(tileview); in drag_end_handler()
|
D | lv_page.c | 360 return lv_obj_get_width(page) - bg_left - bg_right - scrl_left - scrl_right; in lv_page_get_width_fit() 524 lv_coord_t obj_w = lv_obj_get_width(obj); in lv_page_focus() 526 lv_coord_t page_w = lv_obj_get_width(page); in lv_page_focus() 851 if(ext->scrl != NULL && (lv_obj_get_width(page) != lv_area_get_width(param) || in lv_page_signal() 875 if(lv_page_get_scrl_width(page) <= lv_obj_get_width(page)) in lv_page_signal() 878 lv_page_scroll_hor(page, -lv_obj_get_width(page) / 4); in lv_page_signal() 883 if(lv_page_get_scrl_width(page) <= lv_obj_get_width(page)) in lv_page_signal() 886 lv_page_scroll_hor(page, lv_obj_get_width(page) / 4); in lv_page_signal() 961 …(lv_obj_get_width(scrl) != lv_area_get_width(param) || lv_obj_get_height(scrl) != lv_area_get_heig… in lv_page_scrollable_signal() 1185 lv_coord_t scrl_w = lv_obj_get_width(scrl); in scrlbar_refresh() [all …]
|
D | lv_slider.c | 175 lv_coord_t objw = lv_obj_get_width(slider); in lv_slider_design() 287 bool hor = lv_obj_get_width(slider) >= lv_obj_get_height(slider); in lv_slider_signal() 333 lv_coord_t w = lv_obj_get_width(slider); in lv_slider_signal() 401 if(lv_obj_get_width(slider) != lv_area_get_width(param) || in lv_slider_signal() 413 … lv_coord_t knob_size = LV_MATH_MIN(lv_obj_get_width(slider), lv_obj_get_height(slider)) >> 1; in lv_slider_signal()
|
D | lv_cont.c | 278 …if(lv_obj_get_width(cont) != lv_area_get_width(param) || lv_obj_get_height(cont) != lv_area_get_he… in lv_cont_signal() 441 last_cord += lv_obj_get_width(child) + inner; in lv_cont_layout_row() 496 lv_coord_t w_obj = lv_obj_get_width(cont); in lv_cont_layout_pretty() 519 lv_coord_t w = lv_obj_get_width(child_rc); in lv_cont_layout_pretty() 594 act_x += lv_obj_get_width(child_tmp) + new_pinner + mleft + mright; in lv_cont_layout_pretty() 630 lv_coord_t obj_w = lv_obj_get_width(child); in lv_cont_layout_grid()
|
D | lv_switch.c | 210 lv_coord_t objw = lv_obj_get_width(sw); in lv_switch_design() 315 lv_coord_t knob_size = LV_MATH_MIN(lv_obj_get_width(sw), lv_obj_get_height(sw)) >> 1; in lv_switch_signal()
|
D | lv_cpicker.c | 476 lv_coord_t w = lv_obj_get_width(cpicker); in draw_disc_grad() 707 if(lv_obj_get_width(cpicker) != lv_area_get_width(param) || in lv_cpicker_signal() 781 p.x = cpicker->coords.x1 + lv_obj_get_width(cpicker) / 2; in lv_cpicker_signal() 799 uint16_t w = lv_obj_get_width(cpicker); in lv_cpicker_signal() 935 lv_coord_t w = lv_obj_get_width(cpicker); in refr_knob_pos()
|
D | lv_dropdown.c | 621 if(lv_obj_get_width(ext->page) < lv_obj_get_width(ddlist) && in lv_dropdown_open() 624 lv_obj_set_width(ext->page, lv_obj_get_width(ddlist)); in lv_dropdown_open() 682 lv_obj_set_x(label, lv_obj_get_width_fit(ext->page) - lv_obj_get_width(label)); in lv_dropdown_open() 760 txt_area.x1 = ddlist->coords.x1 + (lv_obj_get_width(ddlist) - txt_size.x) / 2; in lv_dropdown_design() 779 txt_area.x1 = ddlist->coords.x1 + (lv_obj_get_width(ddlist) - txt_size.x) / 2; in lv_dropdown_design()
|
D | lv_gauge.c | 206 lv_coord_t r = (lv_obj_get_width(gauge) - left - right) / 2 - pad; in lv_gauge_set_value() 517 lv_coord_t r = (lv_obj_get_width(gauge) - left - right) / 2 - scale_width - txt_pad; in lv_gauge_draw_labels() 577 lv_coord_t r = (lv_obj_get_width(gauge) - left - right) / 2 - pad; in lv_gauge_draw_needle()
|
D | lv_win.c | 637 …if(lv_area_get_width(param) != lv_obj_get_width(win) || lv_area_get_height(param) != lv_obj_get_he… in lv_win_signal() 698 lv_obj_set_width(ext->header, lv_obj_get_width(win)); in lv_win_realign() 753 …lv_obj_set_size(ext->page, lv_obj_get_width(win), lv_obj_get_height(win) - lv_obj_get_height(ext->… in lv_win_realign()
|
D | lv_page.h | 304 return lv_obj_get_width(lv_page_get_scrollable(page)); in lv_page_get_scrl_width()
|
D | lv_msgbox.c | 242 lv_anim_set_values(&a, lv_obj_get_width(mbox), 0); in lv_msgbox_start_auto_close() 452 if(lv_obj_get_width(mbox) != lv_area_get_width(param)) { in lv_msgbox_signal()
|
D | lv_textarea.c | 437 if(lv_obj_get_width(ext->label) == 0) { in lv_textarea_del_char() 516 if(lv_obj_get_width(ext->label) == 0) { in lv_textarea_set_text() 649 lv_obj_set_x(label_par, -(cur_pos.x - lv_obj_get_width(ta) + font_h + left + right)); in lv_textarea_set_cursor_pos() 1458 …if(lv_obj_get_width(ta) != lv_area_get_width(param) || lv_obj_get_height(ta) != lv_area_get_height… in lv_textarea_signal() 1536 if(lv_obj_get_width(scrl) != lv_area_get_width(param) || in lv_textarea_scrollable_signal() 1822 lv_coord_t label_width = lv_obj_get_width(ext->label); in update_cursor_position_on_click()
|
D | lv_btnmatrix.c | 169 lv_coord_t max_w = lv_obj_get_width(btnm) - left - right; in lv_btnmatrix_set_map() 229 act_x = lv_obj_get_width(btnm) - right - act_x - act_unit_w - 1; in lv_btnmatrix_set_map() 846 …if(lv_obj_get_width(btnm) != lv_area_get_width(param) || lv_obj_get_height(btnm) != lv_area_get_he… in lv_btnmatrix_signal() 1204 lv_coord_t w = lv_obj_get_width(btnm); in get_button_from_point()
|
D | lv_calendar.c | 758 lv_coord_t days_w = lv_obj_get_width(calendar) - date_left - date_right; in draw_day_names() 770 lv_coord_t w = lv_obj_get_width(calendar) - left - right; in draw_day_names() 820 lv_coord_t days_w = lv_obj_get_width(calendar) - date_left - date_right; in draw_dates()
|
D | lv_roller.c | 477 lv_obj_get_width(roller), LV_TXT_FLAG_EXPAND); in lv_roller_design() 606 if(lv_obj_get_width(roller) != lv_area_get_width(param) || in lv_roller_signal() 961 lv_coord_t label_w = lv_obj_get_width(label); in refr_width()
|
D | lv_linemeter.c | 143 lv_coord_t r_out = (lv_obj_get_width(lmeter) - left - right) / 2 ; in lv_linemeter_set_value() 389 lv_coord_t r_out = (lv_obj_get_width(lmeter) - left - right) / 2 ; in lv_linemeter_draw_scale()
|
D | lv_list.c | 187 lv_coord_t w = last_btn ? lv_obj_get_width(last_btn) : (LV_DPI * 3) / 2; in lv_list_add_btn() 798 if((sign == LV_SIGNAL_COORD_CHG && (lv_obj_get_width(btn) != lv_area_get_width(param) || in lv_list_btn_signal()
|
D | lv_imgbtn.c | 386 lv_coord_t obj_w = lv_obj_get_width(imgbtn); in lv_imgbtn_design()
|
D | lv_arc.c | 893 …lv_coord_t rout = (LV_MATH_MIN(lv_obj_get_width(arc) - left - right, lv_obj_get_height(arc) … in inv_arc_area() 1004 lv_coord_t r = (LV_MATH_MIN(lv_obj_get_width(arc) - left_bg - right_bg, in get_center()
|
D | lv_label.c | 584 pos->x = lv_obj_get_width(label); in lv_label_get_letter_pos() 587 pos->x = lv_obj_get_width(label) / 2; in lv_label_get_letter_pos()
|
D | lv_bar.c | 431 lv_coord_t objw = lv_obj_get_width(bar); in draw_indic()
|
/lvgl-2.7.6/src/lv_core/ |
D | lv_obj.c | 692 lv_coord_t new_x = lv_obj_get_width(parent) - old_pos.x - lv_obj_get_width(obj); in lv_obj_set_parent() 845 if(lv_obj_get_width(obj) == w && lv_obj_get_height(obj) == h) { in lv_obj_set_size() 908 lv_obj_set_size(obj, lv_obj_get_width(obj), h); in lv_obj_set_height() 2316 lv_coord_t lv_obj_get_width(const lv_obj_t * obj) in lv_obj_get_width() function 2347 return lv_obj_get_width(obj) - left - right; in lv_obj_get_width_fit() 2390 return lv_obj_get_width(obj) + mleft + mright; in lv_obj_get_width_margin() 4154 lv_coord_t obj_w_half = lv_obj_get_width(obj) / 2; 4160 new_x = lv_obj_get_width(base) / 2 - obj_w_half; 4169 new_x = lv_obj_get_width(base) / 2 - obj_w_half; 4174 new_x = lv_obj_get_width(base) - obj_w_half; [all …]
|
D | lv_obj.h | 1021 lv_coord_t lv_obj_get_width(const lv_obj_t * obj);
|