Home
last modified time | relevance | path

Searched refs:mDragAndDropManager (Results 1 – 8 of 8) sorted by relevance

/packages/apps/DocumentsUI/tests/unit/com/android/documentsui/dirlist/
DDragHostTest.java57 private TestDragAndDropManager mDragAndDropManager; field in DragHostTest
68 mDragAndDropManager = new TestDragAndDropManager(); in setUp()
73 mDragAndDropManager, in setUp()
89 mDragAndDropManager.dropOnDocumentHandler.nextReturn(true); in testHandleDrop_onValidView()
92 mDragAndDropManager.dropOnDocumentHandler.assertCalled(); in testHandleDrop_onValidView()
102 mDragAndDropManager.dropOnDocumentHandler.assertNotCalled(); in testHandleDrop_notOnValidView()
/packages/apps/DocumentsUI/src/com/android/documentsui/
DAbstractDragHost.java29 protected DragAndDropManager mDragAndDropManager; field in AbstractDragHost
32 mDragAndDropManager = dragAndDropManager; in AbstractDragHost()
38 mDragAndDropManager.resetState(v); in onDragExited()
44 mDragAndDropManager.dragEnded(); in onDragEnded()
DDocumentsApplication.java70 private DragAndDropManager mDragAndDropManager; field in DocumentsApplication
107 return ((DocumentsApplication) context.getApplicationContext()).mDragAndDropManager; in getDragAndDropManager()
145 mDragAndDropManager = DragAndDropManager.create(this, mClipper); in onCreate()
/packages/apps/DocumentsUI/src/com/android/documentsui/sidebar/
DDragHost.java48 mDragAndDropManager = dragAndDropManager; in DragHost()
85 mDragAndDropManager.updateStateToNotAllowed(v); in onDragEntered()
90 if (mDragAndDropManager.updateState(v, rootItem.root, null) in onDragEntered()
107 mDragAndDropManager.updateState(v, rootItem.root, rootDoc); in updateDropShadow()
/packages/apps/DocumentsUI/src/com/android/documentsui/dirlist/
DDragHost.java109 mDragAndDropManager.updateState(v, mState.stack.getRoot(), mDestinationLookup.lookup(v)); in onDragEntered()
114 boolean dragInitiatedFromDocsUI = mDragAndDropManager.isDragFromSameApp(); in canHandleDragEvent()
126 return (doc != null) && mDragAndDropManager.canSpringOpen(mState.stack.getRoot(), doc); in canSpringOpen()
147 return mDragAndDropManager.drop(event.getClipData(), event.getLocalState(), dstStack, in handleDropEvent()
DDragStartListener.java72 private final DragAndDropManager mDragAndDropManager; field in DragStartListener.RuntimeDragStartListener
94 mDragAndDropManager = dragAndDropManager; in RuntimeDragStartListener()
137 mDragAndDropManager.startDrag(view, srcs, mState.stack.getRoot(), invalidDest, in startDrag()
/packages/apps/DocumentsUI/tests/unit/com/android/documentsui/files/
DActionHandlerTest.java94 private TestDragAndDropManager mDragAndDropManager; field in ActionHandlerTest
107 mDragAndDropManager = new TestDragAndDropManager(); in setUp()
544 Pair<ClipData, RootInfo> actual = mDragAndDropManager.dropOnRootHandler.getLastValue(); in testDragAndDrop_DropsOnWritableRoot()
713 mDragAndDropManager, in createHandler()
/packages/apps/DocumentsUI/src/com/android/documentsui/files/
DActionHandler.java98 private final DragAndDropManager mDragAndDropManager; field in ActionHandler
120 mDragAndDropManager = dragAndDropManager; in ActionHandler()
135 return mDragAndDropManager.drop( in dropOn()