Home
last modified time | relevance | path

Searched refs:GestureDescription (Results 1 – 8 of 8) sorted by relevance

/frameworks/base/services/tests/servicestests/src/com/android/server/accessibility/
DGestureDescriptionTest.java23 import android.accessibilityservice.GestureDescription;
24 import android.accessibilityservice.GestureDescription.GestureStep;
25 import android.accessibilityservice.GestureDescription.MotionEventGenerator;
26 import android.accessibilityservice.GestureDescription.StrokeDescription;
48 GestureDescription.Builder clickBuilder = new GestureDescription.Builder(); in testGestureShorterThanSampleRate_producesStartAndEnd()
50 GestureDescription clickGesture = clickBuilder.build(); in testGestureShorterThanSampleRate_producesStartAndEnd()
71 GestureDescription swipe = in testSwipe_shouldContainEvenlySpacedPoints()
93 GestureDescription swipe = createSwipe(10.1f, 20.6f, 11.9f, 22.1f, strokeTime); in testSwipeWithNonIntegerValues_shouldRound()
142 GestureDescription.Builder builder = new GestureDescription.Builder(); in testPathsWithOverlappingTiming_produceCorrectSteps()
195 GestureDescription.Builder maxPointBuilder = new GestureDescription.Builder(); in testMaxTouchpoints_shouldHaveValidCoords()
[all …]
DMotionEventInjectorTest.java40 import android.accessibilityservice.GestureDescription.GestureStep;
41 import android.accessibilityservice.GestureDescription.TouchPoint;
/frameworks/base/core/java/android/accessibilityservice/
DGestureDescription.java40 public final class GestureDescription { class
70 private GestureDescription() {} in GestureDescription() method in GestureDescription
72 private GestureDescription(List<StrokeDescription> strokes) { in GestureDescription() method in GestureDescription
190 public GestureDescription build() { in build()
194 return new GestureDescription(mStrokes); in build()
522 GestureDescription description, int sampleTimeMs) { in getGestureStepsFromGestureDescription()
DAccessibilityService.java19 import android.accessibilityservice.GestureDescription.MotionEventGenerator;
653 public final boolean dispatchGesture(@NonNull GestureDescription gesture, in dispatchGesture()
662 List<GestureDescription.GestureStep> steps = in dispatchGesture()
1829 public void onCompleted(GestureDescription gestureDescription) {
1836 public void onCancelled(GestureDescription gestureDescription) {
1842 GestureDescription gestureDescription;
1846 GestureResultCallbackInfo(GestureDescription gestureDescription,
/frameworks/base/services/accessibility/java/com/android/server/accessibility/
DMotionEventInjector.java19 import android.accessibilityservice.GestureDescription;
20 import android.accessibilityservice.GestureDescription.GestureStep;
21 import android.accessibilityservice.GestureDescription.TouchPoint;
351 GestureDescription.GestureStep step = steps.get(i); in getMotionEventsFromGestureSteps()
371 int capacity = GestureDescription.getMaxStrokeCount(); in getLastTouchPoints()
374 mLastTouchPoints[i] = new GestureDescription.TouchPoint(); in getLastTouchPoints()
DAccessibilityManagerService.java26 import android.accessibilityservice.GestureDescription;
3319 List<GestureDescription.GestureStep> steps = gestureSteps.getList(); in sendGesture()
/frameworks/base/api/
Dcurrent.txt2734 …method public final boolean dispatchGesture(android.accessibilityservice.GestureDescription, andro…
2782 method public void onCancelled(android.accessibilityservice.GestureDescription);
2783 method public void onCompleted(android.accessibilityservice.GestureDescription);
2878 public final class GestureDescription {
2881 method public android.accessibilityservice.GestureDescription.StrokeDescription getStroke(int);
2885 public static class GestureDescription.Builder {
2886 ctor public GestureDescription.Builder();
2887 …blic android.accessibilityservice.GestureDescription.Builder addStroke(android.accessibilityservic…
2888 method public android.accessibilityservice.GestureDescription build();
2891 public static class GestureDescription.StrokeDescription {
[all …]
Dsystem-current.txt2864 …method public final boolean dispatchGesture(android.accessibilityservice.GestureDescription, andro…
2912 method public void onCancelled(android.accessibilityservice.GestureDescription);
2913 method public void onCompleted(android.accessibilityservice.GestureDescription);
3008 public final class GestureDescription {
3011 method public android.accessibilityservice.GestureDescription.StrokeDescription getStroke(int);
3015 public static class GestureDescription.Builder {
3016 ctor public GestureDescription.Builder();
3017 …blic android.accessibilityservice.GestureDescription.Builder addStroke(android.accessibilityservic…
3018 method public android.accessibilityservice.GestureDescription build();
3021 public static class GestureDescription.StrokeDescription {
[all …]