Home
last modified time | relevance | path

Searched refs:drag (Results 1 – 14 of 14) 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/tests/src/android/support/v7/util/
DTouchUtils.java179 drag(inst, x, x, fromY, toY, stepCount); in dragViewToTop()
228 drag(inst, fromX, toX, fromY, toY, calculateStepsForDistance(distance)); in dragViewTo()
243 drag(inst, fromX, toX, fromY, fromY, calculateStepsForDistance(deltaX)); in dragViewToX()
258 drag(inst, fromX, fromX, fromY, toY, calculateStepsForDistance(deltaY)); in dragViewToY()
264 public static void drag(Instrumentation inst, float fromX, float toX, float fromY, in drag() method in TouchUtils
/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/support/samples/Support7Demos/src/com/example/android/supportv7/widget/touch/
DDragAndDropActivity.java108 vh.actionButton.setText(R.string.drag);
/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/v7/recyclerview/tests/src/android/support/v7/widget/
DRecyclerViewFastScrollerTest.java192 TouchUtils.drag(InstrumentationRegistry.getInstrumentation(), mRecyclerView.getWidth() - 10, in sanityScrollingInstrumentation()
DRecyclerViewLayoutTest.java2268 drag(mRecyclerView, 0, 0, 0, 500, 5); in scrollStateDrag()
2274 public void drag(ViewGroup view, float fromX, float toX, float fromY, float toY, in drag() method in RecyclerViewLayoutTest
/frameworks/base/cmds/uiautomator/api/
Dcurrent.txt28 method public boolean drag(int, int, int, int, int);
/frameworks/base/proto/src/
Dmetrics_constants.proto1529 // ACTION: Overview > Long-press task, drag to enter split-screen
3466 // VALUE: 0 if dismissed by tap, 1 if dismissed by drag
/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…
/frameworks/base/api/
Dcurrent.txt40505 …method public static deprecated void drag(android.test.ActivityInstrumentationTestCase, float, flo…
40506 …method public static void drag(android.test.InstrumentationTestCase, float, float, float, float, i…
Dsystem-current.txt44018 …method public static deprecated void drag(android.test.ActivityInstrumentationTestCase, float, flo…
44019 …method public static void drag(android.test.InstrumentationTestCase, float, float, float, float, i…