public class CupcakeGestureDetector extends java.lang.Object implements GestureDetector
| Modifier and Type | Field and Description |
|---|---|
protected OnGestureListener |
mListener |
| Constructor and Description |
|---|
CupcakeGestureDetector(android.content.Context context) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
isDragging() |
boolean |
isScaling() |
boolean |
onTouchEvent(android.view.MotionEvent ev) |
void |
setOnGestureListener(OnGestureListener listener) |
protected OnGestureListener mListener
public CupcakeGestureDetector(android.content.Context context)
public void setOnGestureListener(OnGestureListener listener)
setOnGestureListener in interface GestureDetectorpublic boolean isScaling()
isScaling in interface GestureDetectorpublic boolean isDragging()
isDragging in interface GestureDetectorpublic boolean onTouchEvent(android.view.MotionEvent ev)
onTouchEvent in interface GestureDetector