HomeSort by relevance Sort by last modified time
    Searched refs:mSwipeDirection (Results 1 - 3 of 3) sorted by null

  /frameworks/base/packages/SystemUI/src/com/android/systemui/
SwipeHelper.java 63 private int mSwipeDirection;
82 mSwipeDirection = swipeDirection;
103 return mSwipeDirection == X ? ev.getX() : ev.getY();
107 return mSwipeDirection == X ? v.getTranslationX() : v.getTranslationY();
111 return mSwipeDirection == X ? vt.getXVelocity() :
117 mSwipeDirection == X ? "translationX" : "translationY", newPos);
122 return mSwipeDirection == X ? vt.getYVelocity() :
127 if (mSwipeDirection == X) {
135 return mSwipeDirection == X ? v.getMeasuredWidth() :
279 || (velocity == 0 && getTranslation(animView) == 0 && mSwipeDirection == Y))
    [all...]
  /packages/apps/Dialer/src/com/android/dialer/list/
SwipeHelper.java 77 private final int mSwipeDirection;
98 mSwipeDirection = swipeDirection;
133 return mSwipeDirection == X ? vt.getXVelocity() :
139 mSwipeDirection == X ? "translationX" : "translationY", newPos);
151 return mSwipeDirection == X ? vt.getYVelocity() :
156 if (mSwipeDirection == X) {
164 return mSwipeDirection == X ? v.getMeasuredWidth() :
317 || (velocity == 0 && animView.getTranslationX() == 0 && mSwipeDirection == Y)) {
  /packages/apps/UnifiedEmail/src/com/android/mail/ui/
SwipeHelper.java 71 private final int mSwipeDirection;
87 mSwipeDirection = swipeDirection;
111 return mSwipeDirection == X ? vt.getXVelocity() :
117 mSwipeDirection == X ? "translationX" : "translationY", newPos);
129 return mSwipeDirection == X ? vt.getYVelocity() :
134 if (mSwipeDirection == X) {
142 return mSwipeDirection == X ? v.getMeasuredWidth() :
310 || (velocity == 0 && animView.getTranslationX() == 0 && mSwipeDirection == Y)) {

Completed in 242 milliseconds