Home
last modified time | relevance | path

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

/packages/apps/DocumentsUI/src/com/android/documentsui/dirlist/
DRenameDocumentFragment.java57 private DocumentInfo mDocument; field in RenameDocumentFragment
64 dialog.mDocument = document; in show()
134 mEditText.setText(mDocument.displayName); in onActivityCreated()
139 mDocument = savedInstanceState.getParcelable(Shared.EXTRA_DOC); in onActivityCreated()
153 outState.putParcelable(Shared.EXTRA_DOC, mDocument); in onSaveInstanceState()
175 (separatorIndex == -1 || mDocument.isDirectory()) ? text.length() : separatorIndex); in selectFileName()
190 if (newDisplayName.equals(mDocument.displayName)) { in renameDocuments()
201 new RenameDocumentsTask(activity, newDisplayName).execute(mDocument); in renameDocuments()
DDirectoryState.java37 @Nullable DocumentInfo mDocument; field in DirectoryState
53 mDocument = bundle.getParcelable(Shared.EXTRA_DOC); in restore()
62 bundle.putParcelable(Shared.EXTRA_DOC, mDocument); in save()
80 builder.append(mDocument != null ? mDocument.documentId : "null"); in getConfigKey()
DDirectoryFragment.java404 (mLocalState.mDocument == null) in onActivityCreated()
405 || mLocalState.mDocument.prefersSortByLastModified(); in onActivityCreated()
/packages/apps/DocumentsUI/src/com/android/documentsui/files/
DQuickViewIntentBuilder.java74 private final DocumentInfo mDocument; field in QuickViewIntentBuilder
96 mDocument = doc; in QuickViewIntentBuilder()
107 Log.d(TAG, "Preparing intent for doc:" + mDocument.documentId); in build()
114 intent.setDataAndType(mDocument.derivedUri, mDocument.mimeType); in build()
119 includeQuickViewFeaturesFlag(intent, mDocument, mFromPicker); in build()
217 if (id.equals(mDocument.documentId)) { in collectViewableUris()
/packages/services/BuiltInPrintService/src/com/android/bips/
DImageToPdfTask.java44 private final PrintedPdfDocument mDocument; field in ImageToPdfTask
56 mDocument = new PrintedPdfDocument(context, mAttributes); in ImageToPdfTask()
66 mDocument.writeTo(new FileOutputStream(output.getFileDescriptor())); in doInBackground()
67 mDocument.close(); in doInBackground()
77 PdfDocument.Page page = mDocument.startPage(1); in writeBitmapToDocument()
84 mDocument.finishPage(page); in writeBitmapToDocument()