Searched refs:drag (Results 1 – 25 of 46) sorted by relevance
12
28 <a href="#DragDropLifecycle">The drag/drop process</a>31 … <a href="#AboutDragListeners">The drag event listener and callback method</a>38 The drag shadow</a>46 <a href="#StartDrag">Starting a drag</a>49 <a href="#HandleStart">Responding to a drag start</a>52 <a href="#HandleDuring">Handling events during the drag</a>58 <a href="#HandleEnd">Responding to a drag end</a>61 <a href="#RespondEventSample">Responding to drag events: an example</a>115 With the Android drag/drop framework, you can allow your users to move data116 from one View to another View in the current layout using a graphical drag and drop gesture.[all …]
50 drag(vt, 100, 200, 100, 200, 10, t, 300); in testClear()65 drag(vt, 100, 200, 100, 200, 15, t, 400, new AccelerateInterpolator()); in testDragAcceleration()76 drag(vt, 100, 200, 100, 200, 15, t, 400, new DecelerateInterpolator()); in testDragDeceleration()88 drag(vt, 100, 200, 200, 200, 15, t, 400); in testDragLinearHorizontal()100 drag(vt, 200, 200, 100, 200, 15, t, 400); in testDragLinearVertical()116 drag(vt, 100, 200, 100, 200, 2, t, 100); in testDragWith2Points()131 drag(vt, 100, 200, 100, 200, 10, t, 400); // 10 steps over 400ms in testStabilityInNbPoints()136 drag(vt, 100, 200, 100, 200, 20, t, 400); // 20 steps over 400ms in testStabilityInNbPoints()153 drag(vt, 100, 200, 100, 200, 10, t, 400); in testStabilityInTime()158 drag(vt, 100, 200, 100, 200, 10, t + 3600*1000, 400); // on hour later in testStabilityInTime()[all …]
64 drag(test, x, x, fromY, toY, 4); in dragQuarterScreenDown()94 drag(test, x, x, fromY, toY, 4); in dragQuarterScreenUp()231 drag(test, x, x, fromY, toY, stepCount); in dragViewToBottom()474 drag(test, x, x, fromY, toY, stepCount); in dragViewToTop()569 drag(test, fromX, fromX + deltaX, fromY, fromY + deltaY, distance); in dragViewBy()621 drag(test, fromX, toX, fromY, toY, distance); in dragViewTo()668 drag(test, fromX, toX, fromY, fromY, deltaX); in dragViewToX()715 drag(test, fromX, fromX, fromY, toY, deltaY); in dragViewToY()736 public static void drag(ActivityInstrumentationTestCase test, float fromX, float toX, in drag() method in TouchUtils738 drag((InstrumentationTestCase) test, fromX, toX, fromY, toY, stepCount); in drag()[all …]
37 <h4>Swipe or drag</h4>56 <h4>Long press drag</h4>81 <h4>Double touch drag</h4>86 <p>A single touch followed in quick succession by a drag up or down:</p>90 <li>Reversing drag direction reverses scaling.</li>
66 …ation is unnecessary</strong>. This is a deliberate action: the user must drag and drop an item on…
100 <strong>double touch drag</strong> and <strong>double touch</strong>. These
193 float drag = mSGD.getFocusY() - mInitialTouchFocusY; in updateExpansion() local194 drag *= USE_DRAG ? 1f : 0f; in updateExpansion()195 drag *= mGravity == Gravity.BOTTOM ? -1f : 1f; in updateExpansion()196 float pull = Math.abs(drag) + Math.abs(span) + 1f; in updateExpansion()197 float hand = drag * Math.abs(drag) / pull + span * Math.abs(span) / pull; in updateExpansion()
17 <li><a href="#drag">Drag an Object</a></li>45 <p>This lesson describes how to use touch gestures to drag and scale on-screen50 <h2 id="drag">Drag an Object</h2>52 <p class="note">If you are targeting Android 3.0 or higher, you can use the built-in drag-and-drop …54 <a href="{@docRoot}guide/topics/ui/drag-drop.html">Drag and Drop</a>.56 <p>A common operation for a touch gesture is to use it to drag an object across57 the screen. The following snippet lets the user drag an on-screen image. Note62 <li>In a drag (or scroll) operation, the app has to keep track of the original pointer90 <p>The following snippet enables a user to drag an object around on the screen. It records the init…
79 {@code MyViewGroup} contains multiple child views. If you drag your finger across
36 <p>Customize the generated image and drag it to your desktop to save.</p>47 produced no drag feedback image in Chrome 28. -->94 .device-list li.drag-hover .thumb-container img {305 // Set up Chrome drag-out406 // Set up drag and drop.409 $(this).addClass('drag-hover');414 $(this).removeClass('drag-hover');418 $(this).removeClass('drag-hover');617 * Loads the first valid image from a FileList (e.g. drag + drop source), as a data URI. This
203 <p>New APIs simplify drag and drop operations in your application's user interface. A drag205 object—from one place to another. The start and end point for the drag operation is a {@link206 android.view.View}, so the APIs that directly handle the drag and drop operations are209 <p>A drag and drop operation has a lifecycle that's defined by several drag actions—each212 {@link android.view.DragEvent#ACTION_DROP}. Each view that wants to participate in a drag217 the data to drag, a {@link android.view.View.DragShadowBuilder} to facilitate the "shadow"219 information about the drag object with views that may receive the object.</p>221 <p>To accept a drag object in a {@link android.view.View} (receive the "drop"), register the view223 android.view.View#setOnDragListener setOnDragListener()}. When a drag event occurs on the view, the226 describing the type of drag action has occurred (such as {@link[all …]
121 screen widgets using drag bars provided by the system. Users can expand widgets140 point, select, drag, scroll, hover, and other standard actions.</p>
208 <p style="margin-top:1.25em;margin-bottom:.75em;"><strong>Multiselect, clipboard, and drag-and-drop…210 … it easier for users to manage and organize files, developers can now add drag-and-drop interactio…
153 touch and drag it. </li>
438 public boolean swipe(int downX, int downY, int upX, int upY, int steps, boolean drag) {453 if (drag)465 if (drag)
448 public boolean drag(int startX, int startY, int endX, int endY, int steps) { in drag() method in UiDevice
26 <p>Android Studio offers an advanced layout editor that allows you to drag-and-drop widgets118 hide the widgets available to drag-and-drop by clicking <strong>Palette</strong> on the123 <p>When you drag a widget into the graphical layout for your app, the display changes to
96 <p>Android Studio offers an advanced layout editor that allows you to drag-and-drop widgets108 widgets available to drag-and-drop by clicking <strong>Palette</strong> on the
75 user interfaces with a drag and drop interface.</dd>162 <dd>Edit and design your XML layout files with a drag and drop interface. The layout editor270 you can drag onto the canvas. The palette shows rendered previews of the298 <p>The canvas is the area where you can drag and drop UI widgets from the palette to design your301 the <a href="#configuration-chooser">configuration chooser</a>. You can also drag and drop371 <li>Preview drag and drop location: When you drag and drop a UI widget onto the canvas, ruler408 <p>The palette contains the UI widgets that you can drag and drop onto the canvas and add to your
107 <a href="#drag">drag</a>115 Simulates a drag gesture (touch, hold, and move) on this device's screen.549 <A NAME="drag"></A>555 <span class="sympad">drag</span>568 Simulates a drag gesture (touch, hold, and move) on this device's screen.577 The starting point of the drag gesture, in the form of a <em>tuple</em>584 The end point of the drag gesture, in the form of a <em>tuple</em> (x,y)590 <td>The duration of the drag gesture in seconds. The default is 1.0 seconds.</td>
37 <li>Build rich Android UI with drag and drop.
145 <p>When you have completed the steps described above, run the program and drag your finger over the
44 <p>Users can drag an app or widget icon from the All Apps screen and place it in any empty location…
211 drag(mRecyclerView, 0, 0, 0, 500, 5); in testScrollStateDrag()217 public void drag(ViewGroup view, float fromX, float toX, float fromY, float toY, in drag() method in RecyclerViewLayoutTest
140 visible, click and drag the pane.171 You can also use Tree Overview to move around in the Tree View pane. Click and drag