Searched refs:mDragAndDropManager (Results 1 – 8 of 8) sorted by relevance
/packages/apps/DocumentsUI/tests/unit/com/android/documentsui/dirlist/ |
D | DragHostTest.java | 57 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/ |
D | AbstractDragHost.java | 29 protected DragAndDropManager mDragAndDropManager; field in AbstractDragHost 32 mDragAndDropManager = dragAndDropManager; in AbstractDragHost() 38 mDragAndDropManager.resetState(v); in onDragExited() 44 mDragAndDropManager.dragEnded(); in onDragEnded()
|
D | DocumentsApplication.java | 70 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/ |
D | DragHost.java | 48 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/ |
D | DragHost.java | 109 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()
|
D | DragStartListener.java | 72 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/ |
D | ActionHandlerTest.java | 94 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/ |
D | ActionHandler.java | 98 private final DragAndDropManager mDragAndDropManager; field in ActionHandler 120 mDragAndDropManager = dragAndDropManager; in ActionHandler() 135 return mDragAndDropManager.drop( in dropOn()
|