android.view
Class ScaleGestureDetector

java.lang.Object
  extended by android.view.ScaleGestureDetector

public class ScaleGestureDetector
extends Object


Nested Class Summary
static interface ScaleGestureDetector.OnScaleGestureListener
           
static class ScaleGestureDetector.SimpleOnScaleGestureListener
           
 
Constructor Summary
ScaleGestureDetector(Context context, ScaleGestureDetector.OnScaleGestureListener listener)
           
 
Method Summary
 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)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ScaleGestureDetector

public ScaleGestureDetector(Context context,
                            ScaleGestureDetector.OnScaleGestureListener listener)
Method Detail

onTouchEvent

public boolean onTouchEvent(MotionEvent event)

isInProgress

public boolean isInProgress()

getFocusX

public float getFocusX()

getFocusY

public float getFocusY()

getCurrentSpan

public float getCurrentSpan()

getCurrentSpanX

public float getCurrentSpanX()

getCurrentSpanY

public float getCurrentSpanY()

getPreviousSpan

public float getPreviousSpan()

getPreviousSpanX

public float getPreviousSpanX()

getPreviousSpanY

public float getPreviousSpanY()

getScaleFactor

public float getScaleFactor()

getTimeDelta

public long getTimeDelta()

getEventTime

public long getEventTime()


Copyright © 2008-2012. All Rights Reserved.