Home
last modified time | relevance | path

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

123

/frameworks/base/services/tests/servicestests/src/com/android/server/accessibility/
DGestureDescriptionTest.java147 List<GestureStep> steps = MotionEventGenerator in testPathsWithOverlappingTiming_produceCorrectSteps() local
151 assertThat(steps.get(0), allOf(numStartsOfStroke(1), numEndsOfStroke(0), isAtTime(start), in testPathsWithOverlappingTiming_produceCorrectSteps()
153 assertThat(steps.get(1), allOf(numTouchPointsIs(1), noStartsOrEnds(), in testPathsWithOverlappingTiming_produceCorrectSteps()
155 assertThat(steps.get(2), allOf(numTouchPointsIs(1), isAtTime(start + deltaT * 2))); in testPathsWithOverlappingTiming_produceCorrectSteps()
156 assertThat(steps.get(3), allOf(numTouchPointsIs(1), isAtTime(start + deltaT * 3))); in testPathsWithOverlappingTiming_produceCorrectSteps()
157 assertThat(steps.get(4), allOf(numTouchPointsIs(1), isAtTime(start + deltaT * 4))); in testPathsWithOverlappingTiming_produceCorrectSteps()
159 assertThat(steps.get(5), allOf(numTouchPointsIs(3), numStartsOfStroke(2), in testPathsWithOverlappingTiming_produceCorrectSteps()
164 assertThat(steps.get(6), allOf(numTouchPointsIs(3), isAtTime(start + deltaT * 1))); in testPathsWithOverlappingTiming_produceCorrectSteps()
165 assertThat(steps.get(7), allOf(noStartsOrEnds(), isAtTime(start + deltaT * 2))); in testPathsWithOverlappingTiming_produceCorrectSteps()
166 assertThat(steps.get(8), allOf(numTouchPointsIs(3), isAtTime(start + deltaT * 3))); in testPathsWithOverlappingTiming_produceCorrectSteps()
[all …]
/frameworks/base/cmds/uiautomator/library/core-src/com/android/uiautomator/core/
DUiObject.java198 public boolean dragTo(UiObject destObj, int steps) throws UiObjectNotFoundException { in dragTo() argument
202 dstRect.centerX(), dstRect.centerY(), steps, true); in dragTo()
218 public boolean dragTo(int destX, int destY, int steps) throws UiObjectNotFoundException { in dragTo() argument
221 steps, true); in dragTo()
240 public boolean swipeUp(int steps) throws UiObjectNotFoundException { in swipeUp() argument
241 Tracer.trace(steps); in swipeUp()
247 steps); in swipeUp()
268 public boolean swipeDown(int steps) throws UiObjectNotFoundException { in swipeDown() argument
269 Tracer.trace(steps); in swipeDown()
275 rect.bottom - SWIPE_MARGIN_LIMIT, steps); in swipeDown()
[all …]
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()
541 public boolean scrollToBeginning(int maxSwipes, int steps) throws UiObjectNotFoundException { in scrollToBeginning() argument
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
[all …]
DUiDevice.java430 public boolean swipe(int startX, int startY, int endX, int endY, int steps) { in swipe() argument
431 Tracer.trace(startX, startY, endX, endY, steps); in swipe()
433 .swipe(startX, startY, endX, endY, steps); in swipe()
451 public boolean drag(int startX, int startY, int endX, int endY, int steps) { in drag() argument
452 Tracer.trace(startX, startY, endX, endY, steps); in drag()
454 .swipe(startX, startY, endX, endY, steps, true); in drag()
DInteractionController.java347 final int steps) {
349 + upY + ", " + steps +")");
354 swipe(downX, downY, upX, upY, steps);
422 public boolean swipe(int downX, int downY, int upX, int upY, int steps) {
423 return swipe(downX, downY, upX, upY, steps, false /*drag*/);
436 public boolean swipe(int downX, int downY, int upX, int upY, int steps, boolean drag) {
438 int swipeSteps = steps;
/frameworks/ml/nn/runtime/test/
DTestFailingDriver.cpp151 const std::vector<std::shared_ptr<LogicalStep>>& steps = plan.forTest_compoundGetSteps(); in TEST_F() local
152 ASSERT_EQ(steps.size(), 6u); in TEST_F()
153 ASSERT_TRUE(steps[0]->isWhile()); in TEST_F()
154 ASSERT_TRUE(steps[1]->isExecution()); in TEST_F()
155 ASSERT_EQ(steps[1]->executionStep()->getDevice(), DeviceManager::getCpuDevice()); in TEST_F()
156 ASSERT_TRUE(steps[2]->isGoto()); in TEST_F()
157 ASSERT_TRUE(steps[3]->isExecution()); in TEST_F()
158 ASSERT_EQ(steps[3]->executionStep()->getDevice(), DeviceManager::getCpuDevice()); in TEST_F()
159 ASSERT_TRUE(steps[4]->isGoto()); in TEST_F()
160 ASSERT_TRUE(steps[5]->isExecution()); in TEST_F()
[all …]
DTestPartitioning.cpp1703 const auto& steps = plan.forTest_compoundGetSteps(); in TEST_F() local
1704 ASSERT_EQ(steps.size(), size_t(3)); in TEST_F()
1706 const auto& step0 = steps[0]; in TEST_F()
1728 const auto& step1 = steps[1]; in TEST_F()
1750 const auto& step2 = steps[2]; in TEST_F()
1849 const auto& steps = plan.forTest_compoundGetSteps(); in TEST_F() local
1850 ASSERT_EQ(steps.size(), size_t(2)); in TEST_F()
1861 compare(steps[0], &model0, devices[0], in TEST_F()
1878 compare(steps[1], &model1, devices[1], RemapVectorType{}, // modelInputs in TEST_F()
2093 const auto& steps = plan.forTest_compoundGetSteps(); in getTransformedCacheTokenSingle() local
[all …]
/frameworks/av/media/tests/benchmark/
DREADME.md6 This page describes steps to run the NDK and SDK layer test.
8 Run the following steps to build the test suite:
15 To run the test suite for measuring performance of the native layer, follow the following steps:
50 Setup steps are same as extractor.
60 Setup steps are same as extractor.
70 Setup steps are same as extractor.
78 To run the test suite for measuring performance of the SDK APIs, follow the following steps:
124 To run the test suite for measuring performance of the codec2 layer, follow the following steps:
143 Setup steps are same as [extractor](#extractor).
152 Setup steps are same as [extractor](#extractor).
/frameworks/rs/tests/java_api/ImageProcessing/src/com/android/rs/image/
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()
/frameworks/rs/tests/java_api/ImageProcessing_jb/src/com/android/rs/image/
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()
/frameworks/base/core/tests/coretests/src/android/view/
DVelocityTest.java238 private void drag(VelocityTracker vt, int startX, int endX, int startY, int endY, int steps, in drag() argument
240 drag(vt, startX, endX, startY, endY, steps, startime, duration, new LinearInterpolator()); in drag()
247 private void drag(VelocityTracker vt, int startX, int endX, int startY, int endY, int steps, in drag() argument
250 float dt = duration / (float)steps; in drag()
253 for (int i=1; i<steps-1; i++) { in drag()
254 float ii = interpolator.getInterpolation(i / (float)steps); in drag()
/frameworks/base/apct-tests/perftests/core/src/android/widget/
DEditTextLongTextPerfTest.java107 final int steps = 100; in testEditText() local
109 for (int i = 0; i < steps; i++) { in testEditText()
110 int offset = (editText.getText().length() * i) / steps; in testEditText()
/frameworks/base/apct-tests/perftests/core/src/android/text/
DDynamicLayoutPerfTest.java122 final int steps = 10;
124 for (int i = 0; i < steps; i++) {
125 int offset = (text.length() * i) / steps;
/frameworks/rs/tests/java_api/SSHealingBrush/src/rs/example/android/com/healingbrush/
Dhealing.rscript135 int steps = (int)hypot((float)width, (float)height);
136 rsDebug("find_region.rs:steps = ", steps);
145 for (int i = 0; i < steps; i++) {
DHealing.java159 … int steps = (int) Math.hypot(mRoiBounds.width(), mRoiBounds.height()); // match RS Single source in heal_orig() local
160 Log.v(TAG, "Healing_orig :steps = " + steps); in heal_orig()
161 for (int i = 0; i < steps; i++) { in heal_orig()
/frameworks/layoutlib/bridge/src/android/webkit/
DWebView.java132 public boolean canGoBackOrForward(int steps) { in canGoBackOrForward() argument
136 public void goBackOrForward(int steps) { in goBackOrForward() argument
/frameworks/base/startop/view_compiler/
DREADME.md41 To add a new DEX file test, follow these steps:
53 you can skip all of steps 2 and 3 above, and simplify steps 1 and 4.
/frameworks/base/core/tests/coretests/src/android/widget/espresso/
DDragAction.java311 float[][] steps = interpolate(startCoordinates, endCoordinates); in sendLinearDrag() local
312 final int delayBetweenMovements = DRAG_DURATION / steps.length; in sendLinearDrag()
320 for (int i = 0; i < steps.length; i++) { in sendLinearDrag()
321 if (!MotionEvents.sendMovement(uiController, downEvent, steps[i])) { in sendLinearDrag()
/frameworks/av/media/libstagefright/webm/tests/
DREADME.md6 Run the following steps to build the test suite:
/frameworks/rs/tests/java_api/HealingBrush/src/rs/example/android/com/healingbrush/
DHealing.java115 int steps = (int) Math.sqrt(area); in heal() local
117 for (int i = 0; i < steps; i++) { in heal()
/frameworks/native/opengl/tests/testViewport/
DREADME1 Repro steps:
/frameworks/av/media/libstagefright/codecs/amrwb/test/
DREADME.md6 Run the following steps to build the test suite:
/frameworks/av/media/libstagefright/flac/dec/test/
DREADME.md6 Run the following steps to build the test suite:
/frameworks/av/media/libstagefright/tests/writer/
DREADME.md6 Run the following steps to build the test suite:
/frameworks/native/opengl/tests/testPauseResume/
DREADME1 Repro steps:

123