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.java50 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/
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.java105 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()
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.java88 private TestDragAndDropManager mDragAndDropManager; field in ActionHandlerTest
100 mDragAndDropManager = new TestDragAndDropManager(); in setUp()
544 Pair<ClipData, RootInfo> actual = mDragAndDropManager.dropOnRootHandler.getLastValue(); in testDragAndDrop_DropsOnWritableRoot()
716 mDragAndDropManager, in createHandler()
/packages/apps/DocumentsUI/src/com/android/documentsui/files/
DActionHandler.java98 private final DragAndDropManager mDragAndDropManager; field in ActionHandler
122 mDragAndDropManager = dragAndDropManager; in ActionHandler()
138 return mDragAndDropManager.drop( in dropOn()