Home
last modified time | relevance | path

Searched refs:mSwipeDirection (Results 1 – 1 of 1) sorted by relevance

/frameworks/base/packages/SystemUI/src/com/android/systemui/
DSwipeHelper.java73 private final int mSwipeDirection; field in SwipeHelper
105 mSwipeDirection = swipeDirection; in SwipeHelper()
133 return mSwipeDirection == X ? ev.getX() : ev.getY(); in getPos()
137 return mSwipeDirection == X ? ev.getY() : ev.getX(); in getPerpendicularPos()
141 return mSwipeDirection == X ? v.getTranslationX() : v.getTranslationY(); in getTranslation()
145 return mSwipeDirection == X ? vt.getXVelocity() : in getVelocity()
151 mSwipeDirection == X ? View.TRANSLATION_X : View.TRANSLATION_Y, newPos); in createTranslationAnimation()
156 return mSwipeDirection == X ? vt.getYVelocity() : in getPerpendicularVelocity()
173 if (mSwipeDirection == X) { in setTranslation()
181 return mSwipeDirection == X ? v.getMeasuredWidth() : v.getMeasuredHeight(); in getSize()
[all …]