Home
last modified time | relevance | path

Searched refs:DIRECTION_POSITIVE (Results 1 – 7 of 7) 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/src/com/android/launcher3/touch/
DSingleAxisSwipeDetector.java33 public static final int DIRECTION_POSITIVE = 1 << 0; field in SingleAxisSwipeDetector
35 public static final int DIRECTION_BOTH = DIRECTION_NEGATIVE | DIRECTION_POSITIVE;
167 return (mScrollDirections & DIRECTION_POSITIVE) > 0 && mDir.isPositive(displacement); in canScrollPositive()
DSeascapePagedViewHandler.java126 return isRtl ? SingleAxisSwipeDetector.DIRECTION_POSITIVE in getUpDirection()
DLandscapePagedViewHandler.java313 : SingleAxisSwipeDetector.DIRECTION_POSITIVE; in getUpDirection()
DPortraitPagedViewHandler.java333 return SingleAxisSwipeDetector.DIRECTION_POSITIVE; in getUpDirection()
DAbstractStateChangeTouchController.java125 swipeDirection |= SingleAxisSwipeDetector.DIRECTION_POSITIVE; in getSwipeDirection()
/packages/apps/Launcher3/quickstep/src/com/android/launcher3/uioverrides/touchcontrollers/
DNavBarToHomeTouchController.java90 mSwipeDetector.setDetectableScrollConditions(SingleAxisSwipeDetector.DIRECTION_POSITIVE, in onControllerInterceptTouchEvent()