Home
last modified time | relevance | path

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

/packages/apps/Dialer/java/com/android/incallui/answer/impl/affordance/
DSwipeButtonHelper.java361 boolean snapBack = isBelowFalsingThreshold(); in flingWithCurrentVelocity()
365 snapBack |= Math.abs(vel) > minFlingVelocity && velIsInWrongDirection; in flingWithCurrentVelocity()
366 vel = snapBack ^ velIsInWrongDirection ? 0 : vel; in flingWithCurrentVelocity()
367 fling(vel, snapBack || forceSnapBack, translation < 0); in flingWithCurrentVelocity()
379 private void fling(float vel, final boolean snapBack, boolean right) { in fling() argument
382 target = snapBack ? 0 : target; in fling()
394 if (!snapBack) { in fling()
402 if (snapBack) { in fling()
/packages/apps/Dialer/java/com/android/incallui/incall/impl/
DInCallPaginator.java101 private void endTransition(boolean snapBack) { in endTransition() argument
103 useModeSwitchTransition = !snapBack; in endTransition()
/packages/apps/Camera2/src/com/android/camera/ui/
DModeListView.java502 mAnimator = snapBack(true); in snapBackAndHide()
809 mAnimator = snapBack(); in onTouchEvent()
1757 snapBack();
1783 public Animator snapBack(boolean withAnimation) {
1800 private Animator snapBack() { in snapBack() method
1801 return snapBack(true); in snapBack()