Home
last modified time | relevance | path

Searched refs:lv_obj_get_content_width (Results 1 – 19 of 19) sorted by relevance

/lvgl-latest/demos/benchmark/
Dlv_demo_benchmark.c140 int32_t hor_cnt = ((int32_t)lv_obj_get_content_width(scr)) / 160; in multiple_rgb_images_cb()
167 int32_t hor_cnt = ((int32_t)lv_obj_get_content_width(scr)) / 160; in multiple_argb_images_cb()
194 …int32_t hor_cnt = ((int32_t)lv_obj_get_content_width(scr)) / 240; /*240 instead of 160 to have l… in rotated_argb_image_cb()
230 int32_t hor_cnt = ((int32_t)lv_obj_get_content_width(scr)) / (s.x * 3 / 2); in multiple_labels_cb()
283 int32_t hor_cnt = ((int32_t)lv_obj_get_content_width(scr)) / 160; in multiple_arcs_cb()
318 int32_t hor_cnt = ((int32_t)lv_obj_get_content_width(scr)) / 350; in containers_cb()
342 int32_t hor_cnt = ((int32_t)lv_obj_get_content_width(scr)) / 350; in containers_with_overlay_cb()
369 int32_t hor_cnt = ((int32_t)lv_obj_get_content_width(scr)) / 350; in containers_with_opa_cb()
394 int32_t hor_cnt = ((int32_t)lv_obj_get_content_width(scr)) / 350; in containers_with_opa_layer_cb()
419 int32_t hor_cnt = ((int32_t)lv_obj_get_content_width(scr)) / 400; in containers_with_scrolling_cb()
[all …]
/lvgl-latest/src/widgets/tileview/
Dlv_tileview.c102 int32_t w = lv_obj_get_content_width(tv); in lv_tileview_set_tile_by_index()
163 int32_t w = lv_obj_get_content_width(obj); in tileview_event_cb()
/lvgl-latest/src/core/
Dlv_obj_pos.c108 int32_t parent_w = lv_obj_get_content_width(parent); 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()
557 int32_t lv_obj_get_content_width(const lv_obj_t * obj) in lv_obj_get_content_width() function
627 int32_t pw = lv_obj_get_content_width(parent); in lv_obj_refr_pos()
Dlv_obj_pos.h309 int32_t lv_obj_get_content_width(const lv_obj_t * obj);
Dlv_obj.c93 .getter = lv_obj_get_content_width,
/lvgl-latest/src/widgets/tabview/
Dlv_tabview.c130 int32_t w = lv_obj_get_content_width(cont); in lv_tabview_set_active()
332 int32_t w = lv_obj_get_content_width(cont); in cont_scroll_end_event_cb()
/lvgl-latest/tests/src/test_cases/widgets/
Dtest_bar.c75 int32_t indicator_part_width = lv_obj_get_content_width(g_bar); in test_bar_should_update_indicator_right_coordinate_based_on_bar_value()
129 int32_t indicator_part_width = lv_obj_get_content_width(g_bar); in test_bar_rtl_should_update_indicator_left_coordinate_based_on_bar_value()
/lvgl-latest/src/widgets/chart/
Dlv_chart.c226 int32_t w = lv_obj_get_content_width(obj); in lv_chart_get_point_pos_by_id()
603 int32_t w = lv_obj_get_content_width(obj); in lv_chart_get_first_point_center_offset()
738 int32_t w = lv_obj_get_content_width(obj); in draw_div_lines()
813 int32_t w = lv_obj_get_content_width(obj); in draw_series_line()
968 int32_t w = lv_obj_get_content_width(obj); in draw_series_scatter()
1090 int32_t w = lv_obj_get_content_width(obj); in draw_series_bar()
1272 int32_t w = lv_obj_get_content_width(obj); in get_index_from_x()
1289 int32_t w = lv_obj_get_content_width(obj); in invalidate_point()
/lvgl-latest/src/layouts/flex/
Dlv_flex.c145 …int32_t max_main_size = (f.row ? lv_obj_get_content_width(cont) : lv_obj_get_content_height(cont)); in flex_update()
189 …nt32_t max_cross_size = (f.row ? lv_obj_get_content_height(cont) : lv_obj_get_content_width(cont)); in flex_update()
387 if(f->row && rtl) main_pos += lv_obj_get_content_width(cont); in children_repos()
/lvgl-latest/src/widgets/span/
Dlv_span.c563 const int32_t width = lv_obj_get_content_width(obj); in lv_spangroup_get_span_coords()
590 const int32_t width = lv_obj_get_content_width(obj); in lv_spangroup_get_span_by_point()
691 width = lv_obj_get_content_width(obj); in lv_spangroup_event()
705 width = self_size->x >= 0 ? lv_obj_get_content_width(obj) : 0; in lv_spangroup_event()
/lvgl-latest/src/layouts/grid/
Dlv_grid.c251 int32_t cont_w = lv_obj_get_content_width(cont); in calc()
299 int32_t cont_w = lv_obj_get_content_width(cont); in calc_cols()
/lvgl-latest/src/widgets/label/
Dlv_label.c317 pos->x = lv_obj_get_content_width(obj); in lv_label_get_letter_pos()
320 pos->x = lv_obj_get_content_width(obj) / 2; in lv_label_get_letter_pos()
785 else w = lv_obj_get_content_width(obj); in lv_label_event()
/lvgl-latest/src/widgets/roller/
Dlv_roller.c679 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/demos/ebike/
Dlv_demo_ebike_home.c352 int32_t w = lv_obj_get_content_width(main_cont); in bullet_scroll_event_cb()
/lvgl-latest/demos/high_res/
Dlv_demo_high_res_app_smart_meter.c364 int32_t w = lv_obj_get_content_width(obj) / lv_chart_get_point_count(obj); in widget2_chart_event_draw_task_cb()
/lvgl-latest/src/widgets/buttonmatrix/
Dlv_buttonmatrix.c119 int32_t max_w = lv_obj_get_content_width(obj); in lv_buttonmatrix_set_map()
/lvgl-latest/docs/details/base-widget/
Dcoord.rst340 int32_t content_w = lv_obj_get_content_width(widget);
/lvgl-latest/src/widgets/textarea/
Dlv_textarea.c491 int32_t w = lv_obj_get_content_width(obj); in lv_textarea_set_cursor_pos()
/lvgl-latest/demos/widgets/
Dlv_demo_widgets.c946 lv_obj_set_width(chart3, lv_obj_get_content_width(panel1) - 20); in shop_create()