Searched refs:mSwipeDirection (Results 1 – 3 of 3) sorted by relevance
82 private final int mSwipeDirection; field in SwipeHelper134 mSwipeDirection = swipeDirection; in SwipeHelper()166 return mSwipeDirection == X ? ev.getX() : ev.getY(); in getPos()170 return mSwipeDirection == X ? ev.getY() : ev.getX(); in getPerpendicularPos()174 return mSwipeDirection == X ? v.getTranslationX() : v.getTranslationY(); in getTranslation()178 return mSwipeDirection == X ? vt.getXVelocity() : in getVelocity()184 mSwipeDirection == X ? View.TRANSLATION_X : View.TRANSLATION_Y, newPos); in createTranslationAnimation()189 return mSwipeDirection == X ? vt.getYVelocity() : in getPerpendicularVelocity()206 if (mSwipeDirection == X) { in setTranslation()214 return mSwipeDirection == X ? v.getMeasuredWidth() : v.getMeasuredHeight(); in getSize()[all …]
54 protected final SingleAxisSwipeDetector.Direction mSwipeDirection; field in AbstractStateChangeTouchController80 mSwipeDirection = dir; in AbstractStateChangeTouchController()203 boolean isDragTowardPositive = mSwipeDirection.isPositive( in onDrag()
487 private int mSwipeDirection; field in NotificationSwipeHelper.Builder500 mSwipeDirection = swipeDirection; in setSwipeDirection()517 mSwipeDirection, mNotificationCallback, mOnMenuEventListener); in build()