public class CupcakeGestureDetector extends java.lang.Object implements IGestureDetector
| 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 IGestureDetectorpublic boolean isScaling()
isScaling in interface IGestureDetectorpublic boolean isDragging()
isDragging in interface IGestureDetectorpublic boolean onTouchEvent(android.view.MotionEvent ev)
onTouchEvent in interface IGestureDetector