Home
last modified time | relevance | path

Searched refs:steps (Results 1 – 25 of 193) sorted by relevance

12345678

/aosp12/frameworks/base/services/tests/servicestests/src/com/android/server/accessibility/
H A DGestureDescriptionTest.java147 List<GestureStep> steps = MotionEventGenerator in testPathsWithOverlappingTiming_produceCorrectSteps() local
153 assertThat(steps.get(1), allOf(numTouchPointsIs(1), noStartsOrEnds(), in testPathsWithOverlappingTiming_produceCorrectSteps()
209 List<GestureStep> steps = MotionEventGenerator in testMaxTouchpoints_shouldHaveValidCoords() local
211 assertEquals(3, steps.size()); in testMaxTouchpoints_shouldHaveValidCoords()
223 assertThat(steps.get(0), in testMaxTouchpoints_shouldHaveValidCoords()
225 assertThat(steps.get(1), in testMaxTouchpoints_shouldHaveValidCoords()
227 assertThat(steps.get(2), in testMaxTouchpoints_shouldHaveValidCoords()
250 List<GestureStep> steps = MotionEventGenerator in testGetGestureSteps_continuedStroke_hasNoEndPoint() local
253 assertThat(steps, everyItem(numEndsOfStroke(0))); in testGetGestureSteps_continuedStroke_hasNoEndPoint()
265 List<GestureStep> steps = MotionEventGenerator in testGetGestureSteps_continuingStroke_hasNoStartPointAndHasContinuedId() local
[all …]
/aosp12/frameworks/base/cmds/uiautomator/library/core-src/com/android/uiautomator/core/
H A DUiObject.java221 steps, true); in dragTo()
241 Tracer.trace(steps); in swipeUp()
247 steps); in swipeUp()
269 Tracer.trace(steps); in swipeDown()
297 Tracer.trace(steps); in swipeLeft()
324 Tracer.trace(steps); in swipeRight()
1004 Point endPoint2, int steps) { in performTwoPointerGesture() argument
1007 if(steps == 0) in performTwoPointerGesture()
1008 steps = 1; in performTwoPointerGesture()
1053 points1[steps + 1] = p1; in performTwoPointerGesture()
[all …]
H A DUiScrollable.java414 public boolean scrollForward(int steps) throws UiObjectNotFoundException { in scrollForward() argument
415 Tracer.trace(steps); in scrollForward()
447 return getInteractionController().scrollSwipe(downX, downY, upX, upY, steps); in scrollForward()
493 public boolean scrollBackward(int steps) throws UiObjectNotFoundException { in scrollBackward() argument
494 Tracer.trace(steps); in scrollBackward()
528 return getInteractionController().scrollSwipe(downX, downY, upX, upY, steps); in scrollBackward()
542 Tracer.trace(maxSwipes, steps); in scrollToBeginning()
546 if(!scrollBackward(steps)) { in scrollToBeginning()
593 public boolean scrollToEnd(int maxSwipes, int steps) throws UiObjectNotFoundException { in scrollToEnd() argument
594 Tracer.trace(maxSwipes, steps); in scrollToEnd()
[all …]
/aosp12/frameworks/base/services/core/java/com/android/server/vibrator/
H A DRampToStepAdapter.java55 List<StepSegment> steps = apply((RampSegment) segment); in apply() local
57 segments.addAll(i, steps); in apply()
58 int addedSegments = steps.size() - 1; in apply()
76 List<StepSegment> steps = new ArrayList<>(); in apply() local
80 steps.add(new StepSegment( in apply()
86 steps.add(new StepSegment(ramp.getEndAmplitude(), ramp.getEndFrequency(), duration)); in apply()
87 return steps; in apply()
/aosp12/packages/modules/NeuralNetworks/runtime/test/
H A DTestFailingDriver.cpp150 const std::vector<std::shared_ptr<LogicalStep>>& steps = plan.forTest_compoundGetSteps(); in TEST_F() local
151 ASSERT_EQ(steps.size(), 6u); in TEST_F()
152 ASSERT_TRUE(steps[0]->isWhile()); in TEST_F()
153 ASSERT_TRUE(steps[1]->isExecution()); in TEST_F()
154 ASSERT_EQ(steps[1]->executionStep()->getDevice(), DeviceManager::getCpuDevice()); in TEST_F()
155 ASSERT_TRUE(steps[2]->isGoto()); in TEST_F()
156 ASSERT_TRUE(steps[3]->isExecution()); in TEST_F()
157 ASSERT_EQ(steps[3]->executionStep()->getDevice(), DeviceManager::getCpuDevice()); in TEST_F()
158 ASSERT_TRUE(steps[4]->isGoto()); in TEST_F()
159 ASSERT_TRUE(steps[5]->isExecution()); in TEST_F()
[all …]
/aosp12/packages/modules/GeoTZ/data_pipeline/src/test/java/com/android/timezone/location/data_pipeline/steps/tzs2cellunions_to_tzs2ranges/
H A DTzS2CellUnionsToTzS2RangesTest.java17 package com.android.timezone.location.data_pipeline.steps.tzs2cellunions_to_tzs2ranges;
19 import static com.android.timezone.location.data_pipeline.steps.TestSupport.copyTestResource;
23 import com.android.timezone.location.data_pipeline.steps.TestSupport;
24 import com.android.timezone.location.data_pipeline.steps.Types.ProtoStorageFormat;
25 import com.android.timezone.location.data_pipeline.steps.Types.TzS2Ranges;
26 import com.android.timezone.location.data_pipeline.steps.TzIds;
27 import com.android.timezone.location.data_pipeline.steps.TzS2CellUnionsToTzS2Ranges;
/aosp12/packages/modules/GeoTZ/data_pipeline/src/test/java/com/android/timezone/location/data_pipeline/steps/tzs2polygons_tzs2cellunions/
H A DTzS2PolygonsToTzS2CellUnionsTest.java17 package com.android.timezone.location.data_pipeline.steps.tzs2polygons_tzs2cellunions;
19 import static com.android.timezone.location.data_pipeline.steps.TestSupport.copyTestResource;
23 import com.android.timezone.location.data_pipeline.steps.TestSupport;
24 import com.android.timezone.location.data_pipeline.steps.Types.ProtoStorageFormat;
25 import com.android.timezone.location.data_pipeline.steps.Types.TzS2CellUnion;
26 import com.android.timezone.location.data_pipeline.steps.TzIds;
27 import com.android.timezone.location.data_pipeline.steps.TzS2PolygonsToTzS2CellUnions;
/aosp12/packages/modules/GeoTZ/data_pipeline/src/test/java/com/android/timezone/location/data_pipeline/steps/geojsontz_to_tzs2polygons/
H A DGeoJsonTzToTzS2PolygonsTest.java17 package com.android.timezone.location.data_pipeline.steps.geojsontz_to_tzs2polygons;
19 import static com.android.timezone.location.data_pipeline.steps.TestSupport.copyTestResource;
23 import com.android.timezone.location.data_pipeline.steps.GeoJsonTzToTzS2Polygons;
24 import com.android.timezone.location.data_pipeline.steps.TestSupport;
25 import com.android.timezone.location.data_pipeline.steps.Types.ProtoStorageFormat;
26 import com.android.timezone.location.data_pipeline.steps.Types.TzS2Polygons;
27 import com.android.timezone.location.data_pipeline.steps.TzIds;
/aosp12/packages/modules/GeoTZ/data_pipeline/src/test/java/com/android/timezone/location/data_pipeline/steps/canonicalizetzs2polygons/
H A DCanonicalizeTzS2PolygonsTest.java17 package com.android.timezone.location.data_pipeline.steps.canonicalizetzs2polygons;
19 import static com.android.timezone.location.data_pipeline.steps.TestSupport.copyTestResource;
20 import static com.android.timezone.location.data_pipeline.steps.TestSupport.copyTestResourceWithout…
21 import static com.android.timezone.location.data_pipeline.steps.Types.DEFAULT_PROTO_STORAGE_FORMAT;
25 import com.android.timezone.location.data_pipeline.steps.CanonicalizeTzS2Polygons;
26 import com.android.timezone.location.data_pipeline.steps.TestSupport;
27 import com.android.timezone.location.data_pipeline.steps.Types.TzS2Polygons;
/aosp12/packages/modules/GeoTZ/data_pipeline/src/test/java/com/android/timezone/location/data_pipeline/steps/mergetzs2ranges/
H A DMergeTzS2RangesTest.java17 package com.android.timezone.location.data_pipeline.steps.mergetzs2ranges;
19 import static com.android.timezone.location.data_pipeline.steps.TestSupport.copyTestResource;
23 import com.android.timezone.location.data_pipeline.steps.MergeTzS2Ranges;
24 import com.android.timezone.location.data_pipeline.steps.TestSupport;
25 import com.android.timezone.location.data_pipeline.steps.Types.ProtoStorageFormat;
26 import com.android.timezone.location.data_pipeline.steps.Types.TzS2Ranges;
/aosp12/packages/modules/NetworkStack/tests/unit/src/com/android/server/connectivity/ipmemorystore/
H A DRelevanceUtilsTests.java78 final int steps = 1000;
79 for (int i = 0; i < steps; ++i) {
94 fail("Relevance failed to go to the maximum value after " + steps + " bumps");
138 final int steps = 40;
142 for (int i = 0; i < steps; ++i) {
143 final long date = expiry - i * (RelevanceUtils.CAPPED_RELEVANCE_LIFETIME_MS / steps);
/aosp12/packages/modules/GeoTZ/data_pipeline/src/test/java/com/android/timezone/location/data_pipeline/steps/createtzs2protodatafile/
H A DCreateTzS2ProtoDataFileTest.java17 package com.android.timezone.location.data_pipeline.steps.createtzs2protodatafile;
19 import static com.android.timezone.location.data_pipeline.steps.TestSupport.copyTestResource;
23 import com.android.timezone.location.data_pipeline.steps.CreateTzS2ProtoDataFile;
24 import com.android.timezone.location.data_pipeline.steps.TestSupport;
25 import com.android.timezone.location.data_pipeline.steps.Types.ProtoStorageFormat;
/aosp12/packages/apps/Gallery2/src/com/android/gallery3d/filtershow/pipeline/
H A DCacheProcessing.java71 Vector<CacheStep> steps = new Vector<CacheStep>(); in buildSteps() local
78 steps.add(step); in buildSteps()
83 steps.add(step); in buildSteps()
84 return steps; in buildSteps()
144 Vector<CacheStep> steps = CacheStep.buildSteps(filters); in process() local
146 if (steps.size() != mSteps.size()) { in process()
147 mSteps = steps; in process()
158 for (int i = 0; i < steps.size(); i++) { in process()
159 CacheStep newStep = steps.elementAt(i); in process()
/aosp12/packages/modules/GeoTZ/data_pipeline/
H A DAndroid.bp36 // A library containing the code for the pipeline steps defined below.
60 main_class: "com.android.timezone.location.data_pipeline.steps.GeoJsonTzToTzS2Polygons",
70 main_class: "com.android.timezone.location.data_pipeline.steps.CanonicalizeTzS2Polygons",
79 main_class: "com.android.timezone.location.data_pipeline.steps.TzS2PolygonsToTzS2CellUnions",
88 main_class: "com.android.timezone.location.data_pipeline.steps.TzS2CellUnionsToTzS2Ranges",
98 main_class: "com.android.timezone.location.data_pipeline.steps.MergeTzS2Ranges",
108 main_class: "com.android.timezone.location.data_pipeline.steps.CreateTzS2ProtoDataFile",
135 // Tests for the pipeline steps.
/aosp12/packages/modules/GeoTZ/data_pipeline/src/debug/java/com/android/timezone/location/data_pipeline/tools/
H A DPrintTzS2RangeStats.java19 import com.android.timezone.location.data_pipeline.steps.Types;
20 import com.android.timezone.location.data_pipeline.steps.Types.ProtoStorageFormat;
21 import com.android.timezone.location.data_pipeline.steps.Types.TzS2Range;
22 import com.android.timezone.location.data_pipeline.steps.Types.TzS2Ranges;
/aosp12/packages/apps/DocumentsUI/tests/common/com/android/documentsui/bots/
H A DGestureBot.java90 public void bandSelection(Point start, Point end, int steps) throws Exception { in bandSelection() argument
93 swipe(start.x, start.y, end.x, end.y, steps, MotionEvent.BUTTON_PRIMARY, false); in bandSelection()
97 private void fingerSelection(Point start, Point end, int steps) throws Exception { in fingerSelection() argument
100 swipe(start.x, start.y, end.x, end.y, steps, MotionEvent.BUTTON_PRIMARY, true); in fingerSelection()
115 private void swipe(int downX, int downY, int upX, int upY, int steps, int button, in swipe() argument
117 int swipeSteps = steps; in swipe()
/aosp12/packages/modules/GeoTZ/data_pipeline/src/main/java/com/android/timezone/location/data_pipeline/steps/
H A DTzS2CellUnionsToTzS2Ranges.java17 package com.android.timezone.location.data_pipeline.steps;
21 import com.android.timezone.location.data_pipeline.steps.Types.Pair;
22 import com.android.timezone.location.data_pipeline.steps.Types.ProtoStorageFormat;
23 import com.android.timezone.location.data_pipeline.steps.Types.TzS2CellUnion;
24 import com.android.timezone.location.data_pipeline.steps.Types.TzS2Range;
25 import com.android.timezone.location.data_pipeline.steps.Types.TzS2Ranges;
H A DCreateTzS2ProtoDataFile.java17 package com.android.timezone.location.data_pipeline.steps;
21 import com.android.timezone.location.data_pipeline.steps.Types.ProtoStorageFormat;
22 import com.android.timezone.location.data_pipeline.steps.Types.TzS2Range;
23 import com.android.timezone.location.data_pipeline.steps.Types.TzS2Ranges;
H A DTzS2PolygonsToTzS2CellUnions.java17 package com.android.timezone.location.data_pipeline.steps;
21 import com.android.timezone.location.data_pipeline.steps.Types.Pair;
22 import com.android.timezone.location.data_pipeline.steps.Types.ProtoStorageFormat;
23 import com.android.timezone.location.data_pipeline.steps.Types.TzS2CellUnion;
24 import com.android.timezone.location.data_pipeline.steps.Types.TzS2Polygons;
/aosp12/frameworks/rs/tests/java_api/ImageProcessing/src/com/android/rs/image/
H A DHistogram.java37 int steps = (h + step - 1) / step; in createTest() local
42 mScript.set_gSteps(steps); in createTest()
45 tb.setX(256).setY(steps); in createTest()
/aosp12/frameworks/base/core/tests/coretests/src/android/view/
H A DVelocityTest.java257 private void drag(VelocityTracker vt, int startX, int endX, int startY, int endY, int steps, in drag() argument
259 drag(vt, startX, endX, startY, endY, steps, startime, duration, new LinearInterpolator()); in drag()
266 private void drag(VelocityTracker vt, int startX, int endX, int startY, int endY, int steps, in drag() argument
269 float dt = duration / (float)steps; in drag()
272 for (int i=1; i<steps-1; i++) { in drag()
273 float ii = interpolator.getInterpolation(i / (float)steps); in drag()
/aosp12/build/make/core/
H A Dcleanbuild.mk105 steps := \
107 $(foreach step,$(steps), \
123 $(foreach step,$(steps), \
133 steps :=
/aosp12/frameworks/rs/tests/java_api/ImageProcessing_jb/src/com/android/rs/image/
H A DHistogram.java43 int steps = (h + step - 1) / step; in createTest() local
48 mScript.set_gSteps(steps); in createTest()
51 tb.setX(256).setY(steps); in createTest()
/aosp12/build/soong/bpfix/bpfix/
H A Dbpfix.go48 steps []FixStep member
142 result.steps = append([]FixStep(nil), r.steps...)
143 result.steps = append(result.steps, fixSteps...)
145 result.steps = append(result.steps, extension.Steps...)
151 result.steps = append([]FixStep(nil), r.steps...)
152 result.steps = append(result.steps, fixSteps...)
157 result.steps = append([]FixStep(nil), r.steps...)
160 result.steps = append(result.steps, extension.Steps...)
249 for _, fix := range config.steps {
/aosp12/packages/apps/Settings/src/com/android/settings/widget/
H A DDotsPageIndicator.java573 final int steps = Math.abs(now - was); in setSelectedPage() local
574 moveAnimation = createMoveSelectedAnimator(dotCenterX[now], was, now, steps); in setSelectedPage()
579 joiningAnimations = new ValueAnimator[steps]; in setSelectedPage()
580 for (int i = 0; i < steps; i++) { in setSelectedPage()
593 int steps) { in createMoveSelectedAnimator() argument
598 retreatAnimation = new PendingRetreatAnimator(was, now, steps, in createMoveSelectedAnimator()
759 public PendingRetreatAnimator(int was, int now, int steps, StartPredicate predicate) { in PendingRetreatAnimator() argument
775 revealAnimations = new PendingRevealAnimator[steps]; in PendingRetreatAnimator()
780 final int[] dotsToHide = new int[steps]; in PendingRetreatAnimator()
784 for (int i = 0; i < steps; i++) { in PendingRetreatAnimator()
[all …]

12345678