Lines Matching refs:sr
84 lv_coord_t sr = lv_obj_get_scroll_right(scroll_obj); in _lv_indev_scroll_handler() local
86 diff_x = elastic_diff(scroll_obj, proc->types.pointer.vect.x, sl, sr, LV_DIR_HOR); in _lv_indev_scroll_handler()
158 lv_coord_t sr = lv_obj_get_scroll_right(scroll_obj); in _lv_indev_scroll_throw_handler() local
160 …ter.scroll_throw_vect.x = elastic_diff(scroll_obj, proc->types.pointer.scroll_throw_vect.x, sl, sr, in _lv_indev_scroll_throw_handler()
195 lv_coord_t sr = lv_obj_get_scroll_right(scroll_obj); in _lv_indev_scroll_throw_handler() local
196 if(sl > 0 || sr > 0) { in _lv_indev_scroll_throw_handler()
200 else if(sr < 0) { in _lv_indev_scroll_throw_handler()
201 lv_obj_scroll_by(scroll_obj, -sr, 0, LV_ANIM_ON); in _lv_indev_scroll_throw_handler()
331 lv_coord_t sr = lv_obj_get_scroll_right(obj_act); in find_scroll_obj() local
344 if((sl > 0 || sr > 0) && in find_scroll_obj()
354 if(sr <= 0) right_en = false; in find_scroll_obj()