Home
last modified time | relevance | path

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

/aosp12/frameworks/base/packages/SystemUI/src/com/android/systemui/
H A DSwipeHelper.java82 private final int mSwipeDirection; field in SwipeHelper
134 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 …]
/aosp12/packages/apps/Launcher3/src/com/android/launcher3/touch/
H A DAbstractStateChangeTouchController.java54 protected final SingleAxisSwipeDetector.Direction mSwipeDirection; field in AbstractStateChangeTouchController
80 mSwipeDirection = dir; in AbstractStateChangeTouchController()
203 boolean isDragTowardPositive = mSwipeDirection.isPositive( in onDrag()
/aosp12/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/notification/stack/
H A DNotificationSwipeHelper.java487 private int mSwipeDirection; field in NotificationSwipeHelper.Builder
500 mSwipeDirection = swipeDirection; in setSwipeDirection()
517 mSwipeDirection, mNotificationCallback, mOnMenuEventListener); in build()