Searched refs:mSwipeDirection (Results 1 – 1 of 1) sorted by relevance
71 private final int mSwipeDirection; field in SwipeHelper87 mSwipeDirection = swipeDirection; in SwipeHelper()111 return mSwipeDirection == X ? vt.getXVelocity() : in getVelocity()117 mSwipeDirection == X ? "translationX" : "translationY", newPos); in createTranslationAnimation()129 return mSwipeDirection == X ? vt.getYVelocity() : in getPerpendicularVelocity()134 if (mSwipeDirection == X) { in setTranslation()142 return mSwipeDirection == X ? v.getMeasuredWidth() : in getSize()310 || (velocity == 0 && animView.getTranslationX() == 0 && mSwipeDirection == Y)) { in determinePos()