Searched refs:mSwipeDetector (Results 1 – 4 of 4) sorted by relevance
68 protected final SingleAxisSwipeDetector mSwipeDetector; field in AbstractSlideInView86 mSwipeDetector = new SingleAxisSwipeDetector(context, this, in AbstractSlideInView()93 mSwipeDetector.finishedScrolling(); in AbstractSlideInView()129 int directionsToDetectScroll = mSwipeDetector.isIdleState() in onControllerInterceptTouchEvent()131 mSwipeDetector.setDetectableScrollConditions( in onControllerInterceptTouchEvent()133 mSwipeDetector.onTouchEvent(ev); in onControllerInterceptTouchEvent()134 return mSwipeDetector.isDraggingOrSettling() in onControllerInterceptTouchEvent()140 mSwipeDetector.onTouchEvent(ev); in onControllerTouchEvent()141 if (ev.getAction() == MotionEvent.ACTION_UP && mSwipeDetector.isIdleState() in onControllerTouchEvent()170 if ((mSwipeDetector.isFling(velocity) && velocity > 0) || mTranslationShift > 0.5f) { in onDragEnd()[all …]
67 private final SingleAxisSwipeDetector mSwipeDetector; field in NavBarToHomeTouchController77 mSwipeDetector = new SingleAxisSwipeDetector(mLauncher, this, in NavBarToHomeTouchController()90 mSwipeDetector.setDetectableScrollConditions(SingleAxisSwipeDetector.DIRECTION_POSITIVE, in onControllerInterceptTouchEvent()99 return mSwipeDetector.isDraggingOrSettling(); in onControllerInterceptTouchEvent()123 return mSwipeDetector.onTouchEvent(ev); in onControllerTouchEvent()171 mSwipeDetector.finishedScrolling(); in clearState()172 mSwipeDetector.setDetectableScrollConditions(0, false); in clearState()186 boolean fling = mSwipeDetector.isFling(velocity); in onDragEnd()
93 private final BothAxesSwipeDetector mSwipeDetector; field in NoButtonQuickSwitchTouchController116 mSwipeDetector = new BothAxesSwipeDetector(mLauncher, this); in NoButtonQuickSwitchTouchController()136 mSwipeDetector.setDetectableScrollConditions(DIRECTION_RIGHT, in onControllerInterceptTouchEvent()145 return mSwipeDetector.isDraggingOrSettling(); in onControllerInterceptTouchEvent()150 return mSwipeDetector.onTouchEvent(ev); in onControllerTouchEvent()176 mSwipeDetector.setDetectableScrollConditions(DIRECTION_RIGHT | DIRECTION_UP, in onDragStart()200 if (!isEmpty && mSwipeDetector.isDraggingState()) { in setupAnimators()295 boolean horizontalFling = mSwipeDetector.isFling(velocity.x); in onDragEnd()296 boolean verticalFling = mSwipeDetector.isFling(velocity.y); in onDragEnd()441 mSwipeDetector.finishedScrolling(); in clearState()
72 private SingleAxisSwipeDetector mSwipeDetector; field in NotificationMainView