Searched refs:elastic_diff (Results 1 – 1 of 1) sorted by relevance
/lvgl-3.7.0/src/core/ |
D | lv_indev_scroll.c | 31 static lv_coord_t elastic_diff(lv_obj_t * scroll_obj, lv_coord_t diff, lv_coord_t scroll_start, lv_… 86 diff_x = elastic_diff(scroll_obj, proc->types.pointer.vect.x, sl, sr, LV_DIR_HOR); in _lv_indev_scroll_handler() 91 diff_y = elastic_diff(scroll_obj, proc->types.pointer.vect.y, st, sb, LV_DIR_VER); in _lv_indev_scroll_handler() 136 …proc->types.pointer.scroll_throw_vect.y = elastic_diff(scroll_obj, proc->types.pointer.scroll_thro… in _lv_indev_scroll_throw_handler() 160 …proc->types.pointer.scroll_throw_vect.x = elastic_diff(scroll_obj, proc->types.pointer.scroll_thro… in _lv_indev_scroll_throw_handler() 606 static lv_coord_t elastic_diff(lv_obj_t * scroll_obj, lv_coord_t diff, lv_coord_t scroll_start, lv_… in elastic_diff() function
|