Home
last modified time | relevance | path

Searched refs:mClipper (Results 1 – 6 of 6) sorted by relevance

/packages/apps/DocumentsUI/tests/unit/com/android/documentsui/
DDragAndDropManagerTests.java74 private TestDocumentClipper mClipper; field in DragAndDropManagerTests
109 mClipper = new TestDocumentClipper(); in setUp()
115 mClipper.nextClip = mClipData; in setUp()
126 mManager = new RuntimeDragAndDropManager(mActivity, mClipper, mShadowBuilder, in setUp()
160 mStartDragListener.assertLastArgument(mClipper.nextClip); in testStartDrag_SetsCorrectClipData()
175 mStartDragListener.assertLastArgument(mClipper.nextClip); in testStartDrag_SetsCorrectClipData_NullParent()
705 mClipper.copyFromClip.assertLastArgument(Pair.create(expect, mClipData)); in testDrop_Copies_DifferentRoot_DropOnRoot()
706 mClipper.opType.assertLastArgument(FileOperationService.OPERATION_COPY); in testDrop_Copies_DifferentRoot_DropOnRoot()
731 mClipper.copyFromClip.assertLastArgument(Pair.create(expect, mClipData)); in testDrop_Moves_SameRoot_DropOnRoot()
732 mClipper.opType.assertLastArgument(FileOperationService.OPERATION_MOVE); in testDrop_Moves_SameRoot_DropOnRoot()
[all …]
/packages/apps/DocumentsUI/src/com/android/documentsui/
DDocumentsApplication.java79 private DocumentClipper mClipper; field in DocumentsApplication
106 return ((DocumentsApplication) context.getApplicationContext()).mClipper; in getDocumentClipper()
206 mClipper = DocumentClipper.create(this, mClipStore); in onCreate()
208 mDragAndDropManager = DragAndDropManager.create(this, mClipper); in onCreate()
DDragAndDropManager.java170 private final DocumentClipper mClipper; field in DragAndDropManager.RuntimeDragAndDropManager
205 mClipper = clipper; in RuntimeDragAndDropManager()
254 ? mClipper.getClipDataForDocuments(uris, FileOperationService.OPERATION_UNKNOWN) in startDrag()
255 : mClipper.getClipDataForDocuments( in startDrag()
461 mClipper.copyFromClipData(dstStack, clipData, opType, callback); in dropChecked()
/packages/apps/DocumentsUI/src/com/android/documentsui/files/
DActionHandler.java96 private final DocumentClipper mClipper; field in ActionHandler
118 mClipper = clipper; in ActionHandler()
170 mClipper.copyFromClipboard(doc, stack, mDialogs::showFileOperationStatus); in pasteIntoFolder()
258 mClipper.clipDocumentsForCut(mModel::getItemUri, selection, mState.stack.peek()); in cutToClipboard()
273 mClipper.clipDocumentsForCopy(mModel::getItemUri, selection); in copyToClipboard()
/packages/apps/DocumentsUI/tests/unit/com/android/documentsui/files/
DActionHandlerTest.java100 private TestDocumentClipper mClipper; field in ActionHandlerTest
126 mClipper = new TestDocumentClipper(); in setUp()
183 mClipper.clipForCut.assertNotCalled(); in testCutSelectedDocuments_ContainsNonMovableItem()
751 mClipper, in createHandler()
/packages/apps/DocumentsUI/src/com/android/documentsui/dirlist/
DDirectoryFragment.java193 private DocumentClipper mClipper; field in DirectoryFragment
451 mClipper = DocumentsApplication.getDocumentClipper(getContext()); in onCreateView()
1218 mClipper.copyFromClipboard( in pasteFromClipboard()
1237 mClipper.copyFromClipboard( in pasteIntoFolder()