Lines Matching refs:velocityX
64 public boolean onFling(int velocityX, int velocityY) {
74 return (Math.abs(velocityY) > minFlingVelocity || Math.abs(velocityX) > minFlingVelocity)
75 && snapFromFling(layoutManager, velocityX, velocityY);
130 * @param velocityX Fling velocity on the horizontal axis.
136 public int[] calculateScrollDistance(int velocityX, int velocityY) {
138 mGravityScroller.fling(0, 0, velocityX, velocityY,
150 * @param velocityX Fling velocity on the horizontal axis.
155 private boolean snapFromFling(@NonNull RecyclerView.LayoutManager layoutManager, int velocityX,
166 int targetPosition = findTargetSnapPosition(layoutManager, velocityX, velocityY);
294 * @param velocityX fling velocity on the horizontal axis
300 public abstract int findTargetSnapPosition(RecyclerView.LayoutManager layoutManager, int velocityX,