Home
last modified time | relevance | path

Searched refs:ptop (Results 1 – 4 of 4) sorted by relevance

/lvgl-3.7.0/src/widgets/
Dlv_btnmatrix.c108 lv_coord_t ptop = lv_obj_get_style_pad_top(obj, LV_PART_MAIN); in lv_btnmatrix_set_map() local
141 lv_coord_t row_y1 = ptop + (max_h_no_gap * row) / btnm->row_cnt + row * prow; in lv_btnmatrix_set_map()
142 lv_coord_t row_y2 = ptop + (max_h_no_gap * (row + 1)) / btnm->row_cnt + row * prow - 1; in lv_btnmatrix_set_map()
720 lv_coord_t ptop = lv_obj_get_style_pad_top(obj, LV_PART_MAIN); in draw_main() local
796 … if(btn_area.y1 == obj->coords.y1 + ptop) draw_rect_dsc_act.border_side &= ~LV_BORDER_SIDE_TOP; in draw_main()
968 lv_coord_t ptop = lv_obj_get_style_pad_top(obj, LV_PART_MAIN); in get_button_from_point() local
980 ptop = LV_MIN(ptop, BTN_EXTRA_CLICK_AREA_MAX); in get_button_from_point()
988 … if(btn_area.y1 <= ptop) btn_area.y1 += obj_cords.y1 - LV_MIN(ptop, BTN_EXTRA_CLICK_AREA_MAX); in get_button_from_point()
Dlv_img.c577 lv_coord_t ptop = lv_obj_get_style_pad_top(obj, LV_PART_MAIN) + border_width; in draw_img() local
582 bg_pivot.y = img->pivot.y + ptop; in draw_img()
632 img_max_area.y1 += ptop; in draw_img()
649 img_clip_area.y1 = bg_coords.y1 + ptop; in draw_img()
/lvgl-3.7.0/src/core/
Dlv_obj_scroll.c700 lv_coord_t ptop = lv_obj_get_style_pad_top(parent, LV_PART_MAIN) + border_width; in scroll_area_into_view() local
702 lv_coord_t top_diff = parent->coords.y1 + ptop - area_tmp->y1 - scroll_value->y; in scroll_area_into_view()
704 lv_coord_t parent_h = lv_obj_get_height(parent) - ptop - pbottom; in scroll_area_into_view()
721 snap_goal = parent->coords.y1 + ptop; in scroll_area_into_view()
731 snap_goal = parent->coords.y1 + ptop + parent_h / 2; in scroll_area_into_view()
Dlv_obj_pos.c260 lv_coord_t ptop = lv_obj_get_style_pad_top(obj, LV_PART_MAIN); in lv_obj_set_content_height() local
264 lv_obj_set_height(obj, h + ptop + pbottom + 2 * border_width); in lv_obj_set_content_height()
360 lv_coord_t ptop = lv_obj_get_style_pad_top(parent, LV_PART_MAIN) + pborder; in lv_obj_align_to() local
481 y += y_ofs + base->coords.y1 - parent->coords.y1 + lv_obj_get_scroll_top(parent) - ptop; in lv_obj_align_to()