/lvgl-latest/tests/src/test_cases/widgets/ |
D | test_win.c | 108 TEST_ASSERT_EQUAL(win_button_width, lv_obj_get_width(btn)); in test_win_add_button() 140 TEST_ASSERT_EQUAL(win_button_width, lv_obj_get_width(btn)); in test_win_add_multiple_elements() 150 TEST_ASSERT_EQUAL(win_button_width, lv_obj_get_width(btn)); in test_win_add_multiple_elements() 155 TEST_ASSERT_EQUAL(win_button_close_width, lv_obj_get_width(btn)); in test_win_add_multiple_elements()
|
D | test_textarea.c | 54 int32_t line_width = lv_obj_get_width(txt_ptr->label); in test_textarea_should_update_label_style_with_one_line_enabled() 58 TEST_ASSERT_EQUAL_UINT16(expected_size, lv_obj_get_width(txt_ptr->label)); in test_textarea_should_update_label_style_with_one_line_enabled()
|
D | test_slider.c | 38 int32_t objw = lv_obj_get_width(slider); in test_textarea_should_have_valid_documented_default_values()
|
/lvgl-latest/src/core/ |
D | lv_obj_pos.c | 102 w = lv_obj_get_width(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() 357 x = lv_obj_get_content_width(base) / 2 - lv_obj_get_width(obj) / 2 + bleft; in lv_obj_align_to() 367 x = lv_obj_get_content_width(base) / 2 - lv_obj_get_width(obj) / 2 + bleft; in lv_obj_align_to() 372 x = lv_obj_get_content_width(base) - lv_obj_get_width(obj) + bleft; in lv_obj_align_to() 381 x = lv_obj_get_content_width(base) / 2 - lv_obj_get_width(obj) / 2 + bleft; in lv_obj_align_to() 386 x = lv_obj_get_content_width(base) - lv_obj_get_width(obj) + bleft; in lv_obj_align_to() 396 x = lv_obj_get_content_width(base) - lv_obj_get_width(obj) + bleft; in lv_obj_align_to() 406 x = lv_obj_get_width(base) / 2 - lv_obj_get_width(obj) / 2; in lv_obj_align_to() 411 x = lv_obj_get_width(base) - lv_obj_get_width(obj); in lv_obj_align_to() [all …]
|
D | lv_obj_pos.h | 291 int32_t lv_obj_get_width(const lv_obj_t * obj);
|
D | lv_obj_scroll.c | 201 self_w = self_w - (lv_obj_get_width(obj) - space_right - space_left); in lv_obj_get_scroll_left() 239 self_w = self_w - (lv_obj_get_width(obj) - space_right - space_left); in lv_obj_get_scroll_right() 516 int32_t obj_w = lv_obj_get_width(obj); in lv_obj_get_scrollbar_area() 780 int32_t parent_w = lv_obj_get_width(parent) - sleft - sright; in scroll_area_into_view()
|
D | lv_obj.c | 83 .getter = lv_obj_get_width, 795 … lv_obj_scroll_to_x(obj, lv_obj_get_scroll_x(obj) + lv_obj_get_width(obj) / 4, anim_enable); in lv_obj_event() 802 … lv_obj_scroll_to_x(obj, lv_obj_get_scroll_x(obj) - lv_obj_get_width(obj) / 4, anim_enable); in lv_obj_event()
|
/lvgl-latest/src/others/snapshot/ |
D | lv_snapshot.c | 50 int32_t w = lv_obj_get_width(obj); in lv_snapshot_create_draw_buf() 63 int32_t w = lv_obj_get_width(obj); in lv_snapshot_reshape_draw_buf()
|
/lvgl-latest/src/widgets/image/ |
D | lv_image.c | 286 int32_t w = lv_obj_get_width(obj); in lv_image_set_rotation() 328 int32_t w = lv_obj_get_width(obj); in lv_image_set_pivot() 584 img->w = lv_obj_get_width(obj); in lv_image_constructor() 643 int32_t w = lv_obj_get_width(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() 661 int32_t w = lv_obj_get_width(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() 823 int32_t w = lv_obj_get_width(obj); in scale_update() 861 int32_t scale_x = lv_obj_get_width(obj) * LV_SCALE_NONE / img->w; in update_align()
|
/lvgl-latest/tests/src/test_cases/libs/ |
D | test_freetype.c | 453 lv_obj_set_width(label0, lv_obj_get_width(lv_screen_active()) - 20); in test_freetype_bitmap_rendering_test() 459 lv_obj_set_width(label1, lv_obj_get_width(lv_screen_active()) - 20); in test_freetype_bitmap_rendering_test() 465 lv_obj_set_width(label2, lv_obj_get_width(lv_screen_active()) - 20); in test_freetype_bitmap_rendering_test() 475 lv_obj_set_width(label_emoji, lv_obj_get_width(lv_screen_active()) - 20); in test_freetype_bitmap_rendering_test()
|
/lvgl-latest/examples/anim/ |
D | lv_example_anim_1.c | 28 lv_anim_set_values(&a, lv_obj_get_x(label), -lv_obj_get_width(label)); in sw_event_cb()
|
D | lv_example_anim_4.c | 35 lv_anim_set_values(&a, lv_obj_get_x(label), -lv_obj_get_width(label)); in sw_event_cb()
|
/lvgl-latest/src/widgets/win/ |
D | lv_win.c | 97 lv_obj_set_size(obj, lv_obj_get_width(parent), lv_obj_get_height(parent)); in lv_win_constructor()
|
/lvgl-latest/src/widgets/slider/ |
D | lv_slider.c | 326 …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() 389 knob_size = lv_obj_get_width(obj); in draw_knob() 463 …if(slider->bar.orientation == LV_BAR_ORIENTATION_AUTO) return lv_obj_get_width(obj) >= lv_obj_get_… in is_slider_horizontal() 570 const int32_t w = lv_obj_get_width(obj); in update_knob_pos()
|
/lvgl-latest/src/layouts/grid/ |
D | lv_grid.c | 321 size = LV_MAX(size, lv_obj_get_width(item)); in calc_cols() 512 …x = c->x[col_pos] + col_w - lv_obj_get_width(item) - lv_obj_get_style_margin_right(item, LV_PART_M… in item_repos() 540 if(lv_obj_get_width(item) != item_w || lv_obj_get_height(item) != item_h) { in item_repos() 555 int32_t w = lv_obj_get_width(item); in item_repos()
|
/lvgl-latest/demos/flex_layout/ |
D | lv_demo_flex_layout_ctrl_pad.c | 96 int32_t value = lv_obj_get_width(obj); in ctrl_pad_obj_update()
|
/lvgl-latest/src/others/gridnav/ |
D | lv_gridnav.c | 150 int32_t d = lv_obj_get_width(dsc->focused_obj) / 4; in gridnav_event_cb() 170 int32_t d = lv_obj_get_width(dsc->focused_obj) / 4; in gridnav_event_cb()
|
/lvgl-latest/src/widgets/roller/ |
D | lv_roller.c | 500 int32_t label_w = lv_obj_get_width(label); in lv_roller_label_event() 548 label_dsc.line_space, lv_obj_get_width(obj), LV_TEXT_FLAG_EXPAND); in draw_main() 679 x = (lv_obj_get_content_width(obj) - lv_obj_get_width(label)) / 2; in refr_position() 682 x = lv_obj_get_content_width(obj) - lv_obj_get_width(label); in refr_position()
|
/lvgl-latest/examples/others/observer/ |
D | lv_example_observer_4.c | 192 lv_obj_set_width(indicator, lv_obj_get_width(btn_act)); in indicator_observer_cb()
|
/lvgl-latest/src/libs/barcode/ |
D | lv_barcode.c | 146 buf_w = (barcode->direction == LV_DIR_HOR) ? barcode_w * scale : lv_obj_get_width(obj); in lv_barcode_update()
|
/lvgl-latest/src/widgets/line/ |
D | lv_line.c | 245 int32_t w = lv_obj_get_width(obj); in lv_line_event()
|
/lvgl-latest/src/widgets/switch/ |
D | lv_switch.c | 236 int32_t knob_size = lv_obj_get_width(obj); in draw_main()
|
/lvgl-latest/src/layouts/flex/ |
D | lv_flex.c | 453 int32_t w = lv_obj_get_width(item); in children_repos() 541 + lv_obj_get_width(obj) in lv_obj_get_width_with_margin()
|
/lvgl-latest/demos/multilang/ |
D | lv_demo_multilang.c | 272 int32_t w = lv_obj_get_width(cont); in scroll_event_cb()
|
/lvgl-latest/demos/widgets/ |
D | lv_demo_widgets.c | 677 scale_w = lv_obj_get_width(scale1); in analytics_create() 1101 int32_t max_w = lv_obj_get_width(lv_obj_get_parent(obj)) - LV_DPX(20); in color_changer_anim_cb() 1128 if(lv_obj_get_width(color_cont) < LV_HOR_RES / 2) { in color_changer_event_cb() 1155 if(lv_obj_get_width(color_cont) < LV_HOR_RES / 2) { in color_event_cb() 1629 int32_t width = lv_obj_get_width(scale3); in scale3_size_changed_event_cb()
|