Lines Matching defs:vel
318 float vel = getCurrentVelocity(lastX, lastY);
328 boolean velIsInWrongDirection = vel * mTranslation < 0;
329 snapBack |= Math.abs(vel) > mMinFlingVelocity && velIsInWrongDirection;
330 vel = snapBack ^ velIsInWrongDirection ? 0 : vel;
331 fling(vel, snapBack || forceSnapBack, mTranslation < 0);
343 private void fling(float vel, final boolean snapBack, boolean right) {
349 mFlingAnimationUtils.apply(animator, mTranslation, target, vel);
358 startFinishingCircleAnimation(vel * 0.375f, mAnimationEndRunnable, right);
359 mCallback.onAnimationToSideStarted(right, mTranslation, vel);
555 void onAnimationToSideStarted(boolean rightPage, float translation, float vel);