Searched defs:mSwipeDirection (Results 1 - 2 of 2) sorted by relevance

/frameworks/base/packages/SystemUI/src/com/android/systemui/recents/views/
H A DSwipeHelper.java63 private int mSwipeDirection; field in class:SwipeHelper
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
[all...]
/frameworks/base/packages/SystemUI/src/com/android/systemui/
H A DSwipeHelper.java68 private int mSwipeDirection; field in class:SwipeHelper
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
[all...]

Completed in 37 milliseconds