Home
last modified time | relevance | path

Searched refs:drag (Results 1 – 17 of 17) sorted by relevance

/frameworks/base/core/tests/coretests/src/android/view/
DVelocityTest.java51 drag(vt, 100, 200, 100, 200, 10, t, 300); in testClear()
66 drag(vt, 100, 200, 100, 200, 15, t, 400, new AccelerateInterpolator()); in testDragAcceleration()
77 drag(vt, 100, 200, 100, 200, 15, t, 400, new DecelerateInterpolator()); in testDragDeceleration()
90 drag(vt, 100, 200, 200, 200, 15, t, 400); in testDragLinearHorizontal()
103 drag(vt, 200, 200, 100, 200, 15, t, 400); in testDragLinearVertical()
120 drag(vt, 100, 200, 100, 200, 2, t, 100); in testDragWith2Points()
136 drag(vt, 100, 200, 100, 200, 10, t, 400); // 10 steps over 400ms in testStabilityInNbPoints()
141 drag(vt, 100, 200, 100, 200, 20, t, 400); // 20 steps over 400ms in testStabilityInNbPoints()
158 drag(vt, 100, 200, 100, 200, 10, t, 400); in testStabilityInTime()
163 drag(vt, 100, 200, 100, 200, 10, t + 3600*1000, 400); // on hour later in testStabilityInTime()
[all …]
/frameworks/base/test-runner/src/android/test/
DTouchUtils.java70 drag(test, x, x, fromY, toY, 4); in dragQuarterScreenDown()
100 drag(test, x, x, fromY, toY, 4); in dragQuarterScreenUp()
237 drag(test, x, x, fromY, toY, stepCount); in dragViewToBottom()
480 drag(test, x, x, fromY, toY, stepCount); in dragViewToTop()
575 drag(test, fromX, fromX + deltaX, fromY, fromY + deltaY, distance); in dragViewBy()
627 drag(test, fromX, toX, fromY, toY, distance); in dragViewTo()
674 drag(test, fromX, toX, fromY, fromY, deltaX); in dragViewToX()
721 drag(test, fromX, fromX, fromY, toY, deltaY); in dragViewToY()
742 public static void drag(ActivityInstrumentationTestCase test, float fromX, float toX, in drag() method in TouchUtils
744 drag((InstrumentationTestCase) test, fromX, toX, fromY, toY, stepCount); in drag()
[all …]
/frameworks/support/v7/recyclerview/src/androidTest/java/androidx/recyclerview/widget/
DTouchUtils.java183 drag(inst, x, x, fromY, toY, stepCount); in dragViewToTop()
232 drag(inst, fromX, toX, fromY, toY, calculateStepsForDistance(distance)); in dragViewTo()
247 drag(inst, fromX, toX, fromY, fromY, calculateStepsForDistance(deltaX)); in dragViewToX()
262 drag(inst, fromX, fromX, fromY, toY, calculateStepsForDistance(deltaY)); in dragViewToY()
268 public static void drag(Instrumentation inst, float fromX, float toX, float fromY, in drag() method in TouchUtils
DRecyclerViewFastScrollerTest.java107 TouchUtils.drag(InstrumentationRegistry.getInstrumentation(), mRecyclerView.getWidth() - 10, in ui_dragsThumb_scrollsRecyclerView()
DRecyclerViewLayoutTest.java2790 drag(mRecyclerView, 0, 0, 0, 500, 5); in scrollStateDrag()
2796 public void drag(ViewGroup view, float fromX, float toX, float fromY, float toY, in drag() method in RecyclerViewLayoutTest
/frameworks/base/packages/SystemUI/src/com/android/systemui/
DExpandHelper.java191 float drag = mSGD.getFocusY() - mInitialTouchFocusY; in updateExpansion() local
192 drag *= USE_DRAG ? 1f : 0f; in updateExpansion()
193 drag *= mGravity == Gravity.BOTTOM ? -1f : 1f; in updateExpansion()
194 float pull = Math.abs(drag) + Math.abs(span) + 1f; in updateExpansion()
195 float hand = drag * Math.abs(drag) / pull + span * Math.abs(span) / pull; in updateExpansion()
/frameworks/base/cmds/uiautomator/library/core-src/com/android/uiautomator/core/
DInteractionController.java436 public boolean swipe(int downX, int downY, int upX, int upY, int steps, boolean drag) {
451 if (drag)
463 if (drag)
DUiDevice.java451 public boolean drag(int startX, int startY, int endX, int endY, int steps) { in drag() method in UiDevice
/frameworks/support/samples/Support7Demos/src/main/java/com/example/android/supportv7/widget/touch/
DDragAndDropActivity.java109 vh.actionButton.setText(R.string.drag);
/frameworks/base/packages/SystemUI/
DREADME.md104 Shows the drag handle for the divider between two apps when in split screen
/frameworks/base/test-runner/api/
Dandroid-test-runner-current.txt203 …method public static deprecated void drag(android.test.ActivityInstrumentationTestCase, float, flo…
204 …method public static void drag(android.test.InstrumentationTestCase, float, float, float, float, i…
/frameworks/base/cmds/uiautomator/api/
Dcurrent.txt28 method public boolean drag(int, int, int, int, int);
/frameworks/base/proto/src/
Dmetrics_constants.proto1604 // ACTION: Overview > Long-press task, drag to enter split-screen
3649 // VALUE: 0 if dismissed by tap, 1 if dismissed by drag
/frameworks/support/work/integration-tests/testapp/src/main/assets/
Dcase.txt4592 "Why did he ever drag you into it at all?" asked our visitor with a
6335 matter to drag unless you have a clear perception of what you are
7119 deep, and he was senseless before we could reach them and drag the
Dmems.txt896 appointment outside the station, and we drove in his drag to the
917 As the drag drew up in the enclosure near the grand stand I glanced
957 From our drag we had a superb view as they came up the straight. The
Dlstb.txt1296 hands. I sprang out, they tried to drag me back, and had it not been
3909 "No doubt we had, but I beg you won't try to drag me into the matter,
/frameworks/opt/setupwizard/tools/docs/
Dandroid-22.txt29100 …method public static deprecated void drag(android.test.ActivityInstrumentationTestCase, float, flo…
29101 …method public static void drag(android.test.InstrumentationTestCase, float, float, float, float, i…