Home
last modified time | relevance | path

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

/lvgl-latest/src/core/
Dlv_obj_scroll.c272 int32_t scroll_max = lv_obj_get_scroll_left(obj) + lv_obj_get_scroll_right(obj); in lv_obj_scroll_by_bounded() local
273 if(scroll_max < 0) scroll_max = 0; in lv_obj_scroll_by_bounded()
275 if(x_bounded < -scroll_max) x_bounded = -scroll_max; in lv_obj_scroll_by_bounded()
281 int32_t scroll_max = lv_obj_get_scroll_left(obj) + lv_obj_get_scroll_right(obj); in lv_obj_scroll_by_bounded() local
282 if(scroll_max < 0) scroll_max = 0; in lv_obj_scroll_by_bounded()
284 if(x_bounded > scroll_max) x_bounded = scroll_max; in lv_obj_scroll_by_bounded()
294 int32_t scroll_max = lv_obj_get_scroll_top(obj) + lv_obj_get_scroll_bottom(obj); in lv_obj_scroll_by_bounded() local
295 if(scroll_max < 0) scroll_max = 0; in lv_obj_scroll_by_bounded()
296 if(y_bounded < -scroll_max) y_bounded = -scroll_max; in lv_obj_scroll_by_bounded()