Home
last modified time | relevance | path

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

/lvgl-2.7.6/src/lv_widgets/
Dlv_win.h274 static inline void lv_win_scroll_hor(lv_obj_t * win, lv_coord_t dist) in lv_win_scroll_hor() argument
277 lv_page_scroll_hor(ext->page, dist); in lv_win_scroll_hor()
284 static inline void lv_win_scroll_ver(lv_obj_t * win, lv_coord_t dist) in lv_win_scroll_ver() argument
287 lv_page_scroll_ver(ext->page, dist); in lv_win_scroll_ver()
Dlv_page.h399 void lv_page_scroll_hor(lv_obj_t * page, lv_coord_t dist);
406 void lv_page_scroll_ver(lv_obj_t * page, lv_coord_t dist);
Dlv_page.c576 void lv_page_scroll_hor(lv_obj_t * page, lv_coord_t dist) in lv_page_scroll_hor() argument
585 lv_anim_set_values(&a, lv_obj_get_x(scrl), lv_obj_get_x(scrl) + dist); in lv_page_scroll_hor()
589 lv_obj_set_x(scrl, lv_obj_get_x(scrl) + dist); in lv_page_scroll_hor()
598 void lv_page_scroll_ver(lv_obj_t * page, lv_coord_t dist) in lv_page_scroll_ver() argument
607 lv_anim_set_values(&a, lv_obj_get_y(scrl), lv_obj_get_y(scrl) + dist); in lv_page_scroll_ver()
611 lv_obj_set_y(scrl, lv_obj_get_y(scrl) + dist); in lv_page_scroll_ver()
/lvgl-2.7.6/src/lv_misc/
Dlv_area.c402 int32_t dist = (px * px) + (py * py); in lv_point_within_circle() local
404 if(dist <= r_sqrd) in lv_point_within_circle()
/lvgl-2.7.6/src/lv_draw/
Dlv_draw_mask.c782 int32_t dist = (end_angle_first - start_angle_last) >> 1; in lv_draw_mask_angle() local
787 int32_t tmp = start_angle_last + dist - rel_x; in lv_draw_mask_angle()
824 int32_t dist = (end_angle_first - start_angle_last) >> 1; in lv_draw_mask_angle() local
829 int32_t tmp = start_angle_last + dist - rel_x; in lv_draw_mask_angle()