Home
last modified time | relevance | path

Searched refs:StrokeDescription (Results 1 – 4 of 4) sorted by relevance

/frameworks/base/core/java/android/accessibilityservice/
DGestureDescription.java50 private final List<StrokeDescription> mStrokes = new ArrayList<>();
76 private GestureDescription(List<StrokeDescription> strokes) { in GestureDescription()
80 private GestureDescription(List<StrokeDescription> strokes, int displayId) { in GestureDescription()
101 public StrokeDescription getStroke(@IntRange(from = 0) int index) { in getStroke()
146 StrokeDescription strokeDescription = mStrokes.get(i); in getPointsForTime()
167 private static long getTotalDuration(List<StrokeDescription> paths) { in getTotalDuration()
170 StrokeDescription path = paths.get(i); in getTotalDuration()
181 private final List<StrokeDescription> mStrokes = new ArrayList<>();
194 public Builder addStroke(@NonNull StrokeDescription strokeDescription) { in addStroke()
236 public static class StrokeDescription { class in GestureDescription
[all …]
/frameworks/base/services/tests/servicestests/src/com/android/server/accessibility/
DGestureDescriptionTest.java26 import android.accessibilityservice.GestureDescription.StrokeDescription;
47 StrokeDescription clickStroke = new StrokeDescription(clickPath, 0, 10); in testGestureShorterThanSampleRate_producesStartAndEnd()
118 StrokeDescription path0Stroke = new StrokeDescription(path0, path0StartTime, path0Duration); in testPathsWithOverlappingTiming_produceCorrectSteps()
124 StrokeDescription path1Stroke = createSwipeStroke( in testPathsWithOverlappingTiming_produceCorrectSteps()
131 StrokeDescription path2Stroke = createSwipeStroke( in testPathsWithOverlappingTiming_produceCorrectSteps()
138 StrokeDescription path3Stroke = createSwipeStroke( in testPathsWithOverlappingTiming_produceCorrectSteps()
206 maxPointBuilder.addStroke(new StrokeDescription(path, 0, samplePeriod * numSamples)); in testMaxTouchpoints_shouldHaveValidCoords()
234 StrokeDescription swipeStroke = createSwipeStroke(10, 20, 30, 40, 0, 100); in testGetGestureSteps_touchPointsHaveStrokeId()
247 StrokeDescription stroke1 = in testGetGestureSteps_continuedStroke_hasNoEndPoint()
248 new StrokeDescription(swipePath, 0, 100, true); in testGetGestureSteps_continuedStroke_hasNoEndPoint()
[all …]
/frameworks/base/api/
Dcurrent.txt3065 …method public android.accessibilityservice.GestureDescription.StrokeDescription getStroke(@IntRang…
3071 …tion.Builder addStroke(@NonNull android.accessibilityservice.GestureDescription.StrokeDescription);
3076 public static class GestureDescription.StrokeDescription {
3077 …ctor public GestureDescription.StrokeDescription(@NonNull android.graphics.Path, @IntRange(from=0)…
3078 …ctor public GestureDescription.StrokeDescription(@NonNull android.graphics.Path, @IntRange(from=0)…
3079 …method public android.accessibilityservice.GestureDescription.StrokeDescription continueStroke(and…
/frameworks/base/tools/aapt2/integration-tests/CommandTests/
Dandroid-28.jarMETA-INF/ META-INF/MANIFEST.MF javax/ javax/net/ javax/ ...