Home
last modified time | relevance | path

Searched refs:dstStack (Results 1 – 7 of 7) sorted by relevance

/packages/apps/DocumentsUI/src/com/android/documentsui/
DDragAndDropManager.java142 boolean drop(ClipData clipData, Object localState, DocumentStack dstStack, in drop() argument
418 public boolean drop(ClipData clipData, Object localState, DocumentStack dstStack, in drop() argument
421 if (!canCopyTo(dstStack)) { in drop()
428 dstStack, in drop()
429 calculateOpType(clipData, dstStack.getRoot()), in drop()
434 private void dropChecked(ClipData clipData, Object localState, DocumentStack dstStack, in dropChecked() argument
446 mClipper.copyFromClipData(dstStack, clipData, opType, callback); in dropChecked()
487 private boolean canCopyTo(DocumentStack dstStack) { in canCopyTo() argument
488 final RootInfo root = dstStack.getRoot(); in canCopyTo()
489 final DocumentInfo dst = dstStack.peek(); in canCopyTo()
DOperationDialogFragment.java65 DocumentStack dstStack, in show() argument
/packages/apps/DocumentsUI/src/com/android/documentsui/clipping/
DRuntimeDocumentClipper.java242 DocumentStack dstStack = new DocumentStack(docStack, destination); in copyFromClipData() local
243 copyFromClipData(dstStack, clipData, callback); in copyFromClipData()
248 DocumentStack dstStack, in copyFromClipData() argument
254 copyFromClipData(dstStack, clipData, callback); in copyFromClipData()
259 DocumentStack dstStack, in copyFromClipData() argument
271 if (!canCopy(dstStack.peek())) { in copyFromClipData()
290 .withDestination(dstStack) in copyFromClipData()
DDocumentClipper.java124 DocumentStack dstStack, in copyFromClipData() argument
138 DocumentStack dstStack, in copyFromClipData() argument
/packages/apps/DocumentsUI/tests/common/com/android/documentsui/testing/
DTestDragAndDropManager.java78 public boolean drop(ClipData clipData, Object localState, DocumentStack dstStack, in drop() argument
80 return dropOnDocumentHandler.accept(Pair.create(clipData, dstStack)); in drop()
DTestDocumentClipper.java102 public void copyFromClipData(DocumentStack dstStack, ClipData clipData, in copyFromClipData() argument
104 copyFromClip.accept(Pair.create(dstStack, clipData)); in copyFromClipData()
/packages/apps/DocumentsUI/src/com/android/documentsui/dirlist/
DDragHost.java125 DocumentStack dstStack = dst.equals(mState.stack.peek()) in handleDropEvent() local
128 return mDragAndDropManager.drop(event.getClipData(), event.getLocalState(), dstStack, in handleDropEvent()