Home
last modified time | relevance | path

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

/frameworks/base/core/java/android/view/
DDragEvent.java124 public class DragEvent implements Parcelable { class
134 private DragEvent mNext;
141 private static DragEvent gRecyclerTop = null;
252 private DragEvent() { in DragEvent() method in DragEvent
266 static DragEvent obtain() { in obtain()
267 return DragEvent.obtain(0, 0f, 0f, null, null, null, false); in obtain()
271 public static DragEvent obtain(int action, float x, float y, Object localState, in obtain()
273 final DragEvent ev; in obtain()
276 ev = new DragEvent(); in obtain()
294 public static DragEvent obtain(DragEvent source) { in obtain()
[all …]
DIWindow.aidl24 import android.view.DragEvent;
74 void dispatchDragEvent(in DragEvent event); in dispatchDragEvent()
DDragEvent.aidl19 parcelable DragEvent;
DViewGroup.java151 private DragEvent mCurrentDrag;
1142 public boolean dispatchDragEvent(DragEvent event) { in dispatchDragEvent()
1153 case DragEvent.ACTION_DRAG_STARTED: { in dispatchDragEvent()
1158 mCurrentDrag = DragEvent.obtain(event); in dispatchDragEvent()
1186 case DragEvent.ACTION_DRAG_ENDED: { in dispatchDragEvent()
1210 case DragEvent.ACTION_DRAG_LOCATION: { in dispatchDragEvent()
1227 event.mAction = DragEvent.ACTION_DRAG_EXITED; in dispatchDragEvent()
1236 event.mAction = DragEvent.ACTION_DRAG_ENTERED; in dispatchDragEvent()
1268 case DragEvent.ACTION_DRAG_EXITED: { in dispatchDragEvent()
1279 case DragEvent.ACTION_DROP: { in dispatchDragEvent()
DViewRootImpl.java3204 DragEvent event = (DragEvent)msg.obj; in handleMessage()
4914 private void handleDragEvent(DragEvent event) { in handleDragEvent()
4921 if (what == DragEvent.ACTION_DRAG_EXITED) { in handleDragEvent()
4930 if (what == DragEvent.ACTION_DRAG_STARTED) { in handleDragEvent()
4938 if ((what == DragEvent.ACTION_DRAG_LOCATION) || (what == DragEvent.ACTION_DROP)) { in handleDragEvent()
4973 if (what == DragEvent.ACTION_DROP) { in handleDragEvent()
4985 if (what == DragEvent.ACTION_DRAG_ENDED) { in handleDragEvent()
5822 public void dispatchDragEvent(DragEvent event) { in dispatchDragEvent()
5824 if (event.getAction() == DragEvent.ACTION_DRAG_LOCATION) { in dispatchDragEvent()
6236 public void dispatchDragEvent(DragEvent event) { in dispatchDragEvent()
DView.java17348 public boolean onDragEvent(DragEvent event) {
17368 public boolean dispatchDragEvent(DragEvent event) {
18560 boolean onDrag(View v, DragEvent event);
/frameworks/base/docs/html/guide/topics/ui/
Ddrag-drop.jd78 {@link android.view.DragEvent DragEvent}
140 Each View object also has a {@link android.view.View#onDragEvent(DragEvent) onDragEvent()}
197 {@link android.view.DragEvent#ACTION_DRAG_STARTED} to the drag event listeners for
207 {@link android.view.DragEvent#ACTION_DRAG_ENDED}. By sending <code>false</code>, the
221 (action type {@link android.view.DragEvent#ACTION_DRAG_ENTERED}), the listener
230 {@link android.view.DragEvent#ACTION_DROP}. The drag event contains the data that was
238 the drag shadow in any other situation, no {@link android.view.DragEvent#ACTION_DROP}
247 a drag event with action type {@link android.view.DragEvent#ACTION_DROP}, the system sends
248 out a drag event with action type {@link android.view.DragEvent#ACTION_DRAG_ENDED} to
251 events, even if the listener received the {@link android.view.DragEvent#ACTION_DROP} event.
[all …]
/frameworks/base/services/java/com/android/server/wm/
DDragState.java34 import android.view.DragEvent;
226 DragEvent event = obtainDragEvent(newWin, DragEvent.ACTION_DRAG_STARTED, in sendDragStartedLw()
266 DragEvent evt = DragEvent.obtain(DragEvent.ACTION_DRAG_ENDED, in broadcastDragEndedLw()
331 DragEvent evt = obtainDragEvent(mTargetWindow, DragEvent.ACTION_DRAG_EXITED, in notifyMoveLw()
342 DragEvent evt = obtainDragEvent(touchedWin, DragEvent.ACTION_DRAG_LOCATION, in notifyMoveLw()
372 DragEvent evt = obtainDragEvent(touchedWin, DragEvent.ACTION_DROP, x, y, in notifyDropLw()
431 private static DragEvent obtainDragEvent(WindowState win, int action, in obtainDragEvent()
440 return DragEvent.obtain(action, winX, winY, localState, description, data, result); in obtainDragEvent()
/frameworks/base/tools/layoutlib/bridge/src/com/android/layoutlib/bridge/android/
DBridgeWindow.java25 import android.view.DragEvent;
88 public void dispatchDragEvent(DragEvent event) { in dispatchDragEvent()
/frameworks/base/core/java/com/android/internal/view/
DBaseIWindow.java24 import android.view.DragEvent;
86 public void dispatchDragEvent(DragEvent event) { in dispatchDragEvent()
/frameworks/base/docs/html/about/versions/
Dandroid-3.0.jd210 defined by a {@link android.view.DragEvent} object&mdash;such as {@link
211 android.view.DragEvent#ACTION_DRAG_STARTED}, {@link android.view.DragEvent#ACTION_DRAG_ENTERED}, and
212 {@link android.view.DragEvent#ACTION_DROP}. Each view that wants to participate in a drag
225 android.view.View.OnDragListener OnDragListener}, which receives a {@link android.view.DragEvent}
227 android.view.DragEvent#ACTION_DRAG_STARTED}, {@link android.view.DragEvent#ACTION_DRAG_ENTERED}, and
228 {@link android.view.DragEvent#ACTION_DROP}). During a drag, the system repeatedly calls {@link
231 android.view.View#onDragEvent onDragEvent()} by calling {@link android.view.DragEvent#getAction
232 getAction()} on the {@link android.view.DragEvent}.</p>
Dandroid-3.0-highlights.jd210 …organize files, developers can now add drag-and-drop interaction through a DragEvent framework.</p>
/frameworks/ex/chips/src/com/android/ex/chips/
DRecipientEditTextView.java63 import android.view.DragEvent;
2793 public boolean onDragEvent(DragEvent event) { in onDragEvent()
2795 case DragEvent.ACTION_DRAG_STARTED: in onDragEvent()
2798 case DragEvent.ACTION_DRAG_ENTERED: in onDragEvent()
2801 case DragEvent.ACTION_DROP: in onDragEvent()
/frameworks/base/core/java/android/widget/
DTextView.java100 import android.view.DragEvent;
8631 public boolean onDragEvent(DragEvent event) { in onDragEvent()
8633 case DragEvent.ACTION_DRAG_STARTED: in onDragEvent()
8636 case DragEvent.ACTION_DRAG_ENTERED: in onDragEvent()
8640 case DragEvent.ACTION_DRAG_LOCATION: in onDragEvent()
8645 case DragEvent.ACTION_DROP: in onDragEvent()
8649 case DragEvent.ACTION_DRAG_ENDED: in onDragEvent()
8650 case DragEvent.ACTION_DRAG_EXITED: in onDragEvent()
DEditor.java79 import android.view.DragEvent;
1828 void onDrop(DragEvent event) { in onDrop()
/frameworks/base/docs/html/
Dsitemap.txt1189 http://developer.android.com/reference/android/view/DragEvent.html
/frameworks/base/api/
Dcurrent.txt26368 public class DragEvent implements android.os.Parcelable {
27526 method public boolean dispatchDragEvent(android.view.DragEvent);
27746 method public boolean onDragEvent(android.view.DragEvent);
28099 method public abstract boolean onDrag(android.view.View, android.view.DragEvent);