Home
last modified time | relevance | path

Searched refs:mimeMatches (Results 1 – 10 of 10) sorted by relevance

/packages/apps/DocumentsUI/src/com/android/documentsui/base/
DMimeTypes.java157 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
DFilteringCursorWrapper.java59 if (rejectMimes != null && MimeTypes.mimeMatches(rejectMimes, mimeType)) { in FilteringCursorWrapper()
65 if (MimeTypes.mimeMatches(acceptMimes, mimeType)) { in FilteringCursorWrapper()
DState.java152 if (!MimeTypes.mimeMatches(MimeTypes.IMAGE_MIME, mimeType)) { in isPhotoPicking()
/packages/apps/DocumentsUI/src/com/android/documentsui/roots/
DProvidersAccess.java124 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/
DSearchChipViewManagerTest.java105 assertThat(MimeTypes.mimeMatches(TEST_MIME_TYPES, checkedMimeTypes[0])).isTrue(); in testGetCheckedChipMimeTypes_hasCorrectValue()
106 assertThat(MimeTypes.mimeMatches(TEST_MIME_TYPES, checkedMimeTypes[1])).isTrue(); in testGetCheckedChipMimeTypes_hasCorrectValue()
/packages/apps/DocumentsUI/src/com/android/documentsui/picker/
DConfig.java79 return MimeTypes.mimeMatches(state.acceptMimes, mimeType); in isDocumentEnabled()
DMenuManager.java86 if (!MimeTypes.mimeMatches(Document.MIME_TYPE_DIR, docMimeType)) { in updateModel()
DPickActivity.java343 boolean visualMimes = MimeTypes.mimeMatches( in refreshDirectory()
/packages/apps/DocumentsUI/src/com/android/documentsui/queries/
DSearchChipViewManager.java231 final boolean isMatched = MimeTypes.mimeMatches(acceptMimeTypes, mimeTypes); in initChipSets()
255 final boolean isMatched = MimeTypes.mimeMatches(acceptMimeTypes, mimeTypes); in updateChips()
/packages/apps/DocumentsUI/src/com/android/documentsui/dirlist/
DIconHelper.java179 || MimeTypes.mimeMatches(MimeTypes.VISUAL_MIMES, mimeType); in load()