Searched refs:DIRECTION_POSITIVE (Results 1 – 5 of 5) sorted by relevance
20 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()
22 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()
91 mSwipeDetector.setDetectableScrollConditions(SingleAxisSwipeDetector.DIRECTION_POSITIVE, in onControllerInterceptTouchEvent()
35 public static final int DIRECTION_POSITIVE = 1 << 0; field in SingleAxisSwipeDetector37 public static final int DIRECTION_BOTH = DIRECTION_NEGATIVE | DIRECTION_POSITIVE;153 return (mScrollDirections & DIRECTION_POSITIVE) > 0 && mDir.isPositive(displacement); in canScrollPositive()
161 swipeDirection |= SingleAxisSwipeDetector.DIRECTION_POSITIVE; in getSwipeDirection()