Home
last modified time | relevance | path

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

12

/lvgl-latest/tests/src/test_cases/widgets/
Dtest_msgbox.c169 int32_t h_header = (header == NULL) ? 0 : lv_obj_get_height(header); in test_msgbox_content_auto_height()
170 int32_t h_footer = (footer == NULL) ? 0 : lv_obj_get_height(footer); in test_msgbox_content_auto_height()
171 int32_t h_content = lv_obj_get_height(content); in test_msgbox_content_auto_height()
185 h_header = (header == NULL) ? 0 : lv_obj_get_height(header); in test_msgbox_content_auto_height()
186 h_footer = (footer == NULL) ? 0 : lv_obj_get_height(footer); in test_msgbox_content_auto_height()
187 h_content = lv_obj_get_height(content); in test_msgbox_content_auto_height()
Dtest_win.c42 TEST_ASSERT_EQUAL(lv_display_get_dpi(lv_obj_get_display(win)) / 2, lv_obj_get_height(header)); in test_win_should_have_valid_documented_default_values()
Dtest_slider.c39 int32_t objh = lv_obj_get_height(slider); in test_textarea_should_have_valid_documented_default_values()
/lvgl-latest/src/core/
Dlv_obj_pos.c134 h = lv_obj_get_height(obj); in lv_obj_refr_size()
164 if(lv_obj_get_width(obj) == w && lv_obj_get_height(obj) == h) return false; in lv_obj_refr_size()
358 y = lv_obj_get_content_height(base) / 2 - lv_obj_get_height(obj) / 2 + btop; in lv_obj_align_to()
378 y = lv_obj_get_content_height(base) - lv_obj_get_height(obj) + btop; in lv_obj_align_to()
382 y = lv_obj_get_content_height(base) - lv_obj_get_height(obj) + btop; in lv_obj_align_to()
387 y = lv_obj_get_content_height(base) - lv_obj_get_height(obj) + btop; in lv_obj_align_to()
392 y = lv_obj_get_content_height(base) / 2 - lv_obj_get_height(obj) / 2 + btop; in lv_obj_align_to()
397 y = lv_obj_get_content_height(base) / 2 - lv_obj_get_height(obj) / 2 + btop; in lv_obj_align_to()
402 y = -lv_obj_get_height(obj); in lv_obj_align_to()
407 y = -lv_obj_get_height(obj); in lv_obj_align_to()
[all …]
Dlv_obj_pos.h300 int32_t lv_obj_get_height(const lv_obj_t * obj);
Dlv_obj.c88 .getter = lv_obj_get_height,
785 … lv_obj_scroll_to_y(obj, lv_obj_get_scroll_y(obj) + lv_obj_get_height(obj) / 4, anim_enable); in lv_obj_event()
788 … lv_obj_scroll_to_y(obj, lv_obj_get_scroll_y(obj) - lv_obj_get_height(obj) / 4, anim_enable); in lv_obj_event()
793 … lv_obj_scroll_to_y(obj, lv_obj_get_scroll_y(obj) + lv_obj_get_height(obj) / 4, anim_enable); in lv_obj_event()
800 … 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.c159 self_h = self_h - (lv_obj_get_height(obj) - space_top - space_bottom); in lv_obj_get_scroll_bottom()
515 int32_t obj_h = lv_obj_get_height(obj); in lv_obj_get_scrollbar_area()
722 int32_t parent_h = lv_obj_get_height(parent) - stop - sbottom; in scroll_area_into_view()
/lvgl-latest/src/others/snapshot/
Dlv_snapshot.c51 int32_t h = lv_obj_get_height(obj); in lv_snapshot_create_draw_buf()
64 int32_t h = lv_obj_get_height(obj); in lv_snapshot_reshape_draw_buf()
/lvgl-latest/src/widgets/image/
Dlv_image.c287 int32_t h = lv_obj_get_height(obj); in lv_image_set_rotation()
329 int32_t h = lv_obj_get_height(obj); in lv_image_set_pivot()
585 img->h = lv_obj_get_height(obj); in lv_image_constructor()
644 int32_t h = lv_obj_get_height(obj); in lv_image_event()
657 if(img->w == lv_obj_get_width(obj) && img->h == lv_obj_get_height(obj) && in lv_image_event()
662 int32_t h = lv_obj_get_height(obj); in lv_image_event()
728 …lv_image_buf_get_transformed_area(&a, lv_obj_get_width(obj), lv_obj_get_height(obj), 0, img->scale… in draw_image()
824 int32_t h = lv_obj_get_height(obj); in scale_update()
862 int32_t scale_y = lv_obj_get_height(obj) * LV_SCALE_NONE / img->h; in update_align()
/lvgl-latest/examples/widgets/spinbox/
Dlv_example_spinbox_1.c31 int32_t h = lv_obj_get_height(spinbox); in lv_example_spinbox_1()
/lvgl-latest/src/others/gridnav/
Dlv_gridnav.c190 int32_t d = lv_obj_get_height(dsc->focused_obj) / 4; in gridnav_event_cb()
209 int32_t d = lv_obj_get_height(dsc->focused_obj) / 4; in gridnav_event_cb()
298 int32_t h_half = lv_obj_get_height(start_child) / 2; in find_chid()
299 …int32_t h_max = lv_obj_get_height(obj) + lv_obj_get_scroll_top(obj) + lv_obj_get_scroll_bottom(obj… in find_chid()
/lvgl-latest/src/widgets/win/
Dlv_win.c97 lv_obj_set_size(obj, lv_obj_get_width(parent), lv_obj_get_height(parent)); in lv_win_constructor()
/lvgl-latest/examples/scroll/
Dlv_example_scroll_6.c12 int32_t r = lv_obj_get_height(cont) * 7 / 10; in scroll_event_cb()
/lvgl-latest/src/widgets/slider/
Dlv_slider.c326 …int32_t knob_size = LV_MIN(lv_obj_get_width(obj) + 2 * trans_w, lv_obj_get_height(obj) + 2 * trans… in lv_slider_event()
383 knob_size = lv_obj_get_height(obj); in draw_knob()
463 …bar.orientation == LV_BAR_ORIENTATION_AUTO) return lv_obj_get_width(obj) >= lv_obj_get_height(obj); in is_slider_horizontal()
589 const int32_t h = lv_obj_get_height(obj); in update_knob_pos()
/lvgl-latest/src/layouts/grid/
Dlv_grid.c410 size = LV_MAX(size, lv_obj_get_height(item)); in calc_rows()
534 …y = c->y[row_pos] + row_h - lv_obj_get_height(item) - lv_obj_get_style_margin_bottom(item, LV_PART… in item_repos()
540 if(lv_obj_get_width(item) != item_w || lv_obj_get_height(item) != item_h) { in item_repos()
556 int32_t h = lv_obj_get_height(item); in item_repos()
/lvgl-latest/src/widgets/calendar/
Dlv_calendar_header_arrow.c82 int32_t btn_size = lv_obj_get_height(mo_prev); in my_constructor()
/lvgl-latest/demos/flex_layout/
Dlv_demo_flex_layout_ctrl_pad.c100 value = lv_obj_get_height(obj); in ctrl_pad_obj_update()
/lvgl-latest/demos/keypad_encoder/
Dlv_demo_keypad_encoder.c129 if(lv_obj_get_height(list) > lv_obj_get_content_height(parent)) { in selectors_create()
/lvgl-latest/examples/widgets/chart/
Dlv_example_chart_5.c76 int32_t full_h = lv_obj_get_height(obj); in add_faded_area()
/lvgl-latest/src/libs/barcode/
Dlv_barcode.c147 buf_h = (barcode->direction == LV_DIR_VER) ? barcode_w * scale : lv_obj_get_height(obj); in lv_barcode_update()
/lvgl-latest/src/widgets/line/
Dlv_line.c246 int32_t h = lv_obj_get_height(obj); in lv_line_event()
/lvgl-latest/src/widgets/roller/
Dlv_roller.c551 int32_t roller_h = lv_obj_get_height(obj); in draw_main()
558 int32_t remain_h = lv_obj_get_height(label) - normal_label_font->line_height; in draw_main()
654 sel_area->y1 = obj->coords.y1 + lv_obj_get_height(obj) / 2 - d / 2; in get_sel_area()
/lvgl-latest/src/widgets/switch/
Dlv_switch.c216 int32_t knob_size = lv_obj_get_height(obj); in draw_main()
/lvgl-latest/src/layouts/flex/
Dlv_flex.c454 int32_t h = lv_obj_get_height(item); in children_repos()
548 + lv_obj_get_height(obj) in lv_obj_get_height_with_margin()
/lvgl-latest/demos/stress/
Dlv_demo_stress.c200 lv_anim_set_values(&a, LV_VER_RES, LV_VER_RES - lv_obj_get_height(obj)); in obj_test_task_cb()

12