Lines Matching refs:y

52         proc->types.pointer.scroll_sum.y += proc->types.pointer.vect.y;  in _lv_indev_scroll_handler()
64 if(proc->types.pointer.vect.x != 0 || proc->types.pointer.vect.y != 0) { in _lv_indev_scroll_handler()
76 diff_y = elastic_diff(scroll_obj, proc->types.pointer.vect.y, st, sb, LV_DIR_VER); in _lv_indev_scroll_handler()
90 proc->types.pointer.scroll_sum.y += diff_y; in _lv_indev_scroll_handler()
106 proc->types.pointer.scroll_throw_vect.y = 0; in _lv_indev_scroll_throw_handler()
117 proc->types.pointer.scroll_throw_vect.y = in _lv_indev_scroll_throw_handler()
118 proc->types.pointer.scroll_throw_vect.y * (100 - scroll_throw) / 100; in _lv_indev_scroll_throw_handler()
123 …proc->types.pointer.scroll_throw_vect.y = elastic_diff(scroll_obj, proc->types.pointer.scroll_thro… in _lv_indev_scroll_throw_handler()
126 lv_obj_scroll_by(scroll_obj, 0, proc->types.pointer.scroll_throw_vect.y, LV_ANIM_OFF); in _lv_indev_scroll_throw_handler()
131 proc->types.pointer.scroll_throw_vect.y = 0; in _lv_indev_scroll_throw_handler()
133 lv_coord_t y = find_snap_point_y(scroll_obj, LV_COORD_MIN, LV_COORD_MAX, diff_y); in _lv_indev_scroll_throw_handler() local
134 lv_obj_scroll_by(scroll_obj, 0, diff_y + y, LV_ANIM_ON); in _lv_indev_scroll_throw_handler()
138 proc->types.pointer.scroll_throw_vect.y = 0; in _lv_indev_scroll_throw_handler()
163 … if(proc->types.pointer.scroll_throw_vect.x == 0 && proc->types.pointer.scroll_throw_vect.y == 0) { in _lv_indev_scroll_throw_handler()
213 v = indev->proc.types.pointer.scroll_throw_vect_ori.y; in lv_indev_scroll_throw_predict()
235 p->y = find_snap_point_y(obj, obj->coords.y1, obj->coords.y2, 0); in lv_indev_scroll_get_snap_dist()
261 if(LV_ABS(proc->types.pointer.scroll_sum.x) > LV_ABS(proc->types.pointer.scroll_sum.y)) { in find_scroll_obj()
302 ((up_en && proc->types.pointer.scroll_sum.y >= scroll_limit) || in find_scroll_obj()
303 (down_en && proc->types.pointer.scroll_sum.y <= - scroll_limit))) { in find_scroll_obj()
323 (up_en && proc->types.pointer.scroll_sum.y >= scroll_limit) || in find_scroll_obj()
324 (down_en && proc->types.pointer.scroll_sum.y <= - scroll_limit)) { in find_scroll_obj()
342 proc->types.pointer.scroll_sum.y = 0; in find_scroll_obj()
508 lv_coord_t y = y_child - y_parent; in find_snap_point_y() local
509 if(LV_ABS(y) < LV_ABS(dist)) dist = y; in find_snap_point_y()
520 if(proc->types.pointer.scroll_sum.y + *diff_y < proc->types.pointer.scroll_area.y1) { in scroll_limit_diff()
521 *diff_y = proc->types.pointer.scroll_area.y1 - proc->types.pointer.scroll_sum.y; in scroll_limit_diff()
524 if(proc->types.pointer.scroll_sum.y + *diff_y > proc->types.pointer.scroll_area.y2) { in scroll_limit_diff()
525 *diff_y = proc->types.pointer.scroll_area.y2 - proc->types.pointer.scroll_sum.y; in scroll_limit_diff()
544 lv_coord_t y = proc->types.pointer.scroll_throw_vect.y; in scroll_throw_predict_y() local
550 while(y) { in scroll_throw_predict_y()
551 move += y; in scroll_throw_predict_y()
552 y = y * (100 - scroll_throw) / 100; in scroll_throw_predict_y()