Home
last modified time | relevance | path

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

/packages/apps/Launcher3/tests/src/com/android/launcher3/touch/
DSingleAxisSwipeDetectorTest.java20 import static com.android.launcher3.touch.SingleAxisSwipeDetector.DIRECTION_POSITIVE;
88 mDetector.setDetectableScrollConditions(DIRECTION_POSITIVE, false); in testDragStart_verticalPositive()
116 mDetector.setDetectableScrollConditions(DIRECTION_POSITIVE, false); in testDragStart_horizontalPositive()
138 mDetector.setDetectableScrollConditions(DIRECTION_POSITIVE, false); in testDragStart_horizontalRtlPositive()
/packages/apps/Launcher3/quickstep/recents_ui_overrides/src/com/android/launcher3/uioverrides/touchcontrollers/
DTaskViewTouchController.java22 import static com.android.launcher3.touch.SingleAxisSwipeDetector.DIRECTION_POSITIVE;
150 directionsToDetectScroll = DIRECTION_POSITIVE; in onControllerInterceptTouchEvent()
155 ? DIRECTION_BOTH : DIRECTION_POSITIVE; in onControllerInterceptTouchEvent()
189 if (goingUp && ((scrollDirections & DIRECTION_POSITIVE) == 0) in reInitAnimationController()
DNavBarToHomeTouchController.java91 mSwipeDetector.setDetectableScrollConditions(SingleAxisSwipeDetector.DIRECTION_POSITIVE, in onControllerInterceptTouchEvent()
/packages/apps/Launcher3/src/com/android/launcher3/touch/
DSingleAxisSwipeDetector.java35 public static final int DIRECTION_POSITIVE = 1 << 0; field in SingleAxisSwipeDetector
37 public static final int DIRECTION_BOTH = DIRECTION_NEGATIVE | DIRECTION_POSITIVE;
153 return (mScrollDirections & DIRECTION_POSITIVE) > 0 && mDir.isPositive(displacement); in canScrollPositive()
DAbstractStateChangeTouchController.java161 swipeDirection |= SingleAxisSwipeDetector.DIRECTION_POSITIVE; in getSwipeDirection()