public class RotateGestureDetector
extends java.lang.Object
Modifier and Type | Class and Description |
---|---|
static interface |
RotateGestureDetector.OnRotateGestureListener |
static class |
RotateGestureDetector.SimpleOnRotateGestureListener |
Constructor and Description |
---|
RotateGestureDetector(RotateGestureDetector.OnRotateGestureListener listener,
android.view.View view) |
RotateGestureDetector(RotateGestureDetector.OnRotateGestureListener listener,
android.view.View view,
int minDifference) |
Modifier and Type | Method and Description |
---|---|
float |
distance(android.view.MotionEvent.PointerCoords first,
android.view.MotionEvent.PointerCoords second) |
int |
getAngle() |
int |
getAngleDifference() |
float |
getFoxusX() |
float |
getFoxusY() |
RotateGestureDetector.OnRotateGestureListener |
getListener() |
int |
getTotalAngle() |
boolean |
isInProgress() |
boolean |
onTouchEvent(android.view.MotionEvent event,
boolean concurrent) |
public RotateGestureDetector(RotateGestureDetector.OnRotateGestureListener listener, android.view.View view)
public RotateGestureDetector(RotateGestureDetector.OnRotateGestureListener listener, android.view.View view, int minDifference)
public boolean onTouchEvent(android.view.MotionEvent event, boolean concurrent)
public RotateGestureDetector.OnRotateGestureListener getListener()
public int getAngle()
public int getAngleDifference()
public int getTotalAngle()
public boolean isInProgress()
public float distance(android.view.MotionEvent.PointerCoords first, android.view.MotionEvent.PointerCoords second)
public float getFoxusX()
public float getFoxusY()