Home
last modified time | relevance | path

Searched refs:gesture (Results 1 – 25 of 31) sorted by relevance

12

/frameworks/base/core/java/android/gesture/
DInstance.java17 package android.gesture;
72 …static Instance createInstance(int sequenceType, int orientationType, Gesture gesture, String labe… in createInstance() argument
76 pts = temporalSampler(orientationType, gesture); in createInstance()
77 instance = new Instance(gesture.getID(), pts, label); in createInstance()
80 pts = spatialSampler(gesture); in createInstance()
81 instance = new Instance(gesture.getID(), pts, label); in createInstance()
86 private static float[] spatialSampler(Gesture gesture) { in spatialSampler() argument
87 return GestureUtils.spatialSampling(gesture, PATCH_SAMPLE_SIZE, false); in spatialSampler()
90 private static float[] temporalSampler(int orientationType, Gesture gesture) { in temporalSampler() argument
91 float[] pts = GestureUtils.temporalSampling(gesture.getStrokes().get(0), in temporalSampler()
DGestureLibrary.java18 package android.gesture;
63 public ArrayList<Prediction> recognize(Gesture gesture) { in recognize() argument
64 return mStore.recognize(gesture); in recognize()
67 public void addGesture(String entryName, Gesture gesture) { in addGesture() argument
68 mStore.addGesture(entryName, gesture); in addGesture()
71 public void removeGesture(String entryName, Gesture gesture) { in removeGesture() argument
72 mStore.removeGesture(entryName, gesture); in removeGesture()
DGestureStore.java17 package android.gesture;
34 import static android.gesture.GestureConstants.LOG_TAG;
136 public ArrayList<Prediction> recognize(Gesture gesture) { in recognize() argument
138 mOrientationStyle, gesture, null); in recognize()
148 public void addGesture(String entryName, Gesture gesture) { in addGesture() argument
157 gestures.add(gesture); in addGesture()
159 Instance.createInstance(mSequenceType, mOrientationStyle, gesture, entryName)); in addGesture()
170 public void removeGesture(String entryName, Gesture gesture) { in removeGesture() argument
176 gestures.remove(gesture); in removeGesture()
183 mClassifier.removeInstance(gesture.getID()); in removeGesture()
[all …]
DGesture.java17 package android.gesture;
65 Gesture gesture = new Gesture(); in clone() local
66 gesture.mBoundingBox.set(mBoundingBox.left, mBoundingBox.top, in clone()
71 gesture.mStrokes.add((GestureStroke)stroke.clone()); in clone()
73 return gesture; in clone()
269 final Gesture gesture = new Gesture(); in deserialize() local
272 gesture.mGestureID = in.readLong(); in deserialize()
277 gesture.addStroke(GestureStroke.deserialize(in)); in deserialize()
280 return gesture; in deserialize()
285 Gesture gesture = null;
[all …]
DGestureUtils.java17 package android.gesture;
27 import static android.gesture.GestureConstants.*;
73 public static float[] spatialSampling(Gesture gesture, int bitmapSize) { in spatialSampling() argument
74 return spatialSampling(gesture, bitmapSize, false); in spatialSampling()
90 public static float[] spatialSampling(Gesture gesture, int bitmapSize, in spatialSampling() argument
96 RectF rect = gesture.getBoundingBox(); in spatialSampling()
134 final ArrayList<GestureStroke> strokes = gesture.getStrokes(); in spatialSampling()
DGestureLibraries.java17 package android.gesture;
20 import static android.gesture.GestureConstants.*;
DGestureConstants.java17 package android.gesture;
DPrediction.java17 package android.gesture;
DGesturePoint.java17 package android.gesture;
DLearner.java17 package android.gesture;
DOrientedBoundingBox.java17 package android.gesture;
DInstanceLearner.java17 package android.gesture;
DGestureOverlayView.java17 package android.gesture;
280 public void setGesture(Gesture gesture) { in setGesture() argument
286 mCurrentGesture = gesture; in setGesture()
793 void onGesturePerformed(GestureOverlayView overlay, Gesture gesture); in onGesturePerformed() argument
DGestureStroke.java17 package android.gesture;
/frameworks/base/docs/html/resources/articles/
Dgestures.jd15 in the new package {@link android.gesture}, lets you store, load, draw, and
17 <code>android.gesture</code> API in your applications. Before going any further,
37 <p>As you can see, a gesture is always associated with a name. That name is very
38 important because it identifies each gesture within your application. The names
41 time you add or edit a gesture in the Gestures Builder, a file is generated on
58 <p>In this example, the gesture library is loaded from the file
71 <pre>&lt;android.gesture.GestureOverlayView
79 use its fully qualified name. A gesture overlay acts as a simple
85 which fires whenever a user is done drawing a gesture:</p>
91 to try to recognize the gesture. In return, you will get a list of
[all …]
Dlistview-backgrounds.jd31 a scroll initiated with a touch gesture:</p>
/frameworks/base/docs/html/sdk/
Dandroid-2.2-highlights.jd121 gesture.</p>
286 for these situations. A scale gesture detector API provides improved definition of multi-touch
Dandroid-1.6.jd265 <li>New {@link android.gesture gesture} API for creating, recognizing,
/frameworks/base/docs/html/resources/faq/
Dtroubleshooting.jd254 [2009-12-10 14:57:19 - GestureBuilderActivity]Please execute 'adb uninstall com.android.gesture.bui…
257 <li><p>Running <code>adb uninstall com.android.gesture.builder</code> fails:</p>
258 <pre>$ adb uninstall com.android.gesture.builder
273 (<code>src/com.android.gesture.builder</code>).</li>
/frameworks/base/docs/html/guide/developing/tools/
DMonkeyDevice.jd115 Simulates a drag gesture (touch, hold, and move) on this device's screen.
568 Simulates a drag gesture (touch, hold, and move) on this device's screen.
577 The starting point of the drag gesture, in the form of a <em>tuple</em>
584 The end point of the drag gesture, in the form of a <em>tuple</em> (x,y)
590 <td>The duration of the drag gesture in seconds. The default is 1.0 seconds.</td>
/frameworks/base/docs/html/guide/topics/ui/
Dui-events.jd71 or any movement gesture on the screen (within the bounds of the item).</dd>
143 within the event, such as a finger gesture, or the eventual up action event.</li>
Ddrag-drop.jd117 from one View to another View in the current layout using a graphical drag and drop gesture.
128 A drag and drop operation starts when the user makes some gesture that you recognize as a
186 In response to the user's gesture to begin a drag, your application calls
560 The user starts a drag with a drag gesture, usually a long press, on a View object.
Dindex.jd42 scrolling, and key/gesture interactions for the rectangular area of the screen in which it resides.…
/frameworks/base/docs/html/guide/practices/
Dscreens_support.jd1170 pixels. Imagine an application in which a scroll or fling gesture is recognized after the user's
1172 / 160 dpi}, which equals 1/10th of an inch (or 2.5 mm) before the gesture is recognized. On a device
1177 <p>To fix this issue, the gesture threshold must be expressed in code in <code>dp</code> and then
1180 <pre>// The gesture threshold expressed in dp
/frameworks/base/docs/html/
Dsitemap.txt267 http://developer.android.com/reference/android/gesture/package-summary.html
2020 http://developer.android.com/reference/android/gesture/GestureOverlayView.OnGestureListener.html
2021 http://developer.android.com/reference/android/gesture/GestureOverlayView.OnGesturePerformedListene…
2022 http://developer.android.com/reference/android/gesture/GestureOverlayView.OnGesturingListener.html
2023 http://developer.android.com/reference/android/gesture/Gesture.html
2024 http://developer.android.com/reference/android/gesture/GestureLibraries.html
2025 http://developer.android.com/reference/android/gesture/GestureLibrary.html
2026 http://developer.android.com/reference/android/gesture/GestureOverlayView.html
2027 http://developer.android.com/reference/android/gesture/GesturePoint.html
2028 http://developer.android.com/reference/android/gesture/GestureStore.html
[all …]

12