Home
last modified time | relevance | path

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

/lvgl-3.5.0/src/widgets/
Dlv_btnmatrix.c109 lv_coord_t prow = lv_obj_get_style_pad_row(obj, LV_PART_MAIN); in lv_btnmatrix_set_map() local
116 lv_coord_t max_h_no_gap = max_h - (prow * (btnm->row_cnt - 1)); in lv_btnmatrix_set_map()
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()
930 lv_coord_t prow = lv_obj_get_style_pad_row(obj, LV_PART_MAIN); in get_button_from_point() local
934 prow = (prow / 2) + 1 + (prow & 1); in get_button_from_point()
937 prow = LV_MIN(prow, BTN_EXTRA_CLICK_AREA_MAX); in get_button_from_point()
949 else btn_area.y1 += obj_cords.y1 - prow; in get_button_from_point()
957 else btn_area.y2 += obj_cords.y1 + prow; in get_button_from_point()