Home
last modified time | relevance | path

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

/lvgl-3.4.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()
682 lv_coord_t ptop = lv_obj_get_style_pad_top(obj, LV_PART_MAIN); in draw_main() local
759 … if(btn_area.y1 == obj->coords.y1 + ptop) draw_rect_dsc_act.border_side &= ~LV_BORDER_SIDE_TOP; in draw_main()
931 lv_coord_t ptop = lv_obj_get_style_pad_top(obj, LV_PART_MAIN); in get_button_from_point() local
943 ptop = LV_MIN(ptop, BTN_EXTRA_CLICK_AREA_MAX); in get_button_from_point()
951 … 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.c605 lv_coord_t ptop = lv_obj_get_style_pad_top(obj, LV_PART_MAIN) + border_width; in draw_img() local
610 bg_pivot.y = img->pivot.y + ptop; in draw_img()
660 img_max_area.y1 += ptop; in draw_img()
677 img_clip_area.y1 = bg_coords.y1 + ptop; in draw_img()
/lvgl-3.4.0/src/core/
Dlv_obj_scroll.c698 lv_coord_t ptop = lv_obj_get_style_pad_top(parent, LV_PART_MAIN) + border_width; in scroll_area_into_view() local
700 lv_coord_t top_diff = parent->coords.y1 + ptop - area_tmp->y1 - scroll_value->y; in scroll_area_into_view()
702 lv_coord_t parent_h = lv_obj_get_height(parent) - ptop - pbottom; in scroll_area_into_view()
719 snap_goal = parent->coords.y1 + ptop; in scroll_area_into_view()
729 snap_goal = parent->coords.y1 + ptop + parent_h / 2; in scroll_area_into_view()
Dlv_obj_pos.c257 lv_coord_t ptop = lv_obj_get_style_pad_top(obj, LV_PART_MAIN); in lv_obj_set_content_height() local
261 lv_obj_set_height(obj, h + ptop + pbottom + 2 * border_width); in lv_obj_set_content_height()
357 lv_coord_t ptop = lv_obj_get_style_pad_top(parent, LV_PART_MAIN) + pborder; in lv_obj_align_to() local
478 y += y_ofs + base->coords.y1 - parent->coords.y1 + lv_obj_get_scroll_top(parent) - ptop; in lv_obj_align_to()