Home
last modified time | relevance | path

Searched refs:lv_obj_get_style_pad_right (Results 1 – 21 of 21) sorted by relevance

/lvgl-latest/examples/scroll/
Dlv_example_scroll_3.c42 …lv_obj_align(float_btn, LV_ALIGN_BOTTOM_RIGHT, 0, -lv_obj_get_style_pad_right(list, LV_PART_MAIN)); in lv_example_scroll_3()
/lvgl-latest/src/widgets/checkbox/
Dlv_checkbox.c193 int32_t marker_rightp = lv_obj_get_style_pad_right(obj, LV_PART_INDICATOR); in lv_checkbox_event()
226 …int32_t bg_p = is_rtl ? lv_obj_get_style_pad_right(obj, LV_PART_MAIN) : lv_obj_get_style_pad_left(… in lv_checkbox_draw()
231 int32_t marker_rightp = lv_obj_get_style_pad_right(obj, LV_PART_INDICATOR); in lv_checkbox_draw()
/lvgl-latest/src/widgets/switch/
Dlv_switch.c153 int32_t knob_right = lv_obj_get_style_pad_right(obj, LV_PART_KNOB); in lv_switch_event()
257 int32_t knob_right = lv_obj_get_style_pad_right(obj, LV_PART_KNOB); in draw_main()
/lvgl-latest/src/widgets/slider/
Dlv_slider.c319 int32_t knob_right = lv_obj_get_style_pad_right(obj, LV_PART_KNOB); in lv_slider_event()
446 int32_t knob_right = lv_obj_get_style_pad_right(obj, LV_PART_KNOB); in position_knob()
569 const int32_t bg_right = lv_obj_get_style_pad_right(obj, LV_PART_MAIN); in update_knob_pos()
/lvgl-latest/src/widgets/arc/
Dlv_arc.c687 int32_t bg_right = lv_obj_get_style_pad_right(obj, LV_PART_MAIN); in lv_arc_event()
693 int32_t knob_right = lv_obj_get_style_pad_right(obj, LV_PART_KNOB); in lv_arc_event()
735 int32_t right_indic = lv_obj_get_style_pad_right(obj, LV_PART_INDICATOR); in lv_arc_draw()
817 int32_t right_bg = lv_obj_get_style_pad_right(obj, LV_PART_MAIN); in get_center()
867 int32_t right_knob = lv_obj_get_style_pad_right(obj, LV_PART_KNOB); in get_knob_area()
/lvgl-latest/src/widgets/table/
Dlv_table.c691 int32_t bg_right = lv_obj_get_style_pad_right(obj, LV_PART_MAIN); in draw_main()
822 const int32_t cell_right = lv_obj_get_style_pad_right(obj, LV_PART_ITEMS); in draw_main()
873 const int32_t cell_pad_right = lv_obj_get_style_pad_right(obj, LV_PART_ITEMS); in refr_size_form_row()
899 const int32_t cell_pad_right = lv_obj_get_style_pad_right(obj, LV_PART_ITEMS); in refr_cell_size()
1017 x = obj->coords.x2 - lv_obj_get_style_pad_right(obj, LV_PART_MAIN) - x; in get_pressed_cell()
1099 area->x2 = w - area->x1 - lv_obj_get_style_pad_right(obj, 0); in get_cell_area()
/lvgl-latest/src/widgets/scale/
Dlv_scale.c830 const int32_t pad_right = lv_obj_get_style_pad_right(obj, LV_PART_MAIN) + border_width; in scale_draw_main()
989 int32_t right_bg = lv_obj_get_style_pad_right(obj, LV_PART_MAIN); in scale_get_center()
1042 const int32_t pad_right = lv_obj_get_style_pad_right(obj, LV_PART_MAIN) + border_width; in scale_get_tick_points()
1044 const int32_t tick_pad_right = lv_obj_get_style_pad_right(obj, LV_PART_ITEMS); in scale_get_tick_points()
1212 label_coords->x1 = tick_point->x + lv_obj_get_style_pad_right(obj, LV_PART_INDICATOR); in scale_get_label_coords()
1213 …label_coords->x2 = tick_point->x + label_size.x + lv_obj_get_style_pad_right(obj, LV_PART_INDICATO… in scale_get_label_coords()
/lvgl-latest/tests/src/test_cases/widgets/
Dtest_textarea.c53 int32_t right_padding = lv_obj_get_style_pad_right(txt_ptr->label, LV_PART_MAIN); in test_textarea_should_update_label_style_with_one_line_enabled()
Dtest_bar.c130 int32_t right_padding = lv_obj_get_style_pad_right(g_bar, LV_PART_MAIN); in test_bar_rtl_should_update_indicator_left_coordinate_based_on_bar_value()
/lvgl-latest/src/core/
Dlv_obj_style.h266 int32_t padding = lv_obj_get_style_pad_right(obj, part); in lv_obj_get_style_space_right()
Dlv_obj_scroll.c511 int32_t right_space = lv_obj_get_style_pad_right(obj, LV_PART_SCROLLBAR); in lv_obj_get_scrollbar_area()
Dlv_obj_style_gen.h172 static inline int32_t lv_obj_get_style_pad_right(const lv_obj_t * obj, lv_part_t part) in lv_obj_get_style_pad_right() function
/lvgl-latest/src/indev/
Dlv_indev_scroll.c524 int32_t pad_right = lv_obj_get_style_pad_right(obj, LV_PART_MAIN); in find_snap_point_x()
721 int32_t pad_right = lv_obj_get_style_pad_right(scroll_obj, 0); in has_more_snap_points()
731 x = scroll_obj->coords.x2 - lv_obj_get_style_pad_right(scroll_obj, 0); in has_more_snap_points()
/lvgl-latest/src/widgets/bar/
Dlv_bar.c323 int32_t bg_right = lv_obj_get_style_pad_right(obj, LV_PART_MAIN); in draw_indic()
612 int32_t bg_right = lv_obj_get_style_pad_right(obj, LV_PART_MAIN); in lv_bar_event()
/lvgl-latest/demos/high_res/
Dlv_demo_high_res_home.c180 …lv_obj_set_style_pad_right(bottom_margin, lv_obj_get_style_pad_right(bottom_margin, 0) - c->sz->ga… in lv_demo_high_res_home()
/lvgl-latest/src/widgets/buttonmatrix/
Dlv_buttonmatrix.c707 int32_t pright = lv_obj_get_style_pad_right(obj, LV_PART_MAIN); in draw_main()
936 int32_t pright = lv_obj_get_style_pad_right(obj, LV_PART_MAIN); in get_button_from_point()
/lvgl-latest/src/widgets/span/
Dlv_span.c581 .x2 = lv_obj_get_style_pad_right(obj, LV_PART_MAIN) + border_width, .y2 = 0 in lv_spangroup_get_span_coords()
607 .x2 = lv_obj_get_style_pad_right(obj, LV_PART_MAIN), in lv_spangroup_get_span_by_point()
/lvgl-latest/src/widgets/textarea/
Dlv_textarea.c1225 int32_t right = lv_obj_get_style_pad_right(obj, LV_PART_CURSOR) + border_width; in refr_cursor_area()
1407 int32_t right = lv_obj_get_style_pad_right(obj, LV_PART_MAIN); in draw_placeholder()
/lvgl-latest/src/widgets/roller/
Dlv_roller.c574 int32_t pright = lv_obj_get_style_pad_right(obj, LV_PART_MAIN); in draw_main()
/lvgl-latest/src/widgets/dropdown/
Dlv_dropdown.c864 int32_t right = lv_obj_get_style_pad_right(obj, LV_PART_MAIN) + border_width; in draw_main()
/lvgl-latest/src/widgets/chart/
Dlv_chart.c782 …if((border_side & LV_BORDER_SIDE_RIGHT) && (lv_obj_get_style_pad_right(obj, LV_PART_MAIN) == 0)) i… in draw_div_lines()