wear/src/main/java/androidx/wear/widget/SwipeDismissLayout.java
private void resetMembers() {
        if (mVelocityTracker != null) {
            mVelocityTracker.recycle();
        }
        mVelocityTracker = null;
        mTranslationX = 0;
        mDownX = 0;
        mDownY = 0;
        mSwiping = false;
        mDismissed = false;
        mDiscardIntercept = false;
        mCanStartSwipe = true;
        mDisallowIntercept = false;
    }
/** Resets internal members when canceling or finishing a given gesture. */
Resets internal members when canceling or finishing a given gesture.
Resets internal members when canceling or finishing a given gesture .
private void resetMembers() {
        if (mVelocityTracker != null) {
            mVelocityTracker.recycle();
        }
        mVelocityTracker = null;
        mTranslationX = 0;
        mDownX = 0;
        mDownY = 0;
        mSwiping = false;
        mDismissed = false;
        mDiscardIntercept = false;
        mCanStartSwipe = true;
        mDisallowIntercept = false;
    }
private void resetMembers ( ) { if ( mVelocityTracker != null ) { mVelocityTracker . recycle ( ) ; } mVelocityTracker = null ; mTranslationX = 0 ; mDownX = 0 ; mDownY = 0 ; mSwiping = false ; mDismissed = false ; mDiscardIntercept = false ; mCanStartSwipe = true ; mDisallowIntercept = false ; }
Resets internal members when canceling or finishing a given gesture.
Resets internal members when canceling or finishing a given gesture .