public class ScaleGestureDetector extends Object
| Modifier and Type | Class and Description |
|---|---|
static interface |
ScaleGestureDetector.OnScaleGestureListener |
static class |
ScaleGestureDetector.SimpleOnScaleGestureListener |
| Constructor and Description |
|---|
ScaleGestureDetector(Context context,
ScaleGestureDetector.OnScaleGestureListener listener) |
| Modifier and Type | Method and Description |
|---|---|
float |
getCurrentSpan() |
float |
getCurrentSpanX() |
float |
getCurrentSpanY() |
long |
getEventTime() |
float |
getFocusX() |
float |
getFocusY() |
float |
getPreviousSpan() |
float |
getPreviousSpanX() |
float |
getPreviousSpanY() |
float |
getScaleFactor() |
long |
getTimeDelta() |
boolean |
isInProgress() |
boolean |
onTouchEvent(MotionEvent event) |
public ScaleGestureDetector(Context context, ScaleGestureDetector.OnScaleGestureListener listener)
public boolean onTouchEvent(MotionEvent event)
public boolean isInProgress()
public float getFocusX()
public float getFocusY()
public float getCurrentSpan()
public float getCurrentSpanX()
public float getCurrentSpanY()
public float getPreviousSpan()
public float getPreviousSpanX()
public float getPreviousSpanY()
public float getScaleFactor()
public long getTimeDelta()
public long getEventTime()
Copyright © 2008-2013. All Rights Reserved.