Home
last modified time | relevance | path

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

12

/lvgl-3.4.0/src/core/
Dlv_obj_pos.c129 h = lv_obj_get_height(obj); in lv_obj_refr_size()
165 if(lv_obj_get_width(obj) == w && lv_obj_get_height(obj) == h) return false; in lv_obj_refr_size()
371 y = lv_obj_get_content_height(base) / 2 - lv_obj_get_height(obj) / 2 + btop; in lv_obj_align_to()
389 y = lv_obj_get_content_height(base) - lv_obj_get_height(obj) + btop; in lv_obj_align_to()
393 y = lv_obj_get_content_height(base) - lv_obj_get_height(obj) + btop; in lv_obj_align_to()
398 y = lv_obj_get_content_height(base) - lv_obj_get_height(obj) + btop; in lv_obj_align_to()
403 y = lv_obj_get_content_height(base) / 2 - lv_obj_get_height(obj) / 2 + btop; in lv_obj_align_to()
408 y = lv_obj_get_content_height(base) / 2 - lv_obj_get_height(obj) / 2 + btop; in lv_obj_align_to()
413 y = -lv_obj_get_height(obj); in lv_obj_align_to()
418 y = -lv_obj_get_height(obj); in lv_obj_align_to()
[all …]
Dlv_obj_pos.h290 lv_coord_t lv_obj_get_height(const struct _lv_obj_t * obj);
Dlv_obj.c763 … lv_obj_scroll_to_y(obj, lv_obj_get_scroll_y(obj) + lv_obj_get_height(obj) / 4, anim_enable); in lv_obj_event()
766 … lv_obj_scroll_to_y(obj, lv_obj_get_scroll_y(obj) - lv_obj_get_height(obj) / 4, anim_enable); in lv_obj_event()
771 … lv_obj_scroll_to_y(obj, lv_obj_get_scroll_y(obj) + lv_obj_get_height(obj) / 4, anim_enable); in lv_obj_event()
778 … 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.c157 self_h = self_h - (lv_obj_get_height(obj) - pad_top - pad_bottom - 2 * border_width); in lv_obj_get_scroll_bottom()
482 lv_coord_t obj_h = lv_obj_get_height(obj); in lv_obj_get_scrollbar_area()
702 lv_coord_t parent_h = lv_obj_get_height(parent) - ptop - pbottom; in scroll_area_into_view()
/lvgl-3.4.0/src/extra/others/snapshot/
Dlv_snapshot.c63 lv_coord_t h = lv_obj_get_height(obj); in lv_snapshot_buf_size_needed()
103 lv_coord_t h = lv_obj_get_height(obj); in lv_snapshot_take_to_buf()
/lvgl-3.4.0/src/widgets/
Dlv_img.c200 lv_coord_t h = lv_obj_get_height(obj); in lv_img_set_angle()
233 lv_coord_t h = lv_obj_get_height(obj); in lv_img_set_pivot()
268 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()
480 lv_coord_t h = lv_obj_get_height(obj); in lv_img_event()
499 if(img->w == lv_obj_get_width(obj) && img->h == lv_obj_get_height(obj) && in lv_img_event()
503 lv_coord_t h = lv_obj_get_height(obj); in lv_img_event()
579 …_lv_img_buf_get_transformed_area(&a, lv_obj_get_width(obj), lv_obj_get_height(obj), 0, zoom_final,… in draw_img()
600 lv_coord_t obj_h = lv_obj_get_height(obj); in draw_img()
Dlv_slider.c137 bool hor = lv_obj_get_width(obj) >= lv_obj_get_height(obj); in lv_slider_event()
200 lv_coord_t h = lv_obj_get_height(obj); in lv_slider_event()
294 …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()
336 lv_coord_t objh = lv_obj_get_height(obj); in draw_knob()
Dlv_line.c175 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()
577 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.c451 lv_coord_t label_h = lv_obj_get_height(label); in lv_dropdown_open()
821 symbol_area.y1 = obj->coords.y1 + (lv_obj_get_height(obj) - symbol_h) / 2; in draw_main()
1106 if(lv_obj_get_height(label) <= lv_obj_get_content_height(dropdown_obj)) return; in position_to_selected()
Dlv_arc.c686 lv_obj_get_height(obj) - top_bg - bottom_bg)) / 2; in get_center()
/lvgl-3.4.0/src/extra/others/gridnav/
Dlv_gridnav.c147 lv_coord_t d = lv_obj_get_height(dsc->focused_obj) / 4; in gridnav_event_cb()
166 lv_coord_t d = lv_obj_get_height(dsc->focused_obj) / 4; in gridnav_event_cb()
252 lv_coord_t h_half = lv_obj_get_height(start_child) / 2; in find_chid()
253 …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.4.0/examples/widgets/spinbox/
Dlv_example_spinbox_1.c33 lv_coord_t h = lv_obj_get_height(spinbox); in lv_example_spinbox_1()
/lvgl-3.4.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.4.0/src/extra/widgets/win/
Dlv_win.c96 lv_obj_set_size(obj, lv_obj_get_width(parent), lv_obj_get_height(parent)); in lv_win_constructor()
/lvgl-3.4.0/examples/widgets/roller/
Dlv_example_roller_3.c28 rect_area.y2 = roller_coords.y1 + (lv_obj_get_height(obj) - font_h - line_space) / 2; in mask_event_cb()
/lvgl-3.4.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.4.0/src/extra/layouts/grid/
Dlv_grid.c527 size = LV_MAX(size, lv_obj_get_height(item)); in calc_rows()
650 y = c->y[row_pos] + row_h - lv_obj_get_height(item); in item_repos()
656 if(lv_obj_get_width(item) != item_w || lv_obj_get_height(item) != item_h) { in item_repos()
672 lv_coord_t h = lv_obj_get_height(item); in item_repos()
/lvgl-3.4.0/examples/widgets/chart/
Dlv_example_chart_2.c23 lv_coord_t h = lv_obj_get_height(obj); in draw_event_cb()
/lvgl-3.4.0/src/extra/layouts/flex/
Dlv_flex.c327 lv_coord_t(*get_main_size)(const lv_obj_t *) = (f->row ? lv_obj_get_width : lv_obj_get_height); in find_track_end()
328 … lv_coord_t(*get_cross_size)(const lv_obj_t *) = (!f->row ? lv_obj_get_width : lv_obj_get_height); in find_track_end()
512 lv_coord_t h = lv_obj_get_height(item); in children_repos()
/lvgl-3.4.0/demos/keypad_encoder/
Dlv_demo_keypad_encoder.c128 if(lv_obj_get_height(list) > lv_obj_get_content_height(parent)) { in selectors_create()
/lvgl-3.4.0/src/extra/widgets/colorwheel/
Dlv_colorwheel.c247 lv_coord_t h = lv_obj_get_height(obj); in draw_disc_grad()
383 lv_obj_get_height(obj) != lv_area_get_height(param)) { in lv_colorwheel_event()
451 p.y = obj->coords.y1 + lv_obj_get_height(obj) / 2; in lv_colorwheel_event()
/lvgl-3.4.0/demos/benchmark/
Dlv_demo_benchmark.c643 …lv_obj_set_size(scene_bg, lv_obj_get_width(scr), lv_obj_get_height(scr) - subtitle->coords.y2 - LV… in lv_demo_benchmark()
987 lv_anim_set_values(&a, 0, lv_obj_get_height(scene_bg) - lv_obj_get_height(obj)); in fall_anim()
/lvgl-3.4.0/demos/stress/
Dlv_demo_stress.c205 lv_anim_set_values(&a, LV_VER_RES, LV_VER_RES - lv_obj_get_height(obj)); in obj_test_task_cb()

12