Home
last modified time | relevance | path

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

/packages/apps/DocumentsUI/src/com/android/documentsui/dirlist/
DRenameDocumentFragment.java187 private void renameDocuments(String newDisplayName) { in renameDocuments() argument
190 if (newDisplayName.equals(mDocument.displayName)) { in renameDocuments()
192 } else if (!isValidDocumentName(newDisplayName)) { in renameDocuments()
193 Log.w(TAG, "Failed to rename file - invalid name:" + newDisplayName); in renameDocuments()
196 } else if (activity.getInjector().getModel().hasFileWithName(newDisplayName)){ in renameDocuments()
201 new RenameDocumentsTask(activity, newDisplayName).execute(mDocument); in renameDocuments()
210 public RenameDocumentsTask(BaseActivity activity, String newDisplayName) { in RenameDocumentsTask() argument
212 mNewDisplayName = newDisplayName; in RenameDocumentsTask()