/packages/apps/DocumentsUI/src/com/android/documentsui/base/ |
D | DocumentStack.java | 48 public class DocumentStack implements Durable, Parcelable { class 60 public DocumentStack() { in DocumentStack() method in DocumentStack 68 public DocumentStack(RootInfo root, DocumentInfo... docs) { in DocumentStack() method in DocumentStack 81 public DocumentStack(RootInfo root, List<DocumentInfo> docs) { in DocumentStack() method in DocumentStack 90 public DocumentStack(DocumentStack src, DocumentInfo... docs) { in DocumentStack() method in DocumentStack 196 public void reset(DocumentStack stack) { in reset() 243 public static @Nullable DocumentStack fromLastAccessedCursor( in fromLastAccessedCursor() 248 DocumentStack stack = new DocumentStack(); in fromLastAccessedCursor() 268 if (!(o instanceof DocumentStack)) { in equals() 272 DocumentStack other = (DocumentStack) o; in equals() [all …]
|
/packages/apps/DocumentsUI/tests/common/com/android/documentsui/testing/ |
D | TestDocumentClipper.java | 26 import com.android.documentsui.base.DocumentStack; 43 public final TestEventListener<Pair<DocumentStack, ClipData>> copyFromClip = 86 public void copyFromClipboard(DocumentInfo destination, DocumentStack docStack, in copyFromClipboard() 88 copyFromClip.accept(Pair.create(new DocumentStack(docStack, destination), primaryClip)); in copyFromClipboard() 92 public void copyFromClipboard(DocumentStack docStack, Callback callback) { in copyFromClipboard() 97 public void copyFromClipData(DocumentInfo destination, DocumentStack docStack, in copyFromClipData() 99 copyFromClip.accept(Pair.create(new DocumentStack(docStack, destination), clipData)); in copyFromClipData() 103 public void copyFromClipData(DocumentStack dstStack, ClipData clipData, in copyFromClipData() 110 public void copyFromClipData(DocumentStack docStack, ClipData clipData, Callback callback) { in copyFromClipData()
|
D | TestLastAccessedStorage.java | 25 import com.android.documentsui.base.DocumentStack; 37 private DocumentStack mLastAccessedStack; 41 …public @Nullable DocumentStack getLastAccessed(Activity activity, ProvidersAccess roots, State sta… in getLastAccessed() 46 public void setLastAccessed(Activity activity, DocumentStack stack) { in setLastAccessed() 56 public void assertSameStack(DocumentStack expected) { in assertSameStack()
|
D | TestDragAndDropManager.java | 31 import com.android.documentsui.base.DocumentStack; 43 public final TestEventHandler<Pair<ClipData, DocumentStack>> dropOnDocumentHandler = 78 public boolean drop(ClipData clipData, Object localState, DocumentStack dstStack, in drop()
|
D | TestActivityConfig.java | 20 import com.android.documentsui.base.DocumentStack; 42 public boolean managedModeEnabled(DocumentStack stack) { in managedModeEnabled()
|
D | DocumentStackAsserts.java | 6 import com.android.documentsui.base.DocumentStack; 18 public static void assertEqualsTo(DocumentStack stack, RootInfo root, List<DocumentInfo> docs) { in assertEqualsTo()
|
/packages/apps/DocumentsUI/src/com/android/documentsui/services/ |
D | FileOperation.java | 37 import com.android.documentsui.base.DocumentStack; 55 private DocumentStack mDestination; 60 FileOperation(@OpType int opType, UrisSupplier srcs, DocumentStack destination) { in FileOperation() 82 public DocumentStack getDestination() { in getDestination() 90 public void setDestination(DocumentStack destination) { in setDestination() 122 private CopyOperation(UrisSupplier srcs, DocumentStack destination) { in CopyOperation() 163 private CompressOperation(UrisSupplier srcs, DocumentStack destination) { in CompressOperation() 204 private ExtractOperation(UrisSupplier srcs, DocumentStack destination) { in ExtractOperation() 249 DocumentStack destination, @Nullable Uri srcParent) { in MoveDeleteOperation() 313 private DocumentStack mDestination; [all …]
|
/packages/apps/DocumentsUI/src/com/android/documentsui/ |
D | LoadDocStackTask.java | 27 import com.android.documentsui.base.DocumentStack; 43 public class LoadDocStackTask extends PairedTask<Activity, Uri, DocumentStack> { 62 public @Nullable DocumentStack run(Uri... uris) { in run() 90 public void finish(@Nullable DocumentStack stack){ in finish() 94 private DocumentStack buildStack(String authority, Path path) throws Exception { in buildStack() 108 return new DocumentStack(root, docs); in buildStack() 113 void onDocumentStackLoaded(@Nullable DocumentStack stack); in onDocumentStackLoaded()
|
D | DragAndDropManager.java | 33 import com.android.documentsui.base.DocumentStack; 143 boolean drop(ClipData clipData, Object localState, DocumentStack dstStack, in drop() 412 new DocumentStack(destRoot, destRootDoc), in dropOnRootDocument() 419 public boolean drop(ClipData clipData, Object localState, DocumentStack dstStack, in drop() 435 private void dropChecked(ClipData clipData, Object localState, DocumentStack dstStack, in dropChecked() 488 private boolean canCopyTo(DocumentStack dstStack) { in canCopyTo()
|
D | AbstractActionHandler.java | 50 import com.android.documentsui.base.DocumentStack; 215 public void openInNewWindow(DocumentStack path) { in openInNewWindow() 346 (@Nullable DocumentStack stack) -> openFolderInSearchResult(stack, doc)); in openContainerDocument() 357 private void openFolderInSearchResult(@Nullable DocumentStack stack, DocumentInfo doc) { in openFolderInSearchResult() 497 DocumentStack stack = mState.stack; in loadDocumentsForCurrentStack() 521 private void onStackLoaded(@Nullable DocumentStack stack) { in onStackLoaded()
|
D | ActivityConfig.java | 19 import com.android.documentsui.base.DocumentStack; 43 public boolean managedModeEnabled(DocumentStack stack) { in managedModeEnabled()
|
/packages/apps/DocumentsUI/tests/unit/com/android/documentsui/base/ |
D | DocumentStackTest.java | 47 private DocumentStack mStack; 71 mStack = new DocumentStack(); in setUp() 141 DocumentStack stack = new DocumentStack(mStack); in testCopyConstructor() 155 DocumentStack stack = new DocumentStack(mStack); in testCopyConstructor_MakesDeepCopy() 178 Parcelables.assertParcelable(mStack, 0, (DocumentStack left, DocumentStack right) -> { in testParceling()
|
/packages/apps/DocumentsUI/src/com/android/documentsui/picker/ |
D | LoadLastAccessedStackTask.java | 22 import com.android.documentsui.base.DocumentStack; 38 extends PairedTask<T, Void, DocumentStack> { 43 private final Consumer<DocumentStack> mCallback; 50 Consumer<DocumentStack> callback) { in LoadLastAccessedStackTask() 59 protected DocumentStack run(Void... params) { in run() 64 protected void finish(@Nullable DocumentStack stack) { in finish()
|
D | LastAccessedStorage.java | 26 import com.android.documentsui.base.DocumentStack; 42 @Nullable DocumentStack getLastAccessed( in getLastAccessed() 45 void setLastAccessed(Activity activity, DocumentStack stack); in setLastAccessed() 60 public @Nullable DocumentStack getLastAccessed( in getLastAccessed() 67 return DocumentStack.fromLastAccessedCursor( in getLastAccessed() 79 public void setLastAccessed(Activity activity, DocumentStack stack) { in setLastAccessed()
|
D | SetLastAccessedStackTask.java | 21 import com.android.documentsui.base.DocumentStack; 27 private final DocumentStack mStack; 33 DocumentStack stack, in SetLastAccessedStackTask()
|
D | CreatePickedDocumentTask.java | 33 import com.android.documentsui.base.DocumentStack; 45 private final DocumentStack mStack; 55 DocumentStack stack, in CreatePickedDocumentTask()
|
D | LastAccessedProvider.java | 39 import com.android.documentsui.base.DocumentStack; 123 ContentResolver resolver, String packageName, DocumentStack stack) { in setLastAccessed() 243 final DocumentStack stack = new DocumentStack(); in purgeByAuthority()
|
/packages/apps/DocumentsUI/src/com/android/documentsui/clipping/ |
D | DocumentClipper.java | 27 import com.android.documentsui.base.DocumentStack; 84 DocumentStack docStack, in copyFromClipboard() 95 DocumentStack docStack, in copyFromClipboard() 109 DocumentStack docStack, in copyFromClipData() 123 DocumentStack dstStack, in copyFromClipData() 137 DocumentStack dstStack, in copyFromClipData()
|
D | RuntimeDocumentClipper.java | 33 import com.android.documentsui.base.DocumentStack; 222 DocumentStack docStack, in copyFromClipboard() 230 DocumentStack docStack, in copyFromClipboard() 239 DocumentStack docStack, in copyFromClipData() 243 DocumentStack dstStack = new DocumentStack(docStack, destination); in copyFromClipData() 249 DocumentStack dstStack, in copyFromClipData() 260 DocumentStack dstStack, in copyFromClipData()
|
/packages/apps/DocumentsUI/tests/unit/com/android/documentsui/queries/ |
D | SearchViewManagerTest.java | 51 import com.android.documentsui.base.DocumentStack; 357 DocumentStack stack = new DocumentStack(root, new DocumentInfo()); in testSupportsMimeTypesSearch_showChips() 372 DocumentStack stack = new DocumentStack(root, new DocumentInfo()); in testNotSupportsMimeTypesSearch_notShowChips() 384 DocumentStack stack = new DocumentStack(root, new DocumentInfo()); in testSupportsSearch_showMenu() 396 DocumentStack stack = new DocumentStack(root, new DocumentInfo()); in testNotSupportsSearch_notShowMenuAndChips()
|
/packages/apps/DocumentsUI/tests/unit/com/android/documentsui/ |
D | DragAndDropManagerTests.java | 38 import com.android.documentsui.base.DocumentStack; 665 final DocumentStack expect = in testDrop_Copies_DifferentRoot_DropOnRoot() 666 new DocumentStack(TestProvidersAccess.DOWNLOADS, TestEnv.FOLDER_1); in testDrop_Copies_DifferentRoot_DropOnRoot() 691 final DocumentStack expect = in testDrop_Moves_SameRoot_DropOnRoot() 692 new DocumentStack(TestProvidersAccess.DOWNLOADS, TestEnv.FOLDER_1); in testDrop_Moves_SameRoot_DropOnRoot() 724 final DocumentStack expect = in testDrop_Copies_SameRoot_DropOnRoot_ReleasesCtrlBeforeGettingRootDocument() 725 new DocumentStack(TestProvidersAccess.DOWNLOADS, TestEnv.FOLDER_1); in testDrop_Copies_SameRoot_DropOnRoot_ReleasesCtrlBeforeGettingRootDocument() 744 final DocumentStack stack = new DocumentStack( in testDrop_Rejects_RootNotSupportCreate_DropOnDocument() 763 final DocumentStack stack = new DocumentStack( in testDrop_Copies_DifferentRoot_DropOnDocument() 785 final DocumentStack stack = new DocumentStack( in testDrop_Moves_SameRoot_DropOnDocument() [all …]
|
/packages/apps/DocumentsUI/tests/unit/com/android/documentsui/services/ |
D | AbstractJobTest.java | 36 import com.android.documentsui.base.DocumentStack; 100 DocumentStack stack = in createOperation() 101 new DocumentStack(mSrcRoot, DocumentInfo.fromUri(mResolver, destination)); in createOperation() 124 DocumentStack stack = in createJob() 125 new DocumentStack(mSrcRoot, DocumentInfo.fromUri(mResolver, destination)); in createJob()
|
D | FileOperationServiceTest.java | 38 import com.android.documentsui.base.DocumentStack; 327 DocumentStack stack = new DocumentStack(); in createCopyIntent() 342 DocumentStack stack = new DocumentStack(); in createDeleteIntent() 414 private final DocumentStack mDestination; 417 @OpType int opType, UrisSupplier srcs, DocumentStack destination) { in TestFileOperation()
|
/packages/apps/DocumentsUI/src/com/android/documentsui/dirlist/ |
D | DragHost.java | 34 import com.android.documentsui.base.DocumentStack; 128 DocumentStack dstStack = dst.equals(mState.stack.peek()) in handleDropEvent() 130 : new DocumentStack(mState.stack, dst); in handleDropEvent()
|
/packages/apps/DocumentsUI/src/com/android/documentsui/files/ |
D | Config.java | 20 import com.android.documentsui.base.DocumentStack; 29 public boolean managedModeEnabled(DocumentStack stack) { in managedModeEnabled()
|