Home
last modified time | relevance | path

Searched refs:DragObject (Results 1 – 25 of 26) sorted by relevance

12

/packages/apps/Launcher2/src/com/android/launcher2/
DDropTarget.java32 class DragObject { class
66 public DragObject() { in DragObject() method in DropTarget.DragObject
128 void onDrop(DragObject dragObject); in onDrop()
130 void onDragEnter(DragObject dragObject); in onDragEnter()
132 void onDragOver(DragObject dragObject); in onDragOver()
134 void onDragExit(DragObject dragObject); in onDragExit()
141 void onFlingToDelete(DragObject dragObject, int x, int y, PointF vec); in onFlingToDelete()
160 DropTarget getDropTargetDelegate(DragObject dragObject); in getDropTargetDelegate()
177 boolean acceptDrop(DragObject dragObject); in acceptDrop()
DButtonDropTarget.java65 public boolean acceptDrop(DragObject d) { in acceptDrop()
83 public void onDrop(DragObject d) { in onDrop()
86 public void onFlingToDelete(DragObject d, int x, int y, PointF vec) { in onFlingToDelete()
90 public void onDragEnter(DragObject d) { in onDragEnter()
94 public void onDragOver(DragObject d) { in onDragOver()
98 public void onDragExit(DragObject d) { in onDragExit()
159 public DropTarget getDropTargetDelegate(DragObject d) { in getDropTargetDelegate()
DDeleteDropTarget.java108 private boolean isDragSourceWorkspaceOrFolder(DragObject d) { in isDragSourceWorkspaceOrFolder()
111 private boolean isWorkspaceOrFolderApplication(DragObject d) { in isWorkspaceOrFolderApplication()
114 private boolean isWorkspaceOrFolderWidget(DragObject d) { in isWorkspaceOrFolderWidget()
117 private boolean isWorkspaceFolder(DragObject d) { in isWorkspaceFolder()
131 public boolean acceptDrop(DragObject d) { in acceptDrop()
187 public void onDragEnter(DragObject d) { in onDragEnter()
193 public void onDragExit(DragObject d) { in onDragExit()
204 private void animateToTrashAndCompleteDrop(final DragObject d) { in animateToTrashAndCompleteDrop()
227 private void completeDrop(DragObject d) { in completeDrop()
259 public void onDrop(DragObject d) { in onDrop()
[all …]
DInfoDropTarget.java73 public boolean acceptDrop(DragObject d) { in acceptDrop()
121 public void onDragEnter(DragObject d) { in onDragEnter()
128 public void onDragExit(DragObject d) { in onDragExit()
DDragSource.java21 import com.android.launcher2.DropTarget.DragObject;
44 void onDropCompleted(View target, DragObject d, boolean isFlingToDelete, boolean success); in onDropCompleted()
DFolder.java502 public boolean acceptDrop(DragObject d) { in acceptDrop()
554 public void onDragEnter(DragObject d) { in onDragEnter()
622 public void onDragOver(DragObject d) { in onDragOver()
679 public void onDragExit(DragObject d) { in onDragExit()
689 public void onDropCompleted(View target, DragObject d, boolean isFlingToDelete, in onDropCompleted()
728 public void onFlingToDelete(DragObject d, int x, int y, PointF vec) { in onFlingToDelete()
757 public DropTarget getDropTargetDelegate(DragObject d) { in getDropTargetDelegate()
998 public void onDrop(DragObject d) { in onDrop()
DFolderIcon.java43 import com.android.launcher2.DropTarget.DragObject;
360 DragObject d) { in onDrop()
418 public void onDrop(DragObject d) {
430 public DropTarget getDropTargetDelegate(DragObject d) {
DDragController.java89 private DropTarget.DragObject mDragObject;
236 mDragObject = new DropTarget.DragObject(); in startDrag()
389 void onDeferredEndFling(DropTarget.DragObject d) { in onDeferredEndFling()
DWorkspace.java1965 public boolean acceptDrop(DragObject d) {
2148 float distance, DragObject d, boolean external) {
2170 public void onDrop(final DragObject d) {
2388 public void onDragEnter(DragObject d) {
2443 public void onDragExit(DragObject d) {
2556 public DropTarget getDropTargetDelegate(DragObject d) {
2749 private boolean isDragWidget(DragObject d) {
2753 private boolean isExternalDragWidget(DragObject d) {
2757 public void onDragOver(DragObject d) {
3012 final CellLayout cellLayout, boolean insertAtFirst, DragObject d) {
[all …]
DAppsCustomizePagedView.java58 import com.android.launcher2.DropTarget.DragObject;
866 public void onDropCompleted(View target, DragObject d, boolean isFlingToDelete, in onDropCompleted()
DLauncher.java100 import com.android.launcher2.DropTarget.DragObject;
1157 DragObject dragObject = new DragObject(); in completeAddShortcut()
/packages/apps/Launcher3/src/com/android/launcher3/
DDropTarget.java32 public static class DragObject { class
71 public DragObject() { in DragObject() method in DropTarget.DragObject
119 void onDrop(DragObject dragObject); in onDrop()
121 void onDragEnter(DragObject dragObject); in onDragEnter()
123 void onDragOver(DragObject dragObject); in onDragOver()
125 void onDragExit(DragObject dragObject); in onDragExit()
132 void onFlingToDelete(DragObject dragObject, PointF vec); in onFlingToDelete()
149 boolean acceptDrop(DragObject dragObject); in acceptDrop()
DButtonDropTarget.java112 public void onFlingToDelete(DragObject d, PointF vec) { } in onFlingToDelete()
115 public final void onDragEnter(DragObject d) { in onDragEnter()
134 public void onDragOver(DragObject d) { in onDragOver()
182 public final void onDragExit(DragObject d) { in onDragExit()
205 public final boolean acceptDrop(DragObject dragObject) { in acceptDrop()
225 public void onDrop(final DragObject d) { in onDrop()
254 @Thunk abstract void completeDrop(DragObject d); in completeDrop()
DFolder.java692 public boolean acceptDrop(DragObject d) { in acceptDrop()
700 public void onDragEnter(DragObject d) { in onDragEnter()
721 public void onDragOver(DragObject d) { in onDragOver()
725 private int getTargetRank(DragObject d, float[] recycle) { in getTargetRank()
731 @Thunk void onDragOver(DragObject d, int reorderDelay) { in onDragOver()
772 private void showScrollHint(int direction, DragObject d) { in showScrollHint()
816 public void onDragExit(DragObject d) { in onDragExit()
845 public void onDropCompleted(final View target, final DragObject d, in onDropCompleted()
946 public void onFlingToDelete(DragObject d, PointF vec) { in onFlingToDelete()
1209 public void onDrop(DragObject d) { in onDrop()
[all …]
DDragSource.java21 import com.android.launcher3.DropTarget.DragObject;
60 void onDropCompleted(View target, DragObject d, boolean isFlingToDelete, boolean success); in onDropCompleted()
DDeleteDropTarget.java60 @Thunk void completeDrop(DragObject d) { in completeDrop()
80 public void onFlingToDelete(final DragObject d, PointF vel) { in onFlingToDelete()
DUninstallDropTarget.java73 public void onDrop(DragObject d) { in onDrop()
82 void completeDrop(final DragObject d) { in completeDrop()
DInfoDropTarget.java75 void completeDrop(DragObject d) { in completeDrop()
DDragController.java95 private DropTarget.DragObject mDragObject;
240 mDragObject = new DropTarget.DragObject(); in startDrag()
405 public void onDeferredEndFling(DropTarget.DragObject d) { in onDeferredEndFling()
DFolderIcon.java44 import com.android.launcher3.DropTarget.DragObject;
422 DragObject d) { in onDrop()
480 public void onDrop(DragObject d) {
DWorkspace.java2501 public boolean acceptDrop(DragObject d) { in acceptDrop()
2696 float distance, DragObject d, boolean external) { in addToExistingFolderIfNecessary()
2721 public void onDrop(final DragObject d) { in onDrop()
2945 public void onDragEnter(DragObject d) {
3003 public void onDragExit(DragObject d) {
3253 private boolean isDragWidget(DragObject d) {
3257 private boolean isExternalDragWidget(DragObject d) {
3261 public void onDragOver(DragObject d) {
3382 int[] targetCell, float distance, DragObject dragObject) {
3461 DragObject dragObject;
[all …]
DLauncher.java97 import com.android.launcher3.DropTarget.DragObject;
1519 DragObject dragObject = new DragObject(); in completeAddShortcut()
/packages/apps/Launcher3/src/com/android/launcher3/util/
DFlingAnimation.java12 import com.android.launcher3.DropTarget.DragObject;
22 protected final DragObject mDragObject;
36 public FlingAnimation(DragObject d, PointF vel, Rect iconRect, DragLayer dragLayer) { in FlingAnimation()
/packages/apps/Launcher3/src/com/android/launcher3/widget/
DWidgetsContainerView.java36 import com.android.launcher3.DropTarget.DragObject;
275 public void onDropCompleted(View target, DragObject d, boolean isFlingToDelete, in onDropCompleted()
/packages/apps/Launcher3/src/com/android/launcher3/allapps/
DAllAppsContainerView.java485 public void onDropCompleted(View target, DropTarget.DragObject d, boolean isFlingToDelete, in onDropCompleted()

12