HomeSort by relevance Sort by last modified time
    Searched refs:DragEvent (Results 1 - 25 of 58) sorted by null

1 2 3

  /frameworks/base/core/java/android/view/
DragEvent.aidl 19 parcelable DragEvent;
DragEvent.java 32 * View objects that receive a DragEvent call {@link #getAction()}, which returns
114 * The {@link android.view.DragEvent#getAction()},
115 * {@link android.view.DragEvent#describeContents()},
116 * {@link android.view.DragEvent#writeToParcel(Parcel,int)}, and
117 * {@link android.view.DragEvent#toString()} methods always return valid data.
126 public class DragEvent implements Parcelable {
139 private DragEvent mNext;
146 private static DragEvent gRecyclerTop = null;
151 * {@link View#onDragEvent(DragEvent) onDragEvent()} handler method or
152 * {@link View.OnDragListener#onDrag(View,DragEvent) OnDragListener.onDrag()} listene
    [all...]
IWindow.aidl 24 import android.view.DragEvent;
77 void dispatchDragEvent(in DragEvent event);
  /developers/build/prebuilts/gradle/DragAndDropAcrossApps/DragSource/src/main/java/com/example/android/dragsource/
ImageDragListener.java 21 import android.view.DragEvent;
28 * the first {@link android.content.ClipData.Item} in the {@link DragEvent} is set as the image
40 public boolean onDrag(View view, DragEvent event) {
44 case DragEvent.ACTION_DRAG_STARTED:
48 case DragEvent.ACTION_DRAG_ENTERED:
52 case DragEvent.ACTION_DRAG_LOCATION:
56 case DragEvent.ACTION_DRAG_EXITED:
60 case DragEvent.ACTION_DROP:
63 case DragEvent.ACTION_DRAG_ENDED:
78 private boolean processDrop(View view, DragEvent event)
    [all...]
  /developers/build/prebuilts/gradle/DragAndDropAcrossApps/DropTarget/src/main/java/com/example/android/droptarget/
ImageDragListener.java 21 import android.view.DragEvent;
34 public boolean onDrag(View view, DragEvent event) {
36 case DragEvent.ACTION_DRAG_STARTED:
40 case DragEvent.ACTION_DRAG_ENTERED:
44 case DragEvent.ACTION_DRAG_LOCATION:
48 case DragEvent.ACTION_DRAG_EXITED:
52 case DragEvent.ACTION_DROP:
55 case DragEvent.ACTION_DRAG_ENDED:
70 private boolean processDrop(View view, DragEvent event) {
89 protected boolean setImageUri(View view, DragEvent event, Uri uri)
    [all...]
  /developers/samples/android/ui/window/DragAndDropAcrossApps/DragSource/src/main/java/com/example/android/dragsource/
ImageDragListener.java 21 import android.view.DragEvent;
28 * the first {@link android.content.ClipData.Item} in the {@link DragEvent} is set as the image
40 public boolean onDrag(View view, DragEvent event) {
44 case DragEvent.ACTION_DRAG_STARTED:
48 case DragEvent.ACTION_DRAG_ENTERED:
52 case DragEvent.ACTION_DRAG_LOCATION:
56 case DragEvent.ACTION_DRAG_EXITED:
60 case DragEvent.ACTION_DROP:
63 case DragEvent.ACTION_DRAG_ENDED:
78 private boolean processDrop(View view, DragEvent event)
    [all...]
  /developers/samples/android/ui/window/DragAndDropAcrossApps/DropTarget/src/main/java/com/example/android/droptarget/
ImageDragListener.java 21 import android.view.DragEvent;
34 public boolean onDrag(View view, DragEvent event) {
36 case DragEvent.ACTION_DRAG_STARTED:
40 case DragEvent.ACTION_DRAG_ENTERED:
44 case DragEvent.ACTION_DRAG_LOCATION:
48 case DragEvent.ACTION_DRAG_EXITED:
52 case DragEvent.ACTION_DROP:
55 case DragEvent.ACTION_DRAG_ENDED:
70 private boolean processDrop(View view, DragEvent event) {
89 protected boolean setImageUri(View view, DragEvent event, Uri uri)
    [all...]
  /development/samples/browseable/DragAndDropAcrossApps/DragSource/src/com.example.android/dragsource/
ImageDragListener.java 21 import android.view.DragEvent;
28 * the first {@link android.content.ClipData.Item} in the {@link DragEvent} is set as the image
40 public boolean onDrag(View view, DragEvent event) {
44 case DragEvent.ACTION_DRAG_STARTED:
48 case DragEvent.ACTION_DRAG_ENTERED:
52 case DragEvent.ACTION_DRAG_LOCATION:
56 case DragEvent.ACTION_DRAG_EXITED:
60 case DragEvent.ACTION_DROP:
63 case DragEvent.ACTION_DRAG_ENDED:
78 private boolean processDrop(View view, DragEvent event)
    [all...]
  /development/samples/browseable/DragAndDropAcrossApps/DropTarget/src/com.example.android/droptarget/
ImageDragListener.java 21 import android.view.DragEvent;
34 public boolean onDrag(View view, DragEvent event) {
36 case DragEvent.ACTION_DRAG_STARTED:
40 case DragEvent.ACTION_DRAG_ENTERED:
44 case DragEvent.ACTION_DRAG_LOCATION:
48 case DragEvent.ACTION_DRAG_EXITED:
52 case DragEvent.ACTION_DROP:
55 case DragEvent.ACTION_DRAG_ENDED:
70 private boolean processDrop(View view, DragEvent event) {
89 protected boolean setImageUri(View view, DragEvent event, Uri uri)
    [all...]
  /cts/hostsidetests/services/windowmanager/dndtargetappsdk23/src/android/wm/cts/dndtargetappsdk23/
DropTarget.java 22 import android.view.DragEvent;
59 public boolean onDrag(View v, DragEvent event) {
61 case DragEvent.ACTION_DRAG_STARTED:
65 case DragEvent.ACTION_DRAG_ENTERED:
68 case DragEvent.ACTION_DRAG_LOCATION:
71 case DragEvent.ACTION_DRAG_EXITED:
74 case DragEvent.ACTION_DROP:
78 case DragEvent.ACTION_DRAG_ENDED:
  /frameworks/support/v13/api24/android/support/v13/view/
DragAndDropPermissionsCompatApi24.java 21 import android.view.DragEvent;
24 public static Object request(Activity activity, DragEvent dragEvent) {
25 return activity.requestDragAndDropPermissions(dragEvent);
  /frameworks/support/v13/java/android/support/v13/app/
ActivityCompat.java 21 import android.view.DragEvent;
31 * the access permissions for content URIs associated with the {@link android.view.DragEvent}.
32 * @param dragEvent Drag event to request permission for
38 DragEvent dragEvent) {
39 return DragAndDropPermissionsCompat.request(activity, dragEvent);
  /frameworks/base/packages/SystemUI/src/com/android/systemui/tuner/
AutoScrollView.java 20 import android.view.DragEvent;
31 public boolean onDragEvent(DragEvent event) {
33 case DragEvent.ACTION_DRAG_LOCATION:
ClipboardView.java 22 import android.view.DragEvent;
61 public boolean onDragEvent(DragEvent event) {
63 case DragEvent.ACTION_DRAG_ENTERED:
66 case DragEvent.ACTION_DROP:
68 case DragEvent.ACTION_DRAG_EXITED:
69 case DragEvent.ACTION_DRAG_ENDED:
  /packages/apps/Gallery2/src/com/android/gallery3d/filtershow/state/
DragListener.java 19 import android.view.DragEvent;
34 private void setState(DragEvent event) {
50 public boolean onDrag(View v, DragEvent event) {
52 case DragEvent.ACTION_DRAG_STARTED: {
55 case DragEvent.ACTION_DRAG_LOCATION: {
79 case DragEvent.ACTION_DRAG_ENTERED: {
86 case DragEvent.ACTION_DRAG_EXITED: {
94 case DragEvent.ACTION_DROP: {
97 case DragEvent.ACTION_DRAG_ENDED: {
  /frameworks/support/v13/java/android/support/v13/view/
DragAndDropPermissionsCompat.java 22 import android.view.DragEvent;
33 Object request(Activity activity, DragEvent dragEvent);
39 public Object request(Activity activity, DragEvent dragEvent) {
52 public Object request(Activity activity, DragEvent dragEvent) {
53 return DragAndDropPermissionsCompatApi24.request(activity, dragEvent);
79 public static DragAndDropPermissionsCompat request(Activity activity, DragEvent dragEvent) {
    [all...]
  /development/samples/ApiDemos/src/com/example/android/apis/view/
DragAndDropDemo.java 23 import android.view.DragEvent;
49 public boolean onDrag(View v, DragEvent event) {
52 case DragEvent.ACTION_DRAG_STARTED: {
59 case DragEvent.ACTION_DRAG_ENDED: {
DraggableDot.java 29 import android.view.DragEvent;
186 public boolean onDragEvent(DragEvent event) {
189 case DragEvent.ACTION_DRAG_STARTED: {
201 case DragEvent.ACTION_DRAG_ENDED: {
210 case DragEvent.ACTION_DRAG_LOCATION: {
216 case DragEvent.ACTION_DROP: {
225 case DragEvent.ACTION_DRAG_ENTERED: {
231 case DragEvent.ACTION_DRAG_EXITED: {
246 private void processDrop(DragEvent event) {
  /packages/apps/Launcher3/src/com/android/launcher3/dragndrop/
DragDriver.java 23 import android.view.DragEvent;
75 public abstract boolean onDragEvent (DragEvent event);
132 public boolean onDragEvent (DragEvent event) {
136 case DragEvent.ACTION_DRAG_STARTED:
141 case DragEvent.ACTION_DRAG_ENTERED:
144 case DragEvent.ACTION_DRAG_LOCATION:
150 case DragEvent.ACTION_DROP:
157 case DragEvent.ACTION_DRAG_EXITED:
161 case DragEvent.ACTION_DRAG_ENDED:
223 public boolean onDragEvent (DragEvent event) { return false;
    [all...]
  /packages/apps/Dialer/src/com/android/dialer/list/
RemoveView.java 8 import android.view.DragEvent;
53 public boolean onDragEvent(DragEvent event) {
56 case DragEvent.ACTION_DRAG_ENTERED:
62 case DragEvent.ACTION_DRAG_EXITED:
65 case DragEvent.ACTION_DRAG_LOCATION:
71 case DragEvent.ACTION_DROP:
PhoneFavoriteListView.java 29 import android.view.DragEvent;
147 public boolean onDragEvent(DragEvent event) {
152 case DragEvent.ACTION_DRAG_STARTED: {
163 case DragEvent.ACTION_DRAG_LOCATION:
175 case DragEvent.ACTION_DRAG_ENTERED:
180 case DragEvent.ACTION_DRAG_EXITED:
181 case DragEvent.ACTION_DRAG_ENDED:
182 case DragEvent.ACTION_DROP:
187 if (action == DragEvent.ACTION_DROP || action == DragEvent.ACTION_DRAG_ENDED)
    [all...]
  /cts/tests/tests/view/src/android/view/cts/
DragDropTest.java 28 import android.view.DragEvent;
65 static boolean equal(DragEvent ev1, DragEvent ev2) {
78 public DragEvent ev;
80 public LogEntry(View v, DragEvent ev) {
82 this.ev = DragEvent.obtain(ev);
95 static private DragEvent obtainDragEvent(int action, int x, int y, boolean result) {
96 return DragEvent.obtain(action, x, y, null, null, null, null, result);
99 private void logEvent(View v, DragEvent ev) {
100 if (ev.getAction() == DragEvent.ACTION_DRAG_ENDED)
    [all...]
  /development/samples/ApiDemos/src/com/example/android/apis/media/
VideoViewDemo.java 21 import android.view.DragEvent;
54 public boolean onDrag(View v, DragEvent event) {
55 if (event.getAction() != DragEvent.ACTION_DROP) {
  /cts/hostsidetests/services/windowmanager/dndtargetapp/src/android/wm/cts/dndtargetapp/
DropTarget.java 28 import android.view.DragEvent;
70 private String checkExtraValue(DragEvent event) {
96 public boolean onDrag(View v, DragEvent event) {
98 case DragEvent.ACTION_DRAG_STARTED:
103 case DragEvent.ACTION_DRAG_ENTERED:
106 case DragEvent.ACTION_DRAG_LOCATION:
109 case DragEvent.ACTION_DRAG_EXITED:
112 case DragEvent.ACTION_DROP:
123 case DragEvent.ACTION_DRAG_ENDED:
131 private String processDrop(DragEvent event, boolean requestPermissions)
    [all...]
  /packages/apps/Launcher3/src/com/android/launcher3/
ExtendedEditText.java 20 import android.view.DragEvent;
73 public boolean onDragEvent(DragEvent event) {

Completed in 494 milliseconds

1 2 3