Home
last modified time | relevance | path

Searched refs:dragSource (Results 1 – 11 of 11) sorted by relevance

/packages/apps/Launcher3/src/com/android/launcher3/
DUninstallDropTarget.java75 if (d.dragSource instanceof UninstallSource) { in onDrop()
76 ((UninstallSource) d.dragSource).deferCompleteDropAfterUninstallActivity(); in onDrop()
93 sendUninstallResult(d.dragSource, uninstallSuccessful); in completeDrop()
98 sendUninstallResult(d.dragSource, false); in completeDrop()
DDragController.java257 mDragObject.dragSource = source; in startDrag()
340 mDragObject.dragSource.onDropCompleted(null, mDragObject, false, false); in cancelDrag()
406 d.dragSource.onFlingToDeleteCompleted(); in onDeferredEndFling()
466 PointF vec = isFlingingToDelete(mDragObject.dragSource); in onInterceptTouchEvent()
618 PointF vec = isFlingingToDelete(mDragObject.dragSource);
717 mDragObject.dragSource.onDropCompleted((View) mFlingToDeleteDropTarget, mDragObject, true,
736 mDragObject.dragSource.onDropCompleted((View) dropTarget, mDragObject, false, accepted);
DDeleteDropTarget.java62 if ((d.dragSource instanceof Workspace) || (d.dragSource instanceof Folder)) { in completeDrop()
DDropTarget.java55 public DragSource dragSource = null; field in DropTarget.DragObject
DFolder.java1214 if (d.dragSource != mLauncher.getWorkspace() && !(d.dragSource instanceof Folder)) { in onDrop()
1249 if (d.dragSource != this) { in onDrop()
DButtonDropTarget.java206 return supportsDrop(dragObject.dragSource, dragObject.dragInfo); in acceptDrop()
DWorkspace.java2504 if (d.dragSource != this) { in acceptDrop()
2736 if (d.dragSource != this) { in onDrop()
3258 return d.dragSource != this && isDragWidget(d);
/packages/apps/Launcher2/src/com/android/launcher2/
DDragController.java241 mDragObject.dragSource = source; in startDrag()
327 mDragObject.dragSource.onDropCompleted(null, mDragObject, false, false); in cancelDrag()
390 d.dragSource.onFlingToDeleteCompleted(); in onDeferredEndFling()
446 PointF vec = isFlingingToDelete(mDragObject.dragSource); in onInterceptTouchEvent()
599 PointF vec = isFlingingToDelete(mDragObject.dragSource);
667 mDragObject.dragSource.onDropCompleted((View) mFlingToDeleteDropTarget, mDragObject, true,
686 mDragObject.dragSource.onDropCompleted((View) dropTarget, mDragObject, false, accepted);
DDeleteDropTarget.java109 return (d.dragSource instanceof Workspace) || (d.dragSource instanceof Folder); in isDragSourceWorkspaceOrFolder()
118 return (d.dragSource instanceof Workspace) && (d.dragInfo instanceof FolderInfo); in isWorkspaceFolder()
230 if (isAllAppsApplication(d.dragSource, item)) { in completeDrop()
380 final boolean isAllApps = d.dragSource instanceof AppsCustomizePagedView;
DDropTarget.java55 public DragSource dragSource = null; field in DropTarget.DragObject
DWorkspace.java1968 if (d.dragSource != this) {
2187 if (d.dragSource != this) {
2754 return d.dragSource != this && isDragWidget(d);