Home
last modified time | relevance | path

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

/packages/apps/Launcher3/src/com/android/launcher3/touch/
DSingleAxisSwipeDetector.java52 float extractDirection(PointF direction) {
83 float extractDirection(PointF direction) {
145 return mDir.isPositive(mDir.extractDirection(mSubtractDisplacement)); in wasInitialTouchPositive()
153 if (Math.abs(mDir.extractDirection(displacement)) < minDisplacement) { in shouldScrollStart()
158 float displacementComponent = mDir.extractDirection(displacement); in shouldScrollStart()
172 float startDisplacement = mDir.extractDirection(mSubtractDisplacement); in reportDragStartInternal()
178 mListener.onDrag(mDir.extractDirection(displacement), in reportDraggingInternal()
184 float velocityComponent = mDir.extractDirection(velocity); in reportDragEndInternal()
218 abstract float extractDirection(PointF point); in extractDirection() method in SingleAxisSwipeDetector.Direction