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 | 50 private DragAndDropManager mDragAndDropManager; field in DocumentsApplication 82 return ((DocumentsApplication) context.getApplicationContext()).mDragAndDropManager; in getDragAndDropManager() 118 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 | 105 mDragAndDropManager.updateState(v, mState.stack.getRoot(), mDestinationLookup.lookup(v)); in onDragEntered() 110 return (doc != null) && mDragAndDropManager.canSpringOpen(mState.stack.getRoot(), doc); in canSpringOpen() 131 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 | 89 private TestDragAndDropManager mDragAndDropManager; field in ActionHandlerTest 101 mDragAndDropManager = new TestDragAndDropManager(); in setUp() 557 Pair<ClipData, RootInfo> actual = mDragAndDropManager.dropOnRootHandler.getLastValue(); in testDragAndDrop_DropsOnWritableRoot() 731 mDragAndDropManager, in createHandler()
|
/packages/apps/DocumentsUI/src/com/android/documentsui/files/ |
D | ActionHandler.java | 98 private final DragAndDropManager mDragAndDropManager; field in ActionHandler 122 mDragAndDropManager = dragAndDropManager; in ActionHandler() 138 return mDragAndDropManager.drop( in dropOn()
|