Home
last modified time | relevance | path

Searched refs:lv_obj_get_height (Results 1 – 25 of 33) sorted by relevance

12

/lvgl-3.7.0/src/core/
Dlv_obj_pos.c130 h = lv_obj_get_height(obj); in lv_obj_refr_size()
166 if(lv_obj_get_width(obj) == w && lv_obj_get_height(obj) == h) return false; in lv_obj_refr_size()
374 y = lv_obj_get_content_height(base) / 2 - lv_obj_get_height(obj) / 2 + btop; in lv_obj_align_to()
392 y = lv_obj_get_content_height(base) - lv_obj_get_height(obj) + btop; in lv_obj_align_to()
396 y = lv_obj_get_content_height(base) - lv_obj_get_height(obj) + btop; in lv_obj_align_to()
401 y = lv_obj_get_content_height(base) - lv_obj_get_height(obj) + btop; in lv_obj_align_to()
406 y = lv_obj_get_content_height(base) / 2 - lv_obj_get_height(obj) / 2 + btop; in lv_obj_align_to()
411 y = lv_obj_get_content_height(base) / 2 - lv_obj_get_height(obj) / 2 + btop; in lv_obj_align_to()
416 y = -lv_obj_get_height(obj); in lv_obj_align_to()
421 y = -lv_obj_get_height(obj); in lv_obj_align_to()
[all …]
Dlv_obj_pos.h289 lv_coord_t lv_obj_get_height(const struct _lv_obj_t * obj);
Dlv_obj.c779 … lv_obj_scroll_to_y(obj, lv_obj_get_scroll_y(obj) + lv_obj_get_height(obj) / 4, anim_enable); in lv_obj_event()
782 … lv_obj_scroll_to_y(obj, lv_obj_get_scroll_y(obj) - lv_obj_get_height(obj) / 4, anim_enable); in lv_obj_event()
787 … lv_obj_scroll_to_y(obj, lv_obj_get_scroll_y(obj) + lv_obj_get_height(obj) / 4, anim_enable); in lv_obj_event()
794 … lv_obj_scroll_to_y(obj, lv_obj_get_scroll_y(obj) - lv_obj_get_height(obj) / 4, anim_enable); in lv_obj_event()
Dlv_obj_scroll.c156 self_h = self_h - (lv_obj_get_height(obj) - pad_top - pad_bottom - 2 * border_width); in lv_obj_get_scroll_bottom()
499 lv_coord_t obj_h = lv_obj_get_height(obj); in lv_obj_get_scrollbar_area()
704 lv_coord_t parent_h = lv_obj_get_height(parent) - ptop - pbottom; in scroll_area_into_view()
/lvgl-3.7.0/src/widgets/
Dlv_img.c193 lv_coord_t h = lv_obj_get_height(obj); in lv_img_set_angle()
226 lv_coord_t h = lv_obj_get_height(obj); in lv_img_set_pivot()
262 lv_coord_t h = lv_obj_get_height(obj); in lv_img_set_zoom()
396 img->h = lv_obj_get_height(obj); in lv_img_constructor()
470 lv_coord_t h = lv_obj_get_height(obj); in lv_img_event()
483 if(img->w == lv_obj_get_width(obj) && img->h == lv_obj_get_height(obj) && in lv_img_event()
487 lv_coord_t h = lv_obj_get_height(obj); in lv_img_event()
557 …_lv_img_buf_get_transformed_area(&a, lv_obj_get_width(obj), lv_obj_get_height(obj), 0, img->zoom, … in draw_img()
572 lv_coord_t obj_h = lv_obj_get_height(obj); in draw_img()
Dlv_slider.c138 bool hor = lv_obj_get_width(obj) >= lv_obj_get_height(obj); in lv_slider_event()
221 const lv_coord_t h = lv_obj_get_height(obj); in lv_slider_event()
298 …lv_coord_t knob_size = LV_MIN(lv_obj_get_width(obj) + 2 * trans_w, lv_obj_get_height(obj) + 2 * tr… in lv_slider_event()
348 knob_size = lv_obj_get_height(obj); in draw_knob()
444 return lv_obj_get_width(obj) >= lv_obj_get_height(obj); in is_slider_horizontal()
Dlv_line.c174 lv_coord_t h = lv_obj_get_height(obj); in lv_line_event()
Dlv_roller.c484 lv_coord_t roller_h = lv_obj_get_height(obj); in draw_main()
487 label_y_prop = (label_y_prop * 16384) / lv_obj_get_height( in draw_main()
579 sel_area->y1 = obj->coords.y1 + lv_obj_get_height(obj) / 2 - d / 2; in get_sel_area()
Dlv_switch.c175 lv_coord_t knob_size = lv_obj_get_height(obj); in draw_main()
Dlv_dropdown.c478 lv_coord_t label_h = lv_obj_get_height(label); in lv_dropdown_open()
847 symbol_area.y1 = obj->coords.y1 + (lv_obj_get_height(obj) - symbol_h) / 2; in draw_main()
1131 if(lv_obj_get_height(label) <= lv_obj_get_content_height(dropdown_obj)) return; in position_to_selected()
/lvgl-3.7.0/src/extra/others/snapshot/
Dlv_snapshot.c65 lv_coord_t h = lv_obj_get_height(obj); in lv_snapshot_buf_size_needed()
107 lv_coord_t h = lv_obj_get_height(obj); in lv_snapshot_take_to_buf()
/lvgl-3.7.0/src/extra/others/gridnav/
Dlv_gridnav.c168 lv_coord_t d = lv_obj_get_height(dsc->focused_obj) / 4; in gridnav_event_cb()
187 lv_coord_t d = lv_obj_get_height(dsc->focused_obj) / 4; in gridnav_event_cb()
274 lv_coord_t h_half = lv_obj_get_height(start_child) / 2; in find_chid()
275 …lv_coord_t h_max = lv_obj_get_height(obj) + lv_obj_get_scroll_top(obj) + lv_obj_get_scroll_bottom(… in find_chid()
/lvgl-3.7.0/examples/widgets/spinbox/
Dlv_example_spinbox_1.c31 lv_coord_t h = lv_obj_get_height(spinbox); in lv_example_spinbox_1()
/lvgl-3.7.0/examples/scroll/
Dlv_example_scroll_6.c12 lv_coord_t r = lv_obj_get_height(cont) * 7 / 10; in scroll_event_cb()
/lvgl-3.7.0/src/extra/widgets/win/
Dlv_win.c95 lv_obj_set_size(obj, lv_obj_get_width(parent), lv_obj_get_height(parent)); in lv_win_constructor()
/lvgl-3.7.0/examples/widgets/roller/
Dlv_example_roller_3.c29 rect_area.y2 = roller_coords.y1 + (lv_obj_get_height(obj) - font_h - line_space) / 2; in mask_event_cb()
/lvgl-3.7.0/src/extra/widgets/calendar/
Dlv_calendar_header_arrow.c78 lv_coord_t btn_size = lv_obj_get_height(mo_prev); in my_constructor()
/lvgl-3.7.0/src/extra/layouts/grid/
Dlv_grid.c520 size = LV_MAX(size, lv_obj_get_height(item)); in calc_rows()
642 y = c->y[row_pos] + row_h - lv_obj_get_height(item); in item_repos()
648 if(lv_obj_get_width(item) != item_w || lv_obj_get_height(item) != item_h) { in item_repos()
664 lv_coord_t h = lv_obj_get_height(item); in item_repos()
/lvgl-3.7.0/examples/widgets/chart/
Dlv_example_chart_2.c24 lv_coord_t h = lv_obj_get_height(obj); in draw_event_cb()
/lvgl-3.7.0/tests/src/test_cases/
Dtest_slider.c38 lv_coord_t objh = lv_obj_get_height(slider); in test_textarea_should_have_valid_documented_default_values()
/lvgl-3.7.0/src/extra/layouts/flex/
Dlv_flex.c324 lv_coord_t(*get_main_size)(const lv_obj_t *) = (f->row ? lv_obj_get_width : lv_obj_get_height); in find_track_end()
325 … lv_coord_t(*get_cross_size)(const lv_obj_t *) = (!f->row ? lv_obj_get_width : lv_obj_get_height); in find_track_end()
513 lv_coord_t h = lv_obj_get_height(item); in children_repos()
/lvgl-3.7.0/demos/keypad_encoder/
Dlv_demo_keypad_encoder.c137 if(lv_obj_get_height(list) > lv_obj_get_content_height(parent)) { in selectors_create()
/lvgl-3.7.0/src/extra/widgets/colorwheel/
Dlv_colorwheel.c246 lv_coord_t h = lv_obj_get_height(obj); in draw_disc_grad()
382 lv_obj_get_height(obj) != lv_area_get_height(param)) { in lv_colorwheel_event()
450 p.y = obj->coords.y1 + lv_obj_get_height(obj) / 2; in lv_colorwheel_event()
/lvgl-3.7.0/demos/benchmark/
Dlv_demo_benchmark.c688 …lv_obj_set_size(scene_bg, lv_obj_get_width(scr), lv_obj_get_height(scr) - subtitle->coords.y2 - LV… in benchmark_init()
1163 lv_anim_set_values(&a, 0, lv_obj_get_height(scene_bg) - lv_obj_get_height(obj)); in fall_anim()
/lvgl-3.7.0/demos/stress/
Dlv_demo_stress.c218 lv_anim_set_values(&a, LV_VER_RES, LV_VER_RES - lv_obj_get_height(obj)); in obj_test_timer_cb()

12