Home
last modified time | relevance | path

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

/lvgl-3.7.0/src/core/
Dlv_obj_scroll.c737 lv_coord_t x_scroll = 0; in scroll_area_into_view() local
746 if((left_diff >= 0 && right_diff >= 0)) x_scroll = 0; in scroll_area_into_view()
748 x_scroll = left_diff; in scroll_area_into_view()
751 if(sl - x_scroll < 0) x_scroll = 0; in scroll_area_into_view()
754 x_scroll = -right_diff; in scroll_area_into_view()
757 if(sr + x_scroll < 0) x_scroll = 0; in scroll_area_into_view()
764 act = area_tmp->x1 + x_scroll; in scroll_area_into_view()
765 x_scroll += snap_goal - act; in scroll_area_into_view()
769 act = area_tmp->x2 + x_scroll; in scroll_area_into_view()
770 x_scroll += snap_goal - act; in scroll_area_into_view()
[all …]