Home
last modified time | relevance | path

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

/cts/tests/tests/gesture/src/android/gesture/cts/
DGestureLibraryTest.java16 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) { in addGesture() argument
44 mGestureLibrary.addGesture(entryName, gesture); in addGesture()
63 public ArrayList<Prediction> recognize(Gesture gesture) { in recognize() argument
64 return mGestureLibrary.recognize(gesture); in recognize()
71 public void removeGesture(String entryName, Gesture gesture) { in removeGesture() argument
72 mGestureLibrary.removeGesture(entryName, gesture); in removeGesture()
DGestureStorageAccessor.java16 package android.gesture.cts;
18 import android.gesture.Gesture;
19 import android.gesture.Prediction;
32 void addGesture(String entryName, Gesture gesture); in addGesture() argument
42 ArrayList<Prediction> recognize(Gesture gesture); in recognize() argument
46 void removeGesture(String entryName, Gesture gesture); in removeGesture() argument
DGestureStoreTest.java16 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) { in addGesture() argument
47 mGestureStore.addGesture(entryName, gesture); in addGesture()
66 public ArrayList<Prediction> recognize(Gesture gesture) { in recognize() argument
67 return mGestureStore.recognize(gesture); in recognize()
74 public void removeGesture(String entryName, Gesture gesture) { in removeGesture() argument
75 mGestureStore.removeGesture(entryName, gesture); in removeGesture()
DGestureStrokeTest.java16 package android.gesture.cts;
19 import android.gesture.GesturePoint;
20 import android.gesture.GestureStroke;
21 import android.gesture.OrientedBoundingBox;
DGestureComparator.java17 package android.gesture.cts;
19 import android.gesture.Gesture;
20 import android.gesture.GestureStroke;
DGestureStorageTester.java16 package android.gesture.cts;
18 import android.gesture.Gesture;
19 import android.gesture.GestureStroke;
20 import android.gesture.Prediction;
DLineGestureStrokeHelper.java16 package android.gesture.cts;
18 import android.gesture.GesturePoint;
19 import android.gesture.GestureStroke;
DGesturePointTest.java16 package android.gesture.cts;
19 import android.gesture.GesturePoint;
DGestureTest.java16 package android.gesture.cts;
18 import android.gesture.Gesture;
19 import android.gesture.GestureStroke;
/cts/tests/accessibilityservice/src/android/accessibilityservice/cts/
DGestureDescriptionTest.java224 GestureDescription gesture = builder.build(); in testStrokeDescriptionGetters_workAsExpected() local
226 assertEquals(1, gesture.getStrokeCount()); in testStrokeDescriptionGetters_workAsExpected()
227 strokeDescription = gesture.getStroke(0); in testStrokeDescriptionGetters_workAsExpected()
244 GestureDescription gesture = builder.build(); in testSetDisplayId_getCorrectDisplayId() local
246 assertEquals(2, gesture.getDisplayId()); in testSetDisplayId_getCorrectDisplayId()
DAccessibilityGestureDetectorTest.java367 GestureDescription gesture = new GestureDescription.Builder() in testPath() local
373 testGesture(gesture, gestureId, displayId); in testPath()
377 private void testGesture(GestureDescription gesture, int gestureId, int displayId) { in testGesture() argument
383 mService.dispatchGesture(gesture, mGestureDispatchCallback, null)); in testGesture()
497 GestureDescription gesture = swipe(displayId); in testDispatchGesture_privateDisplay_gestureCancelled() local
500 mService.dispatchGesture(gesture, mGestureDispatchCallback, null)); in testDispatchGesture_privateDisplay_gestureCancelled()
507 private void assertEventAfterGesture(GestureDescription gesture, int... events) { in assertEventAfterGesture() argument
510 () -> mService.dispatchGesture(gesture, mGestureDispatchCallback, null)); in assertEventAfterGesture()
DFullScreenMagnificationGestureHandlerTest.java322 public void dispatch(GestureDescription gesture) { in dispatch() argument
323 await(dispatchGesture(mService, gesture)); in dispatch()
DTouchExplorerTest.java612 public void dispatch(GestureDescription gesture) { in dispatch() argument
613 await(dispatchGesture(mService, gesture)); in dispatch()
DAccessibilityGestureDispatchTest.java272 public void dispatch(GestureDescription gesture, int timeoutMs) { in dispatch() argument
273 await(dispatchGesture(mService, gesture), timeoutMs, MILLISECONDS); in dispatch()
/cts/tests/accessibilityservice/src/android/accessibilityservice/cts/utils/
DGestureUtils.java57 GestureDescription gesture) { in dispatchGesture() argument
71 if (!service.dispatchGesture(gesture, callback, null)) { in dispatchGesture()
/cts/tests/tests/view/src/android/view/cts/
DViewTest.java5581 android.gesture.GestureOverlayView.class,