Home
last modified time | relevance | path

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

/frameworks/base/packages/DocumentsUI/src/com/android/documentsui/dirlist/
DFragmentTuner.java65 public boolean canSelectType(String docMimeType, int docFlags) { in canSelectType() argument
69 public boolean isDocumentEnabled(String docMimeType, int docFlags) { in isDocumentEnabled() argument
105 public boolean canSelectType(String docMimeType, int docFlags) { in canSelectType() argument
106 if (!isDocumentEnabled(docMimeType, docFlags)) { in canSelectType()
126 public boolean isDocumentEnabled(String mimeType, int docFlags) { in isDocumentEnabled() argument
135 if ((docFlags & Document.FLAG_SUPPORTS_WRITE) == 0) { in isDocumentEnabled()
140 final boolean isVirtual = (docFlags & Document.FLAG_VIRTUAL_DOCUMENT) != 0; in isDocumentEnabled()
DDirectoryFragment.java365 final int docFlags = getCursorInt(cursor, Document.COLUMN_FLAGS); in handleViewItem() local
366 if (mTuner.isDocumentEnabled(docMimeType, docFlags)) { in handleViewItem()
486 final int docFlags = getCursorInt(cursor, Document.COLUMN_FLAGS); in onBeforeItemStateChange() local
487 if (!mTuner.canSelectType(docMimeType, docFlags)) { in onBeforeItemStateChange()
520 final int docFlags = getCursorInt(cursor, Document.COLUMN_FLAGS); in onItemStateChanged() local
521 if ((docFlags & Document.FLAG_PARTIAL) != 0) { in onItemStateChanged()
524 if ((docFlags & Document.FLAG_SUPPORTS_DELETE) == 0) { in onItemStateChanged()
527 if ((docFlags & Document.FLAG_SUPPORTS_RENAME) == 0) { in onItemStateChanged()
968 public boolean isDocumentEnabled(String docMimeType, int docFlags) { in isDocumentEnabled() argument
969 return mTuner.isDocumentEnabled(docMimeType, docFlags); in isDocumentEnabled()
[all …]
DGridDocumentHolder.java127 final int docFlags = getCursorInt(cursor, Document.COLUMN_FLAGS); in bind() local
138 mIconHelper.loadThumbnail(uri, docMimeType, docFlags, docIcon, mIconThumb, mIconMimeLg, in bind()
DModelBackedDocumentsAdapter.java118 final int docFlags = getCursorInt(cursor, Document.COLUMN_FLAGS); in onBindViewHolder() local
120 boolean enabled = mEnv.isDocumentEnabled(docMimeType, docFlags); in onBindViewHolder()
DListDocumentHolder.java123 final int docFlags = getCursorInt(cursor, Document.COLUMN_FLAGS); in bind() local
136 mIconHelper.loadThumbnail(uri, docMimeType, docFlags, docIcon, mIconThumb, mIconMime, null); in bind()
DIconHelper.java207 public void loadThumbnail(Uri uri, String mimeType, int docFlags, int docIcon, in loadThumbnail() argument
213 final boolean supportsThumbnail = (docFlags & Document.FLAG_SUPPORTS_THUMBNAIL) != 0; in loadThumbnail()