Searched refs:mDetector (Results 1 – 7 of 7) sorted by relevance
/packages/apps/Launcher3/tests/src/com/android/launcher3/touch/ |
D | SingleAxisSwipeDetectorTest.java | 60 private SingleAxisSwipeDetector mDetector; field in SingleAxisSwipeDetectorTest 73 mGenerator = new TouchEventGenerator((ev) -> mDetector.onTouchEvent(ev)); in setup() 79 mDetector = new SingleAxisSwipeDetector(mContext, in setup() 81 mDetector.setDetectableScrollConditions(DIRECTION_BOTH, false); in setup() 90 mDetector = new SingleAxisSwipeDetector(mContext, in testDragStart_verticalPositive() 92 mDetector.setDetectableScrollConditions(DIRECTION_POSITIVE, false); in testDragStart_verticalPositive() 101 mDetector = new SingleAxisSwipeDetector(mContext, in testDragStart_verticalNegative() 103 mDetector.setDetectableScrollConditions(DIRECTION_NEGATIVE, false); in testDragStart_verticalNegative() 120 mDetector = new SingleAxisSwipeDetector(mContext, in testDragStart_horizontalPositive() 122 mDetector.setDetectableScrollConditions(DIRECTION_POSITIVE, false); in testDragStart_horizontalPositive() [all …]
|
/packages/apps/Launcher3/quickstep/src/com/android/launcher3/uioverrides/touchcontrollers/ |
D | TaskViewTouchController.java | 68 private final SingleAxisSwipeDetector mDetector; field in TaskViewTouchController 97 mDetector = new SingleAxisSwipeDetector(container, this, dir); in TaskViewTouchController() 197 mDetector.setDetectableScrollConditions( in onControllerInterceptTouchEvent() 206 return mDetector.isDraggingOrSettling(); in onControllerInterceptTouchEvent() 211 return mDetector.onTouchEvent(ev); in onControllerTouchEvent() 348 boolean fling = mDraggingEnabled && mDetector.isFling(velocity); in onDragEnd() 388 mDetector.finishedScrolling(); in clearState() 389 mDetector.setDetectableScrollConditions(0, false); in clearState()
|
D | NoButtonNavbarToOverviewTouchController.java | 115 mDetector.setTouchSlopMultiplier( in canInterceptTouch() 245 if (mReachedOverview && !mDetector.isDraggingState()) { in maybeSwipeInteractionToOverviewComplete()
|
D | TwoButtonNavbarTouchController.java | 151 mDetector.onTouchEvent(event); in updateProgress()
|
/packages/apps/Launcher3/src/com/android/launcher3/touch/ |
D | AbstractStateChangeTouchController.java | 56 protected final SingleAxisSwipeDetector mDetector; field in AbstractStateChangeTouchController 83 mDetector = new SingleAxisSwipeDetector(l, this, dir); in AbstractStateChangeTouchController() 115 mDetector.setDetectableScrollConditions( in onControllerInterceptTouchEvent() 124 return mDetector.isDraggingOrSettling(); in onControllerInterceptTouchEvent() 141 return mDetector.onTouchEvent(ev); in onControllerTouchEvent() 195 reinitCurrentAnimation(false, mDetector.wasInitialTouchPositive()); in onDragStart() 292 boolean fling = mDetector.isFling(velocity); in onDragEnd() 440 mDetector.finishedScrolling(); in clearState() 441 mDetector.setDetectableScrollConditions(0, false); in clearState()
|
/packages/apps/Gallery2/src/com/android/gallery3d/filtershow/editors/ |
D | SwapButton.java | 36 private GestureDetector mDetector; field in SwapButton 43 mDetector = new GestureDetector(context, this); in SwapButton() 55 if (!mDetector.onTouchEvent(me)) { in onTouchEvent()
|
/packages/apps/Launcher3/quickstep/src/com/android/quickstep/views/ |
D | AllAppsEduView.java | 309 return mDetector.isDraggingOrSettling(); in isDraggingOrSettling()
|