Home
last modified time | relevance | path

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

/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/
DKeyguardAffordanceHelper.java322 boolean snapBack = false; in flingWithCurrentVelocity()
324 snapBack = snapBack || mFalsingManager.isFalseTouch(); in flingWithCurrentVelocity()
326 snapBack = snapBack || isBelowFalsingThreshold(); in flingWithCurrentVelocity()
330 snapBack |= Math.abs(vel) > mMinFlingVelocity && velIsInWrongDirection; in flingWithCurrentVelocity()
331 vel = snapBack ^ velIsInWrongDirection ? 0 : vel; in flingWithCurrentVelocity()
332 fling(vel, snapBack || forceSnapBack, mTranslation < 0); in flingWithCurrentVelocity()
344 private void fling(float vel, final boolean snapBack, boolean right) { in fling() argument
347 target = snapBack ? 0 : target; in fling()
358 if (!snapBack) { in fling()
366 if (snapBack) { in fling()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/
DNotificationMenuRow.java281 snapBack(animView, velocity); in handleUpEvent()
334 snapBack(animView, velocity); in handleUpEvent()
344 snapBack(animView, velocity); in handleUpEvent()
356 private void snapBack(View animView, float velocity) {