Searched refs:mimeMatches (Results 1 – 10 of 10) sorted by relevance
/packages/apps/DocumentsUI/src/com/android/documentsui/base/ |
D | MimeTypes.java | 157 public static boolean mimeMatches(String[] filters, String[] tests) { in mimeMatches() method in MimeTypes 162 if (mimeMatches(filters, test)) { in mimeMatches() 169 public static boolean mimeMatches(String filter, String[] tests) { in mimeMatches() method in MimeTypes 174 if (mimeMatches(filter, test)) { in mimeMatches() 181 public static boolean mimeMatches(String[] filters, String test) { in mimeMatches() method in MimeTypes 186 if (mimeMatches(filter, test)) { in mimeMatches() 193 public static boolean mimeMatches(String filter, String test) { in mimeMatches() method in MimeTypes
|
D | FilteringCursorWrapper.java | 58 if (rejectMimes != null && MimeTypes.mimeMatches(rejectMimes, mimeType)) { in filterMimes() 61 return MimeTypes.mimeMatches(acceptMimes, mimeType); in filterMimes()
|
D | State.java | 152 if (!MimeTypes.mimeMatches(MimeTypes.IMAGE_MIME, mimeType)) { in isPhotoPicking()
|
/packages/apps/DocumentsUI/src/com/android/documentsui/roots/ |
D | ProvidersAccess.java | 124 MimeTypes.mimeMatches(root.derivedMimeTypes, state.acceptMimes) || in getMatchingRoots() 125 MimeTypes.mimeMatches(state.acceptMimes, root.derivedMimeTypes); in getMatchingRoots()
|
/packages/apps/DocumentsUI/tests/unit/com/android/documentsui/queries/ |
D | SearchChipViewManagerTest.java | 120 assertThat(MimeTypes.mimeMatches(TEST_MIME_TYPES, checkedMimeTypes[0])).isTrue(); in testGetCheckedChipMimeTypes_hasCorrectValue() 121 assertThat(MimeTypes.mimeMatches(TEST_MIME_TYPES, checkedMimeTypes[1])).isTrue(); in testGetCheckedChipMimeTypes_hasCorrectValue()
|
/packages/apps/DocumentsUI/src/com/android/documentsui/picker/ |
D | Config.java | 79 return MimeTypes.mimeMatches(state.acceptMimes, mimeType); in isDocumentEnabled()
|
D | MenuManager.java | 86 if (!MimeTypes.mimeMatches(Document.MIME_TYPE_DIR, docMimeType)) { in updateModel()
|
D | PickActivity.java | 344 boolean visualMimes = MimeTypes.mimeMatches( in refreshDirectory()
|
/packages/apps/DocumentsUI/src/com/android/documentsui/queries/ |
D | SearchChipViewManager.java | 235 final boolean isMatched = MimeTypes.mimeMatches(acceptMimeTypes, mimeTypes); in initChipSets() 259 final boolean isMatched = MimeTypes.mimeMatches(acceptMimeTypes, mimeTypes); in updateChips()
|
/packages/apps/DocumentsUI/src/com/android/documentsui/dirlist/ |
D | IconHelper.java | 179 || MimeTypes.mimeMatches(MimeTypes.VISUAL_MIMES, mimeType); in load()
|