Home
last modified time | relevance | path

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

1234567

/frameworks/base/cmds/uiautomator/library/core-src/com/android/uiautomator/core/
DUiObject.java195 public boolean dragTo(UiObject destObj, int steps) throws UiObjectNotFoundException { in dragTo() argument
199 dstRect.centerX(), dstRect.centerY(), steps, true); in dragTo()
215 public boolean dragTo(int destX, int destY, int steps) throws UiObjectNotFoundException { in dragTo() argument
218 steps, true); in dragTo()
237 public boolean swipeUp(int steps) throws UiObjectNotFoundException { in swipeUp() argument
238 Tracer.trace(steps); in swipeUp()
244 steps); in swipeUp()
265 public boolean swipeDown(int steps) throws UiObjectNotFoundException { in swipeDown() argument
266 Tracer.trace(steps); in swipeDown()
272 rect.bottom - SWIPE_MARGIN_LIMIT, steps); in swipeDown()
[all …]
DUiScrollable.java411 public boolean scrollForward(int steps) throws UiObjectNotFoundException { in scrollForward() argument
412 Tracer.trace(steps); in scrollForward()
444 return getInteractionController().scrollSwipe(downX, downY, upX, upY, steps); in scrollForward()
490 public boolean scrollBackward(int steps) throws UiObjectNotFoundException { in scrollBackward() argument
491 Tracer.trace(steps); in scrollBackward()
525 return getInteractionController().scrollSwipe(downX, downY, upX, upY, steps); in scrollBackward()
538 public boolean scrollToBeginning(int maxSwipes, int steps) throws UiObjectNotFoundException { in scrollToBeginning() argument
539 Tracer.trace(maxSwipes, steps); in scrollToBeginning()
543 if(!scrollBackward(steps)) { in scrollToBeginning()
590 public boolean scrollToEnd(int maxSwipes, int steps) throws UiObjectNotFoundException { in scrollToEnd() argument
[all …]
DUiDevice.java427 public boolean swipe(int startX, int startY, int endX, int endY, int steps) { in swipe() argument
428 Tracer.trace(startX, startY, endX, endY, steps); in swipe()
430 .swipe(startX, startY, endX, endY, steps); in swipe()
448 public boolean drag(int startX, int startY, int endX, int endY, int steps) { in drag() argument
449 Tracer.trace(startX, startY, endX, endY, steps); in drag()
451 .swipe(startX, startY, endX, endY, steps, true); in drag()
DInteractionController.java349 final int steps) {
351 + upY + ", " + steps +")");
356 swipe(downX, downY, upX, upY, steps);
424 public boolean swipe(int downX, int downY, int upX, int upY, int steps) {
425 return swipe(downX, downY, upX, upY, steps, false /*drag*/);
438 public boolean swipe(int downX, int downY, int upX, int upY, int steps, boolean drag) {
440 int swipeSteps = steps;
/frameworks/rs/java/tests/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/java/tests/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.java232 private void drag(VelocityTracker vt, int startX, int endX, int startY, int endY, int steps, in drag() argument
234 drag(vt, startX, endX, startY, endY, steps, startime, duration, new LinearInterpolator()); in drag()
241 private void drag(VelocityTracker vt, int startX, int endX, int startY, int endY, int steps, in drag() argument
244 float dt = duration / (float)steps; in drag()
247 for (int i=1; i<steps-1; i++) { in drag()
248 float ii = interpolator.getInterpolation(i / (float)steps); in drag()
/frameworks/base/tools/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/docs/html/tools/help/uiautomator/
DUiObject.jd255 …utomator.core.UiObject, int)">dragTo</a></span>(<a href="#">UiObject</a> destObj, int steps)</nobr>
273 …"sympad"><a href="#dragTo(int, int, int)">dragTo</a></span>(int destX, int destY, int steps)</nobr>
724 …a></span>(Point startPoint1, Point startPoint2, Point endPoint1, Point endPoint2, int steps)</nobr>
742 …<span class="sympad"><a href="#pinchIn(int, int)">pinchIn</a></span>(int percent, int steps)</nobr>
761 …pan class="sympad"><a href="#pinchOut(int, int)">pinchOut</a></span>(int percent, int steps)</nobr>
799 <span class="sympad"><a href="#swipeDown(int)">swipeDown</a></span>(int steps)</nobr>
817 <span class="sympad"><a href="#swipeLeft(int)">swipeLeft</a></span>(int steps)</nobr>
835 <span class="sympad"><a href="#swipeRight(int)">swipeRight</a></span>(int steps)</nobr>
853 <span class="sympad"><a href="#swipeUp(int)">swipeUp</a></span>(int steps)</nobr>
1763 <span class="normal">(<a href="#">UiObject</a> destObj, int steps)</span>
[all …]
DUiScrollable.jd169 steps (5).</div>
187 …<div class="jd-descrdiv">Performs a forward fling with the default number of fling steps (5).</div>
369 … <span class="sympad"><a href="#scrollBackward(int)">scrollBackward</a></span>(int steps)</nobr>
389 …<div class="jd-descrdiv">Performs a backward scroll with the default number of scroll steps (55).<…
426 …<div class="jd-descrdiv">Performs a forward scroll with the default number of scroll steps (55).</…
442 … <span class="sympad"><a href="#scrollForward(int)">scrollForward</a></span>(int steps)</nobr>
535 …a href="#scrollToBeginning(int, int)">scrollToBeginning</a></span>(int maxSwipes, int steps)</nobr>
553 …s="sympad"><a href="#scrollToEnd(int, int)">scrollToEnd</a></span>(int maxSwipes, int steps)</nobr>
938 …e.UiObject, int)">dragTo</a></span>(<a href="UiObject.html">UiObject</a> destObj, int steps)</nobr>
956 …ref="UiObject.html#dragTo(int, int, int)">dragTo</a></span>(int destX, int destY, int steps)</nobr>
[all …]
/frameworks/base/docs/html/ndk/guides/
Dsetup.jd34 <p>To install and configure the NDK, follow these steps:</p>
47 <p>Eclipse must know where the NDK is in order to use it when building your app. Follow these steps
62 follow these steps:</p>
74 <p>Follow these steps to build from the command line:</p>
/frameworks/base/docs/html/training/
Dadvanced.jd6 development. These classes simplify the steps required to enhance your app with powerful
/frameworks/base/docs/html/preview/
Dsetup-sdk.jd85 <p>After completing these steps, the preview components are available in your development
100 We recommend using Android Studio to create a project with the preview. Follow the steps
103 the following steps to create a project configured for the preview.
163 <li>Follow the steps in
/frameworks/base/core/java/android/os/
DBatteryStats.java616 public LevelStepTracker(int numSteps, long[] steps) { in LevelStepTracker() argument
619 System.arraycopy(steps, 0, mStepDurations, 0, numSteps); in LevelStepTracker()
777 final long[] steps = mStepDurations; in computeTimePerLevel() local
786 total += steps[i] & STEP_LEVEL_TIME_MASK; in computeTimePerLevel()
819 final long[] steps = mStepDurations; in computeTimeEstimate() local
827 long initMode = (steps[i] & STEP_LEVEL_INITIAL_MODE_MASK) in computeTimeEstimate()
829 long modMode = (steps[i] & STEP_LEVEL_MODIFIED_MODE_MASK) in computeTimeEstimate()
837 total += steps[i] & STEP_LEVEL_TIME_MASK; in computeTimeEstimate()
858 final long[] steps = mStepDurations; in addLevelSteps() local
861 System.arraycopy(steps, 0, steps, 1, steps.length-1); in addLevelSteps()
[all …]
/frameworks/base/docs/html/sdk/
Ddownload.jd22 $("#next-steps").show(500);
68 <div class="special" id="next-steps" style="display:none">
/frameworks/native/opengl/tests/testViewport/
DREADME1 Repro steps:
/frameworks/av/services/audioflinger/
DAudioResamplerFirGen.h525 double fstart, double fend, int steps, double &firMin, double &firMax) {
528 double wstep = (wend - wstart)/steps;
536 for (int i=1; i<steps; ++i) {
/frameworks/base/core/java/android/webkit/
DWebViewProvider.java145 public boolean canGoBackOrForward(int steps); in canGoBackOrForward() argument
147 public void goBackOrForward(int steps); in goBackOrForward() argument
DWebView.java1083 public boolean canGoBackOrForward(int steps) { in canGoBackOrForward() argument
1085 return mProvider.canGoBackOrForward(steps); in canGoBackOrForward()
1096 public void goBackOrForward(int steps) { in goBackOrForward() argument
1098 mProvider.goBackOrForward(steps); in goBackOrForward()
/frameworks/native/opengl/tests/testPauseResume/
DREADME1 Repro steps:
/frameworks/base/docs/html/training/notepad/
Dindex.jd15 exercises (see below), each consisting of several steps. You should follow
16 the steps in each exercise to gradually build and refine your
36 steps in your environment. </p>
Dnotepad-index.jd14 exercises (see below), each consisting of several steps. You can follow along
15 with the steps in each exercise and gradually build up and refine your
44 steps in your environment. </p>
/frameworks/base/docs/html/training/printing/
Dhtml-docs.jd43 specifically for printing purposes. The main steps for creating this custom print view are:</p>
146 application is almost done with its part of the printing process. The next steps are accessing
148 job. The following example illustrates how to perform these steps:</p>
/frameworks/base/docs/html/training/safetynet/
Dindex.jd125 Using the API to perform a check requires a few implementation steps in your app. Once you have
127 API client, your app can then perform the following steps to use the service:
270 You should take steps to make sure the response received by your app actually came from the
271 SafetyNet service and matches the request data you provided. Follow these steps to verify the
290 hashes. You can perform these validation steps within your app, or as a more secure option, send
/frameworks/base/docs/html/design/tv/
Dprinciples.jd33 apps with the least amount of friction. Minimize the number of navigation steps required to

1234567