HomeSort by relevance Sort by last modified time
    Searched refs:gesture (Results 1 - 25 of 32) sorted by null

1 2

  /cts/tests/tests/gesture/src/android/gesture/cts/
GestureStorageAccessor.java 16 package android.gesture.cts;
18 import android.gesture.Gesture;
19 import android.gesture.Prediction;
32 void addGesture(String entryName, Gesture gesture);
36 ArrayList<Gesture> getGestures(String entryName);
42 ArrayList<Prediction> recognize(Gesture gesture);
46 void removeGesture(String entryName, Gesture gesture)
    [all...]
GestureLibraryTest.java 16 package android.gesture.cts;
19 import android.gesture.Gesture;
20 import android.gesture.GestureLibrary;
21 import android.gesture.Prediction;
43 public void addGesture(String entryName, Gesture gesture) {
44 mGestureLibrary.addGesture(entryName, gesture);
51 public ArrayList<Gesture> getGestures(String entryName) {
63 public ArrayList<Prediction> recognize(Gesture gesture)
    [all...]
GesturePointTest.java 16 package android.gesture.cts;
19 import android.gesture.GesturePoint;
GestureStoreTest.java 16 package android.gesture.cts;
19 import android.gesture.Gesture;
20 import android.gesture.GestureStore;
21 import android.gesture.Prediction;
46 public void addGesture(String entryName, Gesture gesture) {
47 mGestureStore.addGesture(entryName, gesture);
54 public ArrayList<Gesture> getGestures(String entryName) {
66 public ArrayList<Prediction> recognize(Gesture gesture)
    [all...]
GestureComparator.java 17 package android.gesture.cts;
19 import android.gesture.Gesture;
20 import android.gesture.GestureStroke;
32 * Compare the contents of two (@link Gesture}'s
34 * @throws {@link junit.framework.AssertionFailedError} if Gesture's are not equal
36 void assertGesturesEquals(Gesture expectedGesture, Gesture observedGesture) {
40 // now compare gesture strokes. Order is important
GestureStorageTester.java 16 package android.gesture.cts;
18 import android.gesture.Gesture;
19 import android.gesture.GestureStroke;
20 import android.gesture.Prediction;
32 /** Simple straight line gesture used for basic testing */
33 protected Gesture mLineGesture;
34 protected Gesture mAnotherGesture;
35 protected static final String TEST_GESTURE_NAME ="cts-test-gesture";
42 mLineGesture = new Gesture();
    [all...]
GestureStrokeTest.java 16 package android.gesture.cts;
19 import android.gesture.GesturePoint;
20 import android.gesture.GestureStroke;
21 import android.gesture.OrientedBoundingBox;
68 * Test {@link android.gesture.GestureStroke#toPath(float, float, int)} returns expected results
83 * Test for {@link android.gesture.GestureStroke#toPath(float, float, int)}
105 * Test method for {@link android.gesture.GestureStroke#computeOrientedBoundingBox()}.
119 * Verifies that {@link android.gesture.GestureStroke#boundingBox} has expected values for
120 * a simple straight line gesture
LineGestureStrokeHelper.java 16 package android.gesture.cts;
18 import android.gesture.GesturePoint;
19 import android.gesture.GestureStroke;
33 // point constants for 45 degree line gesture
44 * Creates a standard straight line gesture starting from the {@link LINE_START_POINT} and
87 * Helper method for creating a gesture stroke
GestureTest.java 16 package android.gesture.cts;
18 import android.gesture.Gesture;
19 import android.gesture.GestureStroke;
26 * Compatibility unit tests for {@link android.gesture.Gesture#getStrokes()}
28 * Basic tests that verify expected values when a simple line gesture stroke is added.
34 private Gesture mGesture;
40 mGesture = new Gesture();
45 * Test method for {@link android.gesture.Gesture#getStrokes()}
    [all...]
  /development/apps/GestureBuilder/src/com/android/gesture/builder/
GestureBuilderActivity.java 17 package com.android.gesture.builder;
30 import android.gesture.GestureLibrary;
31 import android.gesture.Gesture;
32 import android.gesture.GestureLibraries;
164 outState.putLong(GESTURES_INFO_ID, mCurrentRenameGesture.gesture.getID());
176 for (Gesture gesture : sStore.getGestures(name)) {
177 if (gesture.getID() == id) {
180 mCurrentRenameGesture.gesture = gesture
205 final NamedGesture gesture = (NamedGesture) menuInfo.targetView.getTag(); local
282 final NamedGesture gesture = adapter.getItem(i); local
404 Gesture gesture; field in class:GestureBuilderActivity.NamedGesture
427 final NamedGesture gesture = getItem(position); local
    [all...]
CreateGestureActivity.java 17 package com.android.gesture.builder;
24 import android.gesture.GestureOverlayView;
25 import android.gesture.Gesture;
26 import android.gesture.GestureLibrary;
35 private Gesture mGesture;
55 outState.putParcelable("gesture", mGesture);
63 mGesture = savedInstanceState.getParcelable("gesture");
  /external/autotest/client/site_tests/firmware_TouchMTB/
touchbotII_robot_wrapper.py 33 # Normally, a gesture is performed within [START, END].
88 # Each gesture maps to a get_control_command method
139 # Overshoot for this one-finger gesture only: ONE_FINGER_TO_EDGE
147 # gesture along these lines, or doing 2f taps at different angles.
350 def _get_num_taps(self, gesture):
352 matches = re.match('[^0-9]*([0-9]*)[^0-9]*', gesture)
366 def _get_control_command_pinch(self, robot_script, gesture, variation):
384 def _get_control_command_quickstep(self, robot_script, gesture, variation):
385 """have the robot do the zig-zag gesture for latency testing."""
446 def _get_control_command_one_stationary_finger(self, robot_script, gesture,
    [all...]
firmware_summary.py 9 The test results of the various validators of every gesture are displayed.
19 Test Summary (by gesture) : fw_2.41 fw_2.42 count
121 """Print the summary of the test results by gesture."""
154 # ['Test Summary (by gesture)', 'fw_2.4', 'fw_2.5']
170 def _print_result_stats(self, gesture=None):
176 result = self.slog.get_result(fw=fw, gesture=gesture,
194 """Print the summary of the test results by gesture."""
195 self._print_summary_title('Test Summary (by gesture)')
196 for gesture in self.slog.gestures
    [all...]
test_flow.py 103 """Determine the gesture names based on the mode."""
110 # The same gesture names list is used in both modes.
151 # Prompt for next gesture.
160 "Perform the gesture now.\n"
165 """Prompt for next gesture."""
167 ["It is very likely that you perform a WRONG gesture!",
220 """Span the variations of a gesture."""
238 """Get the gesture file base name without file extension."""
244 """Close the gesture file."""
251 # Strip off the header of the gesture file
    [all...]
firmware_utils.py 198 """A class defines the gesture list."""
205 """Get the list of Gesture objects based on the gesture names."""
209 gesture = gesture_dict.get(name)
210 if gesture is None:
211 msg = 'Error: the gesture "%s" is not defined in the config.'
214 gesture_list.append(gesture)
267 Usage of the method: the validator test result of a gesture may
268 be discarded because the user chooses to re-perform the gesture
report_html.py 31 # Define a template to show a gesture information including
32 # the gesture name, variation, prompt, image, and test results.
113 gesture = self.gesture_template.safe_substitute(
120 self.gestures.append(gesture)
181 """Flush the current gesture including gesture log, image and
185 # It is ok to flush the gesture log even when there are no mtplot images
203 """Update the gesture log."""
  /external/autotest/client/site_tests/firmware_TouchMTB/tests/
firmware_summary_unittest.py 57 def _get_score(self, fw=None, gesture=None, validator=None):
59 result= self.slog.get_result(fw=fw, gesture=gesture,
79 for gesture, expected_score in fw_expected_scores.items():
81 gesture=gesture,
  /cts/tests/accessibilityservice/src/android/accessibilityservice/cts/
GestureDescriptionTest.java 26 * Tests for creating gesture descriptions.
176 fail("Missing exception for building an empty gesture.");
194 GestureDescription gesture = builder.build(); local
196 assertEquals(1, gesture.getStrokeCount());
197 strokeDescription = gesture.getStroke(0);
AccessibilityGestureDetectorTest.java 66 int mStrokeLenPxX; // Gesture stroke size, in pixels
118 // Compute gesture stroke lengths, in pixels.
157 // Create gesture motions.
160 GestureDescription gesture = new GestureDescription.Builder() local
165 // Dispatch gesture motions.
167 // because accessibility services read gesture events upstream from the point where
171 mService.dispatchGesture(gesture, mGestureDispatchCallback, null));
175 // Wait for gesture recognizer, and check recognized gesture.
219 private void assertEventAfterGesture(GestureDescription gesture, int... events)
    [all...]
MagnificationGestureHandlerTest.java 310 public void dispatch(GestureDescription gesture) {
311 await(dispatchGesture(mService, gesture));
  /external/wayland-protocols/flinger_headers/
ArcInputBridgeProtocol.h 219 GestureArgs gesture; member in union:arc::BridgeInputEvent::__anon49400
273 event.gesture.cancelled = cancelled;
279 event.gesture.fingers = fingers;
292 event.gesture.cancelled = cancelled;
  /cts/tests/accessibilityservice/src/android/accessibilityservice/cts/utils/
GestureUtils.java 35 GestureDescription gesture) {
49 if (!service.dispatchGesture(gesture, callback, null)) {
  /external/setupdesign/main/src/com/google/android/setupdesign/gesture/
ConsecutiveTapsGestureDetector.java 17 package com.google.android.setupdesign.gesture;
46 * @param listener The listener that responds to the gesture.
47 * @param view The target view that associated with consecutive-tap gesture.
54 * @param listener The listener that responds to the gesture.
55 * @param view The target view that associated with consecutive-tap gesture.
  /external/autotest/server/cros/bluetooth/
bluetooth_adapter_tests.py     [all...]
  /development/cmds/monkey/src/com/android/commands/monkey/
MonkeySourceRandom.java 264 * @param gesture The gesture to perform.
267 private void generatePointerEvent(Random random, int gesture) {
281 if (gesture == GESTURE_DRAG) {
291 } else if (gesture == GESTURE_PINCH_OR_ZOOM) {

Completed in 527 milliseconds

1 2