Searched refs:docFlags (Results 1 – 8 of 8) sorted by relevance
/packages/apps/DocumentsUI/src/com/android/documentsui/dirlist/ |
D | SelectionMetadata.java | 84 final int docFlags = getCursorInt(cursor, Document.COLUMN_FLAGS); in onItemStateChanged() local 85 if ((docFlags & Document.FLAG_PARTIAL) != 0) { in onItemStateChanged() 88 if ((docFlags & Document.FLAG_DIR_SUPPORTS_CREATE) != 0) { in onItemStateChanged() 91 if ((docFlags & FLAG_CAN_DELETE) == 0) { in onItemStateChanged() 94 if ((docFlags & Document.FLAG_SUPPORTS_RENAME) == 0) { in onItemStateChanged() 97 if ((docFlags & Document.FLAG_PARTIAL) != 0) { in onItemStateChanged() 100 mSupportsSettings = (docFlags & Document.FLAG_SUPPORTS_SETTINGS) != 0 && in onItemStateChanged()
|
D | DocsSelectionPredicate.java | 71 final int docFlags = getCursorInt(cursor, Document.COLUMN_FLAGS); in canSetStateForKey() local 72 return mConfig.canSelectType(docMimeType, docFlags, mState); in canSetStateForKey()
|
D | ModelBackedDocumentsAdapter.java | 133 final int docFlags = getCursorInt(cursor, Document.COLUMN_FLAGS); in onBindViewHolder() local 135 boolean enabled = mEnv.isDocumentEnabled(docMimeType, docFlags); in onBindViewHolder()
|
D | IconHelper.java | 156 public void load(Uri uri, String mimeType, int docFlags, int docIcon, long docLastModified, in load() argument 162 final boolean supportsThumbnail = (docFlags & Document.FLAG_SUPPORTS_THUMBNAIL) != 0; in load()
|
/packages/apps/DocumentsUI/src/com/android/documentsui/picker/ |
D | Config.java | 37 public boolean canSelectType(String docMimeType, int docFlags, State state) { in canSelectType() argument 38 if (!isDocumentEnabled(docMimeType, docFlags, state)) { in canSelectType() 57 public boolean isDocumentEnabled(String mimeType, int docFlags, State state) { in isDocumentEnabled() argument 68 if ((docFlags & Document.FLAG_SUPPORTS_WRITE) == 0) { in isDocumentEnabled() 73 final boolean isVirtual = (docFlags & Document.FLAG_VIRTUAL_DOCUMENT) != 0; in isDocumentEnabled()
|
/packages/apps/DocumentsUI/src/com/android/documentsui/ |
D | ActivityConfig.java | 31 public boolean canSelectType(String docMimeType, int docFlags, State state) { in canSelectType() argument 35 public boolean isDocumentEnabled(String docMimeType, int docFlags, State state) { in isDocumentEnabled() argument
|
D | AbstractActionHandler.java | 291 int docFlags = getCursorInt(cursor, DocumentsContract.Document.COLUMN_FLAGS); in selectAllFiles() local 292 if (mInjector.config.isDocumentEnabled(docMimeType, docFlags, mState)) { in selectAllFiles()
|
/packages/apps/DocumentsUI/tests/common/com/android/documentsui/testing/ |
D | TestActivityConfig.java | 30 public boolean canSelectType(String docMimeType, int docFlags, State state) { in canSelectType() argument 34 public boolean isDocumentEnabled(String docMimeType, int docFlags, State state) { in isDocumentEnabled() argument
|