Home
last modified time | relevance | path

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

/lvgl-3.7.0/src/core/
Dlv_obj_scroll.c263 lv_coord_t x_bounded = x_current + dx; in lv_obj_scroll_by_bounded() local
266 if(x_bounded > 0) x_bounded = 0; in lv_obj_scroll_by_bounded()
267 if(x_bounded < 0) { in lv_obj_scroll_by_bounded()
271 if(x_bounded < -scroll_max) x_bounded = -scroll_max; in lv_obj_scroll_by_bounded()
275 if(x_bounded < 0) x_bounded = 0; in lv_obj_scroll_by_bounded()
276 if(x_bounded > 0) { in lv_obj_scroll_by_bounded()
280 if(x_bounded > scroll_max) x_bounded = scroll_max; in lv_obj_scroll_by_bounded()
295 dx = x_bounded - x_current; in lv_obj_scroll_by_bounded()