Searched refs:elastic_diff (Results 1 – 1 of 1) sorted by relevance
/lvgl-latest/src/indev/ |
D | lv_indev_scroll.c | 31 static int32_t elastic_diff(lv_obj_t * scroll_obj, int32_t diff, int32_t scroll_start, int32_t scro… 101 diff_x = elastic_diff(scroll_obj, indev->pointer.vect.x, sl, sr, LV_DIR_HOR); in lv_indev_scroll_handler() 106 diff_y = elastic_diff(scroll_obj, indev->pointer.vect.y, st, sb, LV_DIR_VER); in lv_indev_scroll_handler() 150 …indev->pointer.scroll_throw_vect.y = elastic_diff(scroll_obj, indev->pointer.scroll_throw_vect.y, … in lv_indev_scroll_throw_handler() 176 …indev->pointer.scroll_throw_vect.x = elastic_diff(scroll_obj, indev->pointer.scroll_throw_vect.x, … in lv_indev_scroll_throw_handler() 641 static int32_t elastic_diff(lv_obj_t * scroll_obj, int32_t diff, int32_t scroll_start, int32_t scro… in elastic_diff() function
|