Home
last modified time | relevance | path

Searched refs:snapBack (Results 1 – 1 of 1) sorted by relevance

/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/
DKeyguardAffordanceHelper.java287 boolean snapBack = isBelowFalsingThreshold(); in flingWithCurrentVelocity()
291 snapBack |= Math.abs(vel) > mMinFlingVelocity && velIsInWrongDirection; in flingWithCurrentVelocity()
292 vel = snapBack ^ velIsInWrongDirection ? 0 : vel; in flingWithCurrentVelocity()
293 fling(vel, snapBack || forceSnapBack); in flingWithCurrentVelocity()
305 private void fling(float vel, final boolean snapBack) { in fling() argument
307 target = snapBack ? 0 : target; in fling()
318 if (!snapBack) { in fling()