Home
last modified time | relevance | path

Searched refs:canDelete (Results 1 – 11 of 11) sorted by relevance

/packages/apps/DocumentsUI/tests/common/com/android/documentsui/testing/
DTestSelectionDetails.java28 public boolean canDelete; field in TestSelectionDetails
64 public boolean canDelete() { in canDelete() method in TestSelectionDetails
65 return canDelete; in canDelete()
/packages/apps/DocumentsUI/tests/unit/com/android/documentsui/files/
DMenuManagerTest.java228 selectionDetails.canDelete = true; in testActionMenu()
297 selectionDetails.canDelete = false; in testActionMenu_cantDelete()
337 selectionDetails.canDelete = false; in testActionMenu_changeToCanDelete()
340 selectionDetails.canDelete = true; in testActionMenu_changeToCanDelete()
666 selectionDetails.canDelete = true; in testContextMenu_OnMixedDocs()
679 selectionDetails.canDelete = true; in testContextMenu_OnMixedDocs_hasPartialFile()
691 selectionDetails.canDelete = false; in testContextMenu_OnMixedDocs_hasUndeletableFile()
/packages/apps/DocumentsUI/src/com/android/documentsui/
DMenuManager.java210 final boolean canDelete = selectionDetails.canDelete(); in updateContextMenu()
211 Menus.setEnabledAndVisible(cut, canCopy && canDelete); in updateContextMenu()
213 Menus.setEnabledAndVisible(delete, canDelete); in updateContextMenu()
402 boolean canDelete(); in canDelete() method
DDragAndDropManager.java247 mMustBeCopied = !selectionDetails.canDelete(); in startDrag()
/packages/apps/DocumentsUI/tests/unit/com/android/documentsui/picker/
DMenuManagerTest.java428 selectionDetails.canDelete = true; in testContextMenu_OnMixedDocs()
441 selectionDetails.canDelete = true; in testContextMenu_OnMixedDocs_hasPartialFile()
453 selectionDetails.canDelete = false; in testContextMenu_OnMixedDocs_hasUndeletableFile()
/packages/apps/DocumentsUI/src/com/android/documentsui/files/
DMenuManager.java182 !selectionDetails.containsPartialFiles() && selectionDetails.canDelete()); in updateMoveTo()
252 boolean enabled = selectionDetails.canDelete();
/packages/apps/Camera2/src/com/android/camera/data/
DFilmstripItemAttributes.java63 public boolean canDelete() { in canDelete() method in FilmstripItemAttributes
DCameraFilmstripDataAdapter.java453 if (!item.getAttributes().canDelete()) { in doInBackground()
/packages/apps/DocumentsUI/src/com/android/documentsui/dirlist/
DSelectionMetadata.java146 public boolean canDelete() { in canDelete() method in SelectionMetadata
/packages/apps/DocumentsUI/tests/unit/com/android/documentsui/
DDragAndDropManagerTests.java111 mDetails.canDelete = true; in setUp()
833 mDetails.canDelete = false; in testDrop_Copies_SameRoot_ReadOnlyFile_DropOnDocument()
/packages/apps/Camera2/src/com/android/camera/
DCameraActivity.java2993 currentData.getAttributes().canDelete()); in updateBottomControlsByData()