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()
667 mClipper.copyFromClip.assertLastArgument(Pair.create(expect, mClipData)); in testDrop_Copies_DifferentRoot_DropOnRoot()
668 mClipper.opType.assertLastArgument(FileOperationService.OPERATION_COPY); in testDrop_Copies_DifferentRoot_DropOnRoot()
693 mClipper.copyFromClip.assertLastArgument(Pair.create(expect, mClipData)); in testDrop_Moves_SameRoot_DropOnRoot()
694 mClipper.opType.assertLastArgument(FileOperationService.OPERATION_MOVE); in testDrop_Moves_SameRoot_DropOnRoot()
[all …]
/packages/apps/DocumentsUI/src/com/android/documentsui/
DDocumentsApplication.java49 private DocumentClipper mClipper; field in DocumentsApplication
74 return ((DocumentsApplication) context.getApplicationContext()).mClipper; in getDocumentClipper()
116 mClipper = DocumentClipper.create(this, mClipStore); in onCreate()
118 mDragAndDropManager = DragAndDropManager.create(this, mClipper); in onCreate()
DDragAndDropManager.java163 private final DocumentClipper mClipper; field in DragAndDropManager.RuntimeDragAndDropManager
197 mClipper = clipper; in RuntimeDragAndDropManager()
245 ? mClipper.getClipDataForDocuments(uris, FileOperationService.OPERATION_UNKNOWN) in startDrag()
246 : mClipper.getClipDataForDocuments( in startDrag()
447 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
120 mClipper = clipper; in ActionHandler()
169 mClipper.copyFromClipboard(doc, stack, mDialogs::showFileOperationStatus); in pasteIntoFolder()
257 mClipper.clipDocumentsForCut(mModel::getItemUri, selection, mState.stack.peek()); in cutToClipboard()
272 mClipper.clipDocumentsForCopy(mModel::getItemUri, selection); in copyToClipboard()
/packages/apps/DocumentsUI/tests/unit/com/android/documentsui/files/
DActionHandlerTest.java88 private TestDocumentClipper mClipper; field in ActionHandlerTest
100 mClipper = new TestDocumentClipper(); in setUp()
151 mClipper.clipForCut.assertNotCalled(); in testCutSelectedDocuments_ContainsNonMovableItem()
729 mClipper, in createHandler()
/packages/apps/DocumentsUI/src/com/android/documentsui/dirlist/
DDirectoryFragment.java166 private DocumentClipper mClipper; field in DirectoryFragment
235 mClipper = DocumentsApplication.getDocumentClipper(getContext()); in onCreateView()
958 mClipper.copyFromClipboard( in pasteFromClipboard()
974 mClipper.copyFromClipboard( in pasteIntoFolder()