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

  /frameworks/base/packages/SystemUI/src/com/android/systemui/recents/views/
SwipeHelper.java 63 private int mSwipeDirection;
80 mSwipeDirection = swipeDirection;
111 return mSwipeDirection == X ? ev.getX() : ev.getY();
115 return mSwipeDirection == X ? v.getTranslationX() : v.getTranslationY();
119 return mSwipeDirection == X ? vt.getXVelocity() :
125 mSwipeDirection == X ? View.TRANSLATION_X : View.TRANSLATION_Y, newPos);
130 return mSwipeDirection == X ? vt.getYVelocity() :
135 if (mSwipeDirection == X) {
144 return mSwipeDirection == X ? dm.widthPixels : dm.heightPixels;
226 || (velocity == 0 && getTranslation(view) == 0 && mSwipeDirection == Y))
    [all...]
  /frameworks/base/packages/SystemUI/src/com/android/systemui/
SwipeHelper.java 68 private int mSwipeDirection;
90 mSwipeDirection = swipeDirection;
115 return mSwipeDirection == X ? ev.getX() : ev.getY();
119 return mSwipeDirection == X ? v.getTranslationX() : v.getTranslationY();
123 return mSwipeDirection == X ? vt.getXVelocity() :
129 mSwipeDirection == X ? "translationX" : "translationY", newPos);
134 return mSwipeDirection == X ? vt.getYVelocity() :
139 if (mSwipeDirection == X) {
147 return mSwipeDirection == X ? v.getMeasuredWidth() :
319 || (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 64 milliseconds