Searched refs:snapBack (Results 1 – 1 of 1) sorted by relevance
317 boolean snapBack = false; in flingWithCurrentVelocity()319 snapBack = snapBack || mFalsingManager.isFalseTouch(); in flingWithCurrentVelocity()321 snapBack = snapBack || isBelowFalsingThreshold(); in flingWithCurrentVelocity()325 snapBack |= Math.abs(vel) > mMinFlingVelocity && velIsInWrongDirection; in flingWithCurrentVelocity()326 vel = snapBack ^ velIsInWrongDirection ? 0 : vel; in flingWithCurrentVelocity()327 fling(vel, snapBack || forceSnapBack, mTranslation < 0); in flingWithCurrentVelocity()339 private void fling(float vel, final boolean snapBack, boolean right) { in fling() argument342 target = snapBack ? 0 : target; in fling()353 if (!snapBack) { in fling()361 if (snapBack) { in fling()