Home
last modified time | relevance | path

Searched refs:pad_top (Results 1 – 6 of 6) sorted by relevance

/lvgl-3.7.0/src/core/
Dlv_indev_scroll.c514 lv_coord_t pad_top = lv_obj_get_style_pad_top(obj, LV_PART_MAIN); in find_snap_point_y() local
528 y_parent = obj->coords.y1 + pad_top; in find_snap_point_y()
536 …y_parent = obj->coords.y1 + pad_top + (lv_area_get_height(&obj->coords) - pad_top - pad_bottom) / … in find_snap_point_y()
639 lv_coord_t pad_top = lv_obj_get_style_pad_top(scroll_obj, LV_PART_MAIN); in elastic_diff() local
644 …snap_point = pad_top + (lv_area_get_height(&scroll_obj->coords) - pad_top - pad_bottom) / 2 + scro… in elastic_diff()
648 snap_point = scroll_obj->coords.y1 + pad_top; in elastic_diff()
Dlv_obj_pos.c714 lv_coord_t pad_top = lv_obj_get_style_pad_top(parent, LV_PART_MAIN); in lv_obj_move_to() local
718 y += pad_top + parent->coords.y1; in lv_obj_move_to()
722 y += pad_top + parent->coords.y1 - lv_obj_get_scroll_y(parent); in lv_obj_move_to()
1077 lv_coord_t pad_top = lv_obj_get_style_pad_top(obj, LV_PART_MAIN) + border_width; in calc_content_height() local
1081 self_h = lv_obj_get_self_height(obj) + pad_top + pad_bottom; in calc_content_height()
1104 child_res = LV_MAX(child_res, lv_area_get_height(&child->coords) + pad_top); in calc_content_height()
Dlv_obj_scroll.c147 lv_coord_t pad_top = lv_obj_get_style_pad_top(obj, LV_PART_MAIN); in lv_obj_get_scroll_bottom() local
156 self_h = self_h - (lv_obj_get_height(obj) - pad_top - pad_bottom - 2 * border_width); in lv_obj_get_scroll_bottom()
/lvgl-3.7.0/src/extra/widgets/chart/
Dlv_chart.c778 lv_coord_t pad_top = lv_obj_get_style_pad_top(obj, LV_PART_MAIN) + border_width; in draw_div_lines() local
804 lv_coord_t y_ofs = obj->coords.y1 + pad_top - scroll_top; in draw_div_lines()
884 lv_coord_t pad_top = lv_obj_get_style_pad_top(obj, LV_PART_MAIN) + border_width; in draw_series_line() local
888 lv_coord_t y_ofs = obj->coords.y1 + pad_top - lv_obj_get_scroll_top(obj); in draw_series_line()
1053 lv_coord_t pad_top = lv_obj_get_style_pad_top(obj, LV_PART_MAIN); in draw_series_scatter() local
1057 lv_coord_t y_ofs = obj->coords.y1 + pad_top + border_width - lv_obj_get_scroll_top(obj); in draw_series_scatter()
1193 lv_coord_t pad_top = lv_obj_get_style_pad_top(obj, LV_PART_MAIN); in draw_series_bar() local
1209 lv_coord_t y_ofs = pad_top - lv_obj_get_scroll_top(obj) + border_w; in draw_series_bar()
1402 lv_coord_t pad_top = lv_obj_get_style_pad_top(obj, LV_PART_MAIN); in draw_y_ticks() local
1404 lv_coord_t y_ofs = obj->coords.y1 + pad_top + border_width - lv_obj_get_scroll_top(obj); in draw_y_ticks()
/lvgl-3.7.0/src/extra/layouts/grid/
Dlv_grid.c356 lv_coord_t pad_top = lv_obj_get_style_pad_top(cont, LV_PART_MAIN) + border_widt; in grid_update() local
358 hint.grid_abs.y = pad_top + cont->coords.y1 - lv_obj_get_scroll_y(cont); in grid_update()
/lvgl-3.7.0/docs/overview/
Dstyle-props.md162 ### pad_top subsection