Home
last modified time | relevance | path

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

/lvgl-3.7.0/src/core/
Dlv_obj_scroll.c690 lv_coord_t snap_goal = 0; in scroll_area_into_view() local
721 snap_goal = parent->coords.y1 + ptop; in scroll_area_into_view()
723 y_scroll += snap_goal - act; in scroll_area_into_view()
726 snap_goal = parent->coords.y2 - pbottom; in scroll_area_into_view()
728 y_scroll += snap_goal - act; in scroll_area_into_view()
731 snap_goal = parent->coords.y1 + ptop + parent_h / 2; in scroll_area_into_view()
733 y_scroll += snap_goal - act; in scroll_area_into_view()
763 snap_goal = parent->coords.x1 + pleft; in scroll_area_into_view()
765 x_scroll += snap_goal - act; in scroll_area_into_view()
768 snap_goal = parent->coords.x2 - pright; in scroll_area_into_view()
[all …]