Lines Matching refs:Document
42 import android.provider.DocumentsContract.Document;
87 * {@link Document#MIME_TYPE_DIR} MIME type). Each directory represents the top
93 * {@link Document#COLUMN_FLAGS}. For example, if a document can be represented
95 * {@link Document#FLAG_SUPPORTS_THUMBNAIL} and implement
101 * {@link Document#COLUMN_DOCUMENT_ID}, which must not change once returned. A
165 * {@link Document#COLUMN_DOCUMENT_ID}. You must allocate a new
166 * {@link Document#COLUMN_DOCUMENT_ID} to represent the document, which must
218 * sorted by {@link Document#COLUMN_LAST_MODIFIED} in descending order, and
223 * @param projection list of {@link Document} columns to put into the
239 * @param projection list of {@link Document} columns to put into the
268 * @param projection list of {@link Document} columns to put into the
298 * least {@link Document#COLUMN_DISPLAY_NAME} be matched in a
320 * @param projection list of {@link Document} columns to put into the
335 * of {@link Document#COLUMN_MIME_TYPE} for this document. The default
343 return cursor.getString(cursor.getColumnIndexOrThrow(Document.COLUMN_MIME_TYPE));
392 * @see Document#FLAG_SUPPORTS_THUMBNAIL
512 final String documentId = extras.getString(Document.COLUMN_DOCUMENT_ID);
524 final String mimeType = extras.getString(Document.COLUMN_MIME_TYPE);
525 final String displayName = extras.getString(Document.COLUMN_DISPLAY_NAME);
528 out.putString(Document.COLUMN_DOCUMENT_ID, newDocumentId);
543 // Document no longer exists, clean up any grants