Home
last modified time | relevance | path

Searched refs:mSwipeDetector (Results 1 – 4 of 4) sorted by relevance

/packages/apps/Launcher3/src/com/android/launcher3/views/
DAbstractSlideInView.java60 protected final SwipeDetector mSwipeDetector; field in AbstractSlideInView
76 mSwipeDetector = new SwipeDetector(context, this, SwipeDetector.VERTICAL); in AbstractSlideInView()
82 mSwipeDetector.finishedScrolling(); in AbstractSlideInView()
99 int directionsToDetectScroll = mSwipeDetector.isIdleState() ? in onControllerInterceptTouchEvent()
101 mSwipeDetector.setDetectableScrollConditions( in onControllerInterceptTouchEvent()
103 mSwipeDetector.onTouchEvent(ev); in onControllerInterceptTouchEvent()
104 return mSwipeDetector.isDraggingOrSettling() in onControllerInterceptTouchEvent()
110 mSwipeDetector.onTouchEvent(ev); in onControllerTouchEvent()
111 if (ev.getAction() == MotionEvent.ACTION_UP && mSwipeDetector.isIdleState() in onControllerTouchEvent()
173 if (mSwipeDetector.isIdleState()) { in handleClose()
/packages/apps/Launcher3/quickstep/recents_ui_overrides/src/com/android/launcher3/uioverrides/touchcontrollers/
DNavBarToHomeTouchController.java60 private final SwipeDetector mSwipeDetector; field in NavBarToHomeTouchController
70 mSwipeDetector = new SwipeDetector(mLauncher, this, SwipeDetector.VERTICAL); in NavBarToHomeTouchController()
82 mSwipeDetector.setDetectableScrollConditions(SwipeDetector.DIRECTION_POSITIVE, false); in onControllerInterceptTouchEvent()
90 return mSwipeDetector.isDraggingOrSettling(); in onControllerInterceptTouchEvent()
109 return mSwipeDetector.onTouchEvent(ev); in onControllerTouchEvent()
162 mSwipeDetector.finishedScrolling(); in clearState()
163 mSwipeDetector.setDetectableScrollConditions(0, false); in clearState()
216 mSwipeDetector.getDownX(), mSwipeDetector.getDownY(), in logStateChange()
/packages/apps/Launcher3/src/com/android/launcher3/notification/
DNotificationItemView.java52 private final SwipeDetector mSwipeDetector; field in NotificationItemView
77 mSwipeDetector = new SwipeDetector(mContext, mMainView, HORIZONTAL); in NotificationItemView()
78 mSwipeDetector.setDetectableScrollConditions(SwipeDetector.DIRECTION_BOTH, false); in NotificationItemView()
79 mMainView.setSwipeDetector(mSwipeDetector); in NotificationItemView()
147 mSwipeDetector.onTouchEvent(ev); in onInterceptTouchEvent()
148 return mSwipeDetector.isDraggingOrSettling(); in onInterceptTouchEvent()
159 return mSwipeDetector.onTouchEvent(ev); in onTouchEvent()
DNotificationMainView.java78 private SwipeDetector mSwipeDetector; field in NotificationMainView
111 mSwipeDetector = swipeDetector; in setSwipeDetector()
219 mSwipeDetector.finishedScrolling(); in onDragEnd()