Home
last modified time | relevance | path

Searched refs:createDir (Results 1 – 4 of 4) sorted by relevance

/packages/apps/DocumentsUI/src/com/android/documentsui/picker/
DMenuManager.java83 protected void updateCreateDir(MenuItem createDir) { in updateCreateDir() argument
84 createDir.setVisible(picking()); in updateCreateDir()
85 createDir.setEnabled(picking() && mDirDetails.canCreateDirectory()); in updateCreateDir()
/packages/apps/DocumentsUI/tests/unit/com/android/documentsui/base/
DDocumentStackTest.java53 DIR_1 = createDir("first");
54 DIR_2 = createDir("second");
57 private static DocumentInfo createDir(String docId) { in createDir() method in DocumentStackTest
/packages/apps/DocumentsUI/src/com/android/documentsui/files/
DMenuManager.java240 protected void updateCreateDir(MenuItem createDir) { in updateCreateDir() argument
241 createDir.setVisible(true); in updateCreateDir()
242 createDir.setEnabled(mDirDetails.canCreateDirectory()); in updateCreateDir()
/packages/apps/DocumentsUI/src/com/android/documentsui/
DMenuManager.java190 MenuItem createDir = menu.findItem(R.id.dir_menu_create_dir); in updateContextMenuForContainer() local
194 updateCreateDir(createDir); in updateContextMenuForContainer()
311 protected abstract void updateCreateDir(MenuItem createDir); in updateCreateDir() argument