/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...] |
/cts/tests/accessibilityservice/src/android/accessibilityservice/cts/ |
GestureDescriptionTest.java | 24 * Tests for creating gesture descriptions. 172 fail("Missing exception for building an empty gesture."); 190 GestureDescription gesture = builder.build(); local 192 assertEquals(1, gesture.getStrokeCount()); 193 strokeDescription = gesture.getStroke(0);
|
AccessibilityGestureDispatchTest.java | 468 GestureDescription gesture = new GestureDescription.Builder().addStroke(stroke2).build(); local 470 mService.runOnServiceSync(() -> mService.doDispatchGesture(gesture, mCallback, null)); 511 assertTrue("Gesture did not complete. Canceled = " + mCancelled, mCompleted); 523 assertTrue("Gesture did not cancel. Completed = " + mCompleted, mCancelled); 628 /* Build points for a horizontal gesture centered at the origin */
|
/cts/tests/tests/gesture/src/android/gesture/cts/ |
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...] |
/device/google/dragon/sensor_hub/ |
sensors.cpp | 306 int gesture; local 307 for (gesture = 0; gesture < CROS_EC_MAX_GESTURE; gesture++) { 308 if (!strcmp(ent_event->d_name, cros_ec_gesture_name[gesture])) 311 if (gesture == CROS_EC_MAX_GESTURE) 313 int gesture_id = cros_ec_gesture_id[gesture]; 326 gesture_info->enable_entry = cros_ec_gesture_name[gesture]; 330 memcpy(sensor_data, &sGestureListTemplate[gesture], sizeof(sensor_t)); 333 ALOGD("new gesture '%s' on device '%s' : handle: %d\n" [all...] |
/frameworks/base/core/java/android/gesture/ |
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.
|
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 the gesture to be sample [all...] |
GestureOverlayView.java | 17 package android.gesture; 39 * A transparent overlay for gesture input that can be placed on top of other 105 // current gesture 106 private Gesture mCurrentGesture; 284 public Gesture getGesture() { 288 public void setGesture(Gesture gesture) { 294 mCurrentGesture = gesture; 467 // add the stroke to the current gesture 587 mCurrentGesture = new Gesture(); [all...] |
/frameworks/base/services/tests/servicestests/src/com/android/server/accessibility/ |
GestureDescriptionTest.java | 249 GestureDescription gesture = new GestureDescription.Builder().addStroke(stroke1).build(); local 251 .getGestureStepsFromGestureDescription(gesture, 10); 264 GestureDescription gesture = new GestureDescription.Builder().addStroke(stroke2).build(); local 266 .getGestureStepsFromGestureDescription(gesture, 10);
|
MotionEventInjectorTest.java | 397 // Timing will restart when the gesture continues 699 List<GestureStep> gesture = new ArrayList<>(points.length); local 716 List<GestureStep> gesture = new ArrayList<>(list1.size()); local [all...] |
/packages/inputmethods/LatinIME/tests/src/com/android/inputmethod/latin/ |
InputTestsBase.java | 67 // We wait for gesture computation for this delay 325 protected void gesture(final String stringToGesture) { method in class:InputTestsBase 327 throw new RuntimeException("Can't gesture strings less than 2 chars long"); 333 int timestamp = 0; // In milliseconds since the start of the gesture
|
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/editors/layout/gle2/ |
GestureManager.java | 66 /** The currently executing gesture, or null. */ 67 private Gesture mCurrentGesture; 75 /** Tooltip shown during the gesture, or null */ 103 * scenarios (such as on a drag gesture) we don't get access to it. 120 * current gesture as a {@link #mZombieGesture}, since the gesture is dead 122 * {@link DropTargetListener#dragEnter} before another gesture begins. 156 * Returns the current gesture, if one is in progress, and otherwise returns 159 * @return The current gesture or null. 161 public Gesture getCurrentGesture() 661 Gesture gesture = mCurrentGesture != null ? mCurrentGesture : mZombieGesture; local 675 Gesture gesture = mCurrentGesture != null ? mCurrentGesture : mZombieGesture; local [all...] |
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/ |
NotificationPanelView.java | 126 * If set, the ongoing touch gesture might both trigger the expansion in {@link PanelView} and 132 * Whether we are currently handling a motion gesture in #onInterceptTouchEvent, but haven't 177 // Used for two finger gesture as well as accessibility shortcut to QS. 655 // gesture is ongoing, find a new pointer to track 732 final int gesture = mStatusBarState == StatusBarState.KEYGUARD local 735 mLockscreenGestureLogger.write(gesture, [all...] |
/external/robolectric/v3/runtime/ |
android-all-4.1.2_r1-robolectric-0.jar | |
android-all-4.2.2_r1.2-robolectric-0.jar | |
android-all-4.3_r2-robolectric-0.jar | |
/prebuilts/misc/common/robolectric/lib/ |
android-all-4.1.2_r1-robolectric-0.jar | |
android-all-4.2.2_r1.2-robolectric-0.jar | |
android-all-4.3_r2-robolectric-0.jar | |
/prebuilts/misc/common/ub-uiautomator/ |
ub-uiautomator.jar | |
/prebuilts/sdk/current/ |
android.jar | |
/prebuilts/sdk/system_current/ |
android.jar | |
/external/robolectric/v1/lib/main/ |
android.jar | |
/prebuilts/sdk/10/ |
android.jar | |
/prebuilts/sdk/11/ |
android.jar | |