Home
last modified time | relevance | path

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

/lvgl-3.7.0/src/core/
Dlv_obj_scroll.c694 lv_coord_t y_scroll = 0; in scroll_area_into_view() local
705 if((top_diff >= 0 && bottom_diff >= 0)) y_scroll = 0; in scroll_area_into_view()
707 y_scroll = top_diff; in scroll_area_into_view()
710 if(st - y_scroll < 0) y_scroll = 0; in scroll_area_into_view()
713 y_scroll = -bottom_diff; in scroll_area_into_view()
716 if(sb + y_scroll < 0) y_scroll = 0; in scroll_area_into_view()
722 act = area_tmp->y1 + y_scroll; in scroll_area_into_view()
723 y_scroll += snap_goal - act; in scroll_area_into_view()
727 act = area_tmp->y2 + y_scroll; in scroll_area_into_view()
728 y_scroll += snap_goal - act; in scroll_area_into_view()
[all …]