Searched refs:refPoint (Results 1 - 1 of 1) sorted by relevance

/packages/apps/Launcher3/src/com/android/launcher3/touch/
H A DSwipeDetector.java71 abstract float getDisplacement(MotionEvent ev, int pointerIndex, PointF refPoint); argument
82 float getDisplacement(MotionEvent ev, int pointerIndex, PointF refPoint) {
83 return ev.getY(pointerIndex) - refPoint.y;
95 float getDisplacement(MotionEvent ev, int pointerIndex, PointF refPoint) {
96 return ev.getX(pointerIndex) - refPoint.x;

Completed in 570 milliseconds