Searched defs:gesture (Results 1 - 14 of 14) sorted by relevance
/frameworks/base/core/java/android/gesture/ |
H A D | GestureConstants.java | 17 package android.gesture;
|
H A D | GesturePoint.java | 17 package android.gesture; 23 * A timed point of a gesture stroke. Multiple points form a stroke.
|
H A D | InstanceLearner.java | 17 package android.gesture;
|
H A D | Prediction.java | 17 package android.gesture;
|
H A D | Instance.java | 17 package android.gesture; 66 * create a learning instance for a single stroke gesture 68 * @param gesture 72 static Instance createInstance(int sequenceType, int orientationType, Gesture gesture, String label) { argument 76 pts = temporalSampler(orientationType, gesture); 77 instance = new Instance(gesture.getID(), pts, label); 80 pts = spatialSampler(gesture); 81 instance = new Instance(gesture.getID(), pts, label); 86 private static float[] spatialSampler(Gesture gesture) { argument 87 return GestureUtils.spatialSampling(gesture, PATCH_SAMPLE_SIZ 90 temporalSampler(int orientationType, Gesture gesture) argument [all...] |
H A D | GestureLibrary.java | 18 package android.gesture; 63 public ArrayList<Prediction> recognize(Gesture gesture) { argument 64 return mStore.recognize(gesture); 67 public void addGesture(String entryName, Gesture gesture) { argument 68 mStore.addGesture(entryName, gesture); 71 public void removeGesture(String entryName, Gesture gesture) { argument 72 mStore.removeGesture(entryName, gesture);
|
H A D | Learner.java | 17 package android.gesture; 22 * The abstract class of a gesture learner
|
H A D | OrientedBoundingBox.java | 17 package android.gesture;
|
H A D | GestureStore.java | 17 package android.gesture; 34 import static android.gesture.GestureConstants.LOG_TAG; 37 * GestureLibrary maintains gesture examples and makes predictions on a new 38 * gesture 94 * Specify how the gesture library will handle orientation. 122 * Get all the gesture entry names in the library 131 * Recognize a gesture 133 * @param gesture the query 134 * @return a list of predictions of possible entries for a given gesture 136 public ArrayList<Prediction> recognize(Gesture gesture) { argument 148 addGesture(String entryName, Gesture gesture) argument 170 removeGesture(String entryName, Gesture gesture) argument [all...] |
H A D | GestureLibraries.java | 17 package android.gesture; 20 import static android.gesture.GestureConstants.*; 82 Log.d(LOG_TAG, "Could not save the gesture library in " + mPath, e); 84 Log.d(LOG_TAG, "Could not save the gesture library in " + mPath, e); 98 Log.d(LOG_TAG, "Could not load the gesture library from " + mPath, e); 100 Log.d(LOG_TAG, "Could not load the gesture library from " + mPath, e); 135 Log.d(LOG_TAG, "Could not load the gesture library from raw resource " +
|
H A D | GestureUtils.java | 17 package android.gesture; 27 import static android.gesture.GestureConstants.*; 30 * Utility functions for gesture processing & analysis, including methods for: 33 * boxes and gesture path lengths); 35 * <li>gesture similarity comparison (e.g., calculating Euclidean or Cosine 63 * Samples the gesture spatially by rendering the gesture into a 2D 64 * grayscale bitmap. Scales the gesture to fit the size of the bitmap. 65 * The scaling does not necessarily keep the aspect ratio of the gesture. 67 * @param gesture th 73 spatialSampling(Gesture gesture, int bitmapSize) argument 90 spatialSampling(Gesture gesture, int bitmapSize, boolean keepAspectRatio) argument [all...] |
H A D | Gesture.java | 17 package android.gesture; 37 * A gesture is a hand-drawn shape on a touch screen. It can have one or multiple strokes. 38 * Each stroke is a sequence of timed points. A user-defined gesture can be recognized by 65 Gesture gesture = new Gesture(); 66 gesture.mBoundingBox.set(mBoundingBox.left, mBoundingBox.top, 71 gesture.mStrokes.add((GestureStroke)stroke.clone()); 73 return gesture; 77 * @return all the strokes of the gesture 84 * @return the number of strokes included by this gesture 91 * Adds a stroke to the gesture [all...] |
H A D | GestureStroke.java | 17 package android.gesture; 30 * A gesture stroke started on a touch down and ended on a touch up. A stroke 31 * consists of a sequence of timed points. One or multiple strokes form a gesture. 45 * A constructor that constructs a gesture stroke from a list of gesture points.
|
H A D | GestureOverlayView.java | 17 package android.gesture; 38 * A transparent overlay for gesture input that can be placed on top of other 104 // current gesture 280 public void setGesture(Gesture gesture) { argument 286 mCurrentGesture = gesture; 459 // add the stroke to the current gesture 680 // A gesture wasn't started or was cancelled 682 // add the stroke to the current gesture 794 void onGesturePerformed(GestureOverlayView overlay, Gesture gesture); argument
|
Completed in 71 milliseconds