android.gesture
Class GestureUtils

java.lang.Object
  extended by android.gesture.GestureUtils

public final class GestureUtils
extends Object


Method Summary
static OrientedBoundingBox computeOrientedBoundingBox(ArrayList<GesturePoint> originalPoints)
           
static OrientedBoundingBox computeOrientedBoundingBox(float[] originalPoints)
           
static float[] spatialSampling(Gesture gesture, int bitmapSize)
           
static float[] spatialSampling(Gesture gesture, int bitmapSize, boolean keepAspectRatio)
           
static float[] temporalSampling(GestureStroke stroke, int numPoints)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

spatialSampling

public static float[] spatialSampling(Gesture gesture,
                                      int bitmapSize)

spatialSampling

public static float[] spatialSampling(Gesture gesture,
                                      int bitmapSize,
                                      boolean keepAspectRatio)

temporalSampling

public static float[] temporalSampling(GestureStroke stroke,
                                       int numPoints)

computeOrientedBoundingBox

public static OrientedBoundingBox computeOrientedBoundingBox(ArrayList<GesturePoint> originalPoints)

computeOrientedBoundingBox

public static OrientedBoundingBox computeOrientedBoundingBox(float[] originalPoints)


Copyright © 2008-2012. All Rights Reserved.