Searched refs:mSwipeDirection (Results 1 – 2 of 2) sorted by relevance
92 int mSwipeDirection = SWIPE_DIRECTION_ANY; field in SwipeDismissBehavior131 mSwipeDirection = direction; in setSwipeDirection()279 if (mSwipeDirection == SWIPE_DIRECTION_ANY) {282 } else if (mSwipeDirection == SWIPE_DIRECTION_START_TO_END) {286 } else if (mSwipeDirection == SWIPE_DIRECTION_END_TO_START) {311 if (mSwipeDirection == SWIPE_DIRECTION_START_TO_END) {319 } else if (mSwipeDirection == SWIPE_DIRECTION_END_TO_START) {
66 private int mSwipeDirection; field in SwipeHelper94 mSwipeDirection = swipeDirection; in SwipeHelper()123 return mSwipeDirection == X ? ev.getX() : ev.getY(); in getPos()127 return mSwipeDirection == X ? ev.getY() : ev.getX(); in getPerpendicularPos()131 return mSwipeDirection == X ? v.getTranslationX() : v.getTranslationY(); in getTranslation()135 return mSwipeDirection == X ? vt.getXVelocity() : in getVelocity()141 mSwipeDirection == X ? View.TRANSLATION_X : View.TRANSLATION_Y, newPos); in createTranslationAnimation()146 return mSwipeDirection == X ? vt.getYVelocity() : in getPerpendicularVelocity()163 if (mSwipeDirection == X) { in setTranslation()171 return mSwipeDirection == X ? v.getMeasuredWidth() : in getSize()[all …]