/frameworks/base/packages/DocumentsUI/src/com/android/documentsui/model/ |
D | DocumentInfo.java | 26 import android.provider.DocumentsContract.Document; 162 this.documentId = getCursorString(cursor, Document.COLUMN_DOCUMENT_ID); in updateFromCursor() 163 this.mimeType = getCursorString(cursor, Document.COLUMN_MIME_TYPE); in updateFromCursor() 164 this.documentId = getCursorString(cursor, Document.COLUMN_DOCUMENT_ID); in updateFromCursor() 165 this.mimeType = getCursorString(cursor, Document.COLUMN_MIME_TYPE); in updateFromCursor() 166 this.displayName = getCursorString(cursor, Document.COLUMN_DISPLAY_NAME); in updateFromCursor() 167 this.lastModified = getCursorLong(cursor, Document.COLUMN_LAST_MODIFIED); in updateFromCursor() 168 this.flags = getCursorInt(cursor, Document.COLUMN_FLAGS); in updateFromCursor() 169 this.summary = getCursorString(cursor, Document.COLUMN_SUMMARY); in updateFromCursor() 170 this.size = getCursorLong(cursor, Document.COLUMN_SIZE); in updateFromCursor() [all …]
|
/frameworks/support/v4/kitkat/android/support/v4/provider/ |
D | DocumentsContractApi19.java | 37 return queryForString(context, self, DocumentsContract.Document.COLUMN_DISPLAY_NAME, null); in getName() 41 return queryForString(context, self, DocumentsContract.Document.COLUMN_MIME_TYPE, null); in getRawType() 46 if (DocumentsContract.Document.MIME_TYPE_DIR.equals(rawType)) { in getType() 54 return DocumentsContract.Document.MIME_TYPE_DIR.equals(getRawType(context, self)); in isDirectory() 59 if (DocumentsContract.Document.MIME_TYPE_DIR.equals(type) || TextUtils.isEmpty(type)) { in isFile() 67 return queryForLong(context, self, DocumentsContract.Document.COLUMN_LAST_MODIFIED, 0); in lastModified() 71 return queryForLong(context, self, DocumentsContract.Document.COLUMN_SIZE, 0); in length() 97 final int flags = queryForInt(context, self, DocumentsContract.Document.COLUMN_FLAGS, 0); in canWrite() 105 if ((flags & DocumentsContract.Document.FLAG_SUPPORTS_DELETE) != 0) { in canWrite() 109 if (DocumentsContract.Document.MIME_TYPE_DIR.equals(type) in canWrite() [all …]
|
/frameworks/base/packages/ExternalStorageProvider/src/com/android/externalstorage/ |
D | TestDocumentsProvider.java | 40 import android.provider.DocumentsContract.Document; 89 Document.COLUMN_DOCUMENT_ID, Document.COLUMN_MIME_TYPE, Document.COLUMN_DISPLAY_NAME, 90 Document.COLUMN_LAST_MODIFIED, Document.COLUMN_FLAGS, Document.COLUMN_SIZE, 242 includeFile(result, "localfile2", Document.FLAG_SUPPORTS_THUMBNAIL); in queryChildDocuments() 248 includeFile(result, "i maded u an picshure" + i, Document.FLAG_SUPPORTS_THUMBNAIL); in queryChildDocuments() 395 row.add(Document.COLUMN_DOCUMENT_ID, docId); in includeFile() 396 row.add(Document.COLUMN_DISPLAY_NAME, docId); in includeFile() 397 row.add(Document.COLUMN_LAST_MODIFIED, System.currentTimeMillis()); in includeFile() 398 row.add(Document.COLUMN_FLAGS, flags); in includeFile() 401 row.add(Document.COLUMN_MIME_TYPE, Document.MIME_TYPE_DIR); in includeFile() [all …]
|
D | ExternalStorageProvider.java | 38 import android.provider.DocumentsContract.Document; 74 Document.COLUMN_DOCUMENT_ID, Document.COLUMN_MIME_TYPE, Document.COLUMN_DISPLAY_NAME, 75 Document.COLUMN_LAST_MODIFIED, Document.COLUMN_FLAGS, Document.COLUMN_SIZE, 254 flags |= Document.FLAG_DIR_SUPPORTS_CREATE; in includeFile() 255 flags |= Document.FLAG_SUPPORTS_DELETE; in includeFile() 256 flags |= Document.FLAG_SUPPORTS_RENAME; in includeFile() 258 flags |= Document.FLAG_SUPPORTS_WRITE; in includeFile() 259 flags |= Document.FLAG_SUPPORTS_DELETE; in includeFile() 260 flags |= Document.FLAG_SUPPORTS_RENAME; in includeFile() 267 flags |= Document.FLAG_SUPPORTS_THUMBNAIL; in includeFile() [all …]
|
/frameworks/base/packages/ExternalStorageProvider/tests/src/com/android/externalstorage/ |
D | ExternalStorageProviderTest.java | 22 import android.provider.DocumentsContract.Document; 70 assertNameEquals("test", buildUniqueFile(mTarget, Document.MIME_TYPE_DIR, "test")); in testBuildUniqueFile_dir() 72 assertNameEquals("test (1)", buildUniqueFile(mTarget, Document.MIME_TYPE_DIR, "test")); in testBuildUniqueFile_dir() 74 assertNameEquals("test.jpg", buildUniqueFile(mTarget, Document.MIME_TYPE_DIR, "test.jpg")); in testBuildUniqueFile_dir() 76 … assertNameEquals("test.jpg (1)", buildUniqueFile(mTarget, Document.MIME_TYPE_DIR, "test.jpg")); in testBuildUniqueFile_dir()
|
/frameworks/base/packages/DocumentsUI/src/com/android/documentsui/ |
D | DirectoryLoader.java | 36 import android.provider.DocumentsContract.Document; 67 private static final String[] SEARCH_REJECT_MIMES = new String[] { Document.MIME_TYPE_DIR }; 135 if ((mDoc.flags & Document.FLAG_DIR_PREFERS_GRID) != 0) { in loadInBackground() 145 if ((mDoc.flags & Document.FLAG_DIR_PREFERS_LAST_MODIFIED) != 0) { in loadInBackground() 258 return Document.COLUMN_DISPLAY_NAME + " ASC"; in getQuerySortOrder() 260 return Document.COLUMN_LAST_MODIFIED + " DESC"; in getQuerySortOrder() 262 return Document.COLUMN_SIZE + " DESC"; in getQuerySortOrder()
|
D | SortingCursorWrapper.java | 28 import android.provider.DocumentsContract.Document; 69 final String mimeType = getCursorString(cursor, Document.COLUMN_MIME_TYPE); in SortingCursorWrapper() 71 cursor, Document.COLUMN_DISPLAY_NAME); in SortingCursorWrapper() 72 if (Document.MIME_TYPE_DIR.equals(mimeType)) { in SortingCursorWrapper() 79 mValueLong[i] = getCursorLong(cursor, Document.COLUMN_LAST_MODIFIED); in SortingCursorWrapper() 82 mValueLong[i] = getCursorLong(cursor, Document.COLUMN_SIZE); in SortingCursorWrapper()
|
D | FilteringCursorWrapper.java | 26 import android.provider.DocumentsContract.Document; 55 final String mimeType = getCursorString(cursor, Document.COLUMN_MIME_TYPE); in FilteringCursorWrapper() 56 final long lastModified = getCursorLong(cursor, Document.COLUMN_LAST_MODIFIED); in FilteringCursorWrapper()
|
D | DirectoryFragment.java | 54 import android.provider.DocumentsContract.Document; 440 final String docMimeType = getCursorString(cursor, Document.COLUMN_MIME_TYPE); 441 final int docFlags = getCursorInt(cursor, Document.COLUMN_FLAGS); 523 final String docMimeType = getCursorString(cursor, Document.COLUMN_MIME_TYPE); 524 final int docFlags = getCursorInt(cursor, Document.COLUMN_FLAGS); 525 if (!Document.MIME_TYPE_DIR.equals(docMimeType)) { 775 final String docId = getCursorString(cursor, Document.COLUMN_DOCUMENT_ID); in getDocumentView() 776 final String docMimeType = getCursorString(cursor, Document.COLUMN_MIME_TYPE); in getDocumentView() 777 final String docDisplayName = getCursorString(cursor, Document.COLUMN_DISPLAY_NAME); in getDocumentView() 778 final long docLastModified = getCursorLong(cursor, Document.COLUMN_LAST_MODIFIED); in getDocumentView() [all …]
|
D | CreateDirectoryFragment.java | 34 import android.provider.DocumentsContract.Document; 110 client, mCwd.derivedUri, Document.MIME_TYPE_DIR, mDisplayName); in doInBackground()
|
D | IconUtils.java | 24 import android.provider.DocumentsContract.Document; 221 if (Document.MIME_TYPE_DIR.equals(mimeType)) { in loadMimeIcon() 239 if (Document.MIME_TYPE_DIR.equals(mimeType)) { in loadMimeIcon()
|
D | RecentLoader.java | 32 import android.provider.DocumentsContract.Document; 77 private static final String[] RECENT_REJECT_MIMES = new String[] { Document.MIME_TYPE_DIR };
|
D | RecentsProvider.java | 34 import android.provider.DocumentsContract.Document; 86 public static final String DOCUMENT_ID = Document.COLUMN_DOCUMENT_ID;
|
/frameworks/base/tools/aidl/ |
D | generate_java.cpp | 73 Document* document = new Document; in generate_java()
|
D | AST.h | 357 struct Document struct 365 Document(); argument 366 virtual ~Document();
|
D | AST.cpp | 866 Document::Document() in Document() function in Document 870 Document::~Document() in ~Document() 891 Document::Write(FILE* to) in Write()
|
/frameworks/support/v4/api21/android/support/v4/provider/ |
D | DocumentsContractApi21.java | 38 return createFile(context, self, DocumentsContract.Document.MIME_TYPE_DIR, displayName); in createDirectory() 55 DocumentsContract.Document.COLUMN_DOCUMENT_ID }, null, null, null); in listFiles()
|
/frameworks/base/core/java/android/provider/ |
D | DocumentsProvider.java | 47 import android.provider.DocumentsContract.Document; 407 return cursor.getString(cursor.getColumnIndexOrThrow(Document.COLUMN_MIME_TYPE)); in getDocumentType() 642 final String mimeType = extras.getString(Document.COLUMN_MIME_TYPE); in call() 643 final String displayName = extras.getString(Document.COLUMN_DISPLAY_NAME); in call() 656 final String displayName = extras.getString(Document.COLUMN_DISPLAY_NAME); in call()
|
D | DocumentsContract.java | 126 public final static class Document { class in DocumentsContract 127 private Document() { in Document() method in DocumentsContract.Document 915 in.putString(Document.COLUMN_MIME_TYPE, mimeType); in createDocument() 916 in.putString(Document.COLUMN_DISPLAY_NAME, displayName); in createDocument() 954 in.putString(Document.COLUMN_DISPLAY_NAME, displayName); in renameDocument()
|
/frameworks/base/docs/html/guide/topics/providers/ |
D | document-provider.jd | 30 <li><a href="#custom">Writing a Custom Document Provider</a> 91 <li><strong>Document provider</strong>—A content provider that allows a 124 …ss="img-caption"><strong>Figure 1.</strong> Document provider data model. A Root points to a singl… 143 {@link android.provider.DocumentsContract.Document#COLUMN_DOCUMENT_ID}. 144 Document IDs must be unique and not change once issued, since they are used for persistent 150 {@link android.provider.DocumentsContract.Document#MIME_TYPE_DIR} MIME type).</li> 153 {@link android.provider.DocumentsContract.Document#COLUMN_FLAGS COLUMN_FLAGS}. 154 For example, {@link android.provider.DocumentsContract.Document#FLAG_SUPPORTS_WRITE}, 155 {@link android.provider.DocumentsContract.Document#FLAG_SUPPORTS_DELETE}, and 156 {@link android.provider.DocumentsContract.Document#FLAG_SUPPORTS_THUMBNAIL}. [all …]
|
/frameworks/base/docs/html/training/printing/ |
D | index.jd | 53 <strong><a href="html-docs.html">Printing an HTML Document</a></strong> 58 <strong><a href="custom-docs.html">Printing a Custom Document</a></strong>
|
D | html-docs.jd | 16 <li><a href="#load-html">Load an HTML Document</a></li> 35 <h2 id="load-html">Load an HTML Document</h2> 140 <a href="custom-docs.html">Printing a Custom Document</a> lesson.</p> 161 String jobName = getString(R.string.app_name) + " Document";
|
D | photos.jd | 81 <a href="html-docs.html">Printing an HTML Document</a> or 82 <a href="custom-docs.html">Printing a Custom Document</a>
|
/frameworks/base/docs/html/sdk/api_diff/8/ |
D | missingSinces.txt | 69 NO DOC BLOCK: org.w3c.dom.Document Method adoptNode(org.w3c.dom.Node) 107 NO DOC BLOCK: org.w3c.dom.Document Method getDocumentURI() 108 NO DOC BLOCK: org.w3c.dom.Document Method getDomConfig() 129 NO DOC BLOCK: org.w3c.dom.Document Method getInputEncoding() 150 NO DOC BLOCK: org.w3c.dom.Document Method getStrictErrorChecking() 161 NO DOC BLOCK: org.w3c.dom.Document Method getXmlEncoding() 163 NO DOC BLOCK: org.w3c.dom.Document Method getXmlStandalone() 164 NO DOC BLOCK: org.w3c.dom.Document Method getXmlVersion() 190 NO DOC BLOCK: org.w3c.dom.Document Method normalizeDocument() 209 NO DOC BLOCK: org.w3c.dom.Document Method renameNode(org.w3c.dom.Node, java.lang.String, java.lang.… [all …]
|
/frameworks/base/tests/RenderScriptTests/SceneGraph/src/com/android/scenegraph/ |
D | ColladaParser.java | 33 import org.w3c.dom.Document; 44 Document mDom;
|