Home
last modified time | relevance | path

Searched refs:hasItemsToPaste (Results 1 – 9 of 9) sorted by relevance

/packages/apps/DocumentsUI/tests/common/com/android/documentsui/testing/
DTestDirectoryDetails.java28 public boolean hasItemsToPaste; field in TestDirectoryDetails
43 public boolean hasItemsToPaste() { in hasItemsToPaste() method in TestDirectoryDetails
44 return hasItemsToPaste; in hasItemsToPaste()
DTestDocumentClipper.java48 public boolean hasItemsToPaste() { in hasItemsToPaste() method in TestDocumentClipper
/packages/apps/DocumentsUI/tests/unit/com/android/documentsui/files/
DMenuManagerTest.java516 dirDetails.hasItemsToPaste = false; in testContextMenu_EmptyArea_NoItemToPaste()
531 dirDetails.hasItemsToPaste = true; in testContextMenu_EmptyArea_CantCreateDoc()
546 dirDetails.hasItemsToPaste = true; in testContextMenu_EmptyArea_CanPaste()
612 dirDetails.hasItemsToPaste = true; in testContextMenu_OnWritableDirectory()
652 dirDetails.hasItemsToPaste = false; in testContextMenu_OnWritableDirectory_NothingToPaste()
748 dirDetails.hasItemsToPaste = true; in testRootContextMenu_NonWritableRoot()
759 dirDetails.hasItemsToPaste = false; in testRootContextMenu_NothingToPaste()
770 dirDetails.hasItemsToPaste = true; in testRootContextMenu_PasteIntoWritableRoot()
/packages/apps/DocumentsUI/tests/unit/com/android/documentsui/picker/
DMenuManagerTest.java310 dirDetails.hasItemsToPaste = false; in testContextMenu_EmptyArea()
326 dirDetails.hasItemsToPaste = false; in testContextMenu_EmptyArea_NoItemToPaste()
341 dirDetails.hasItemsToPaste = true; in testContextMenu_EmptyArea_CantCreateDoc()
356 dirDetails.hasItemsToPaste = true; in testContextMenu_EmptyArea_canPaste()
473 dirDetails.hasItemsToPaste = true; in testRootContextMenu_nonWritableRoot()
482 dirDetails.hasItemsToPaste = false; in testRootContextMenu_nothingToPaste()
/packages/apps/DocumentsUI/src/com/android/documentsui/files/
DMenuManager.java208 pasteInto.setEnabled(selectionDetails.canPasteInto() && mDirDetails.hasItemsToPaste()); in updatePasteInto()
217 && mDirDetails.hasItemsToPaste()); in updatePasteInto()
DFilesActivity.java119 public boolean hasItemsToPaste() { in onCreate()
120 return clipper.hasItemsToPaste(); in onCreate()
/packages/apps/DocumentsUI/src/com/android/documentsui/
DMenuManager.java216 paste.setEnabled(mDirDetails.hasItemsToPaste() && mDirDetails.canCreateDoc()); in updateContextMenuForContainer()
395 public boolean hasItemsToPaste() { in hasItemsToPaste() method in MenuManager.DirectoryDetails
/packages/apps/DocumentsUI/src/com/android/documentsui/clipping/
DDocumentClipper.java43 boolean hasItemsToPaste(); in hasItemsToPaste() method
DRuntimeDocumentClipper.java69 public boolean hasItemsToPaste() { in hasItemsToPaste() method in RuntimeDocumentClipper