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.java74 public static boolean mimeMatches(String[] filters, String[] tests) { in mimeMatches() method in MimeTypes
79 if (mimeMatches(filters, test)) { in mimeMatches()
86 public static boolean mimeMatches(String filter, String[] tests) { in mimeMatches() method in MimeTypes
91 if (mimeMatches(filter, test)) { in mimeMatches()
98 public static boolean mimeMatches(String[] filters, String test) { in mimeMatches() method in MimeTypes
103 if (mimeMatches(filter, test)) { in mimeMatches()
110 public static boolean mimeMatches(String filter, String test) { in mimeMatches() method in MimeTypes
DFilteringCursorWrapper.java58 if (rejectMimes != null && MimeTypes.mimeMatches(rejectMimes, mimeType)) { in FilteringCursorWrapper()
64 if (MimeTypes.mimeMatches(acceptMimes, mimeType)) { in FilteringCursorWrapper()
DState.java139 if (!MimeTypes.mimeMatches(MimeTypes.IMAGE_MIME, mimeType)) { in isPhotoPicking()
/packages/apps/DocumentsUI/src/com/android/documentsui/roots/
DProvidersAccess.java125 MimeTypes.mimeMatches(root.derivedMimeTypes, state.acceptMimes) || in getMatchingRoots()
126 MimeTypes.mimeMatches(state.acceptMimes, root.derivedMimeTypes); in getMatchingRoots()
/packages/apps/DocumentsUI/tests/unit/com/android/documentsui/queries/
DSearchChipViewManagerTest.java89 assertThat(MimeTypes.mimeMatches(TEST_MIME_TYPES, checkedMimeTypes[0])).isTrue(); in testGetCheckedChipMimeTypes_HasCorrectValue()
90 assertThat(MimeTypes.mimeMatches(TEST_MIME_TYPES, checkedMimeTypes[1])).isTrue(); in testGetCheckedChipMimeTypes_HasCorrectValue()
/packages/apps/DocumentsUI/src/com/android/documentsui/queries/
DSearchChipViewManager.java188 final boolean isMatched = MimeTypes.mimeMatches(acceptMimeTypes, mimeTypes); in initChipSets()
212 final boolean isMatched = MimeTypes.mimeMatches(acceptMimeTypes, mimeTypes); in updateChips()
/packages/apps/DocumentsUI/src/com/android/documentsui/picker/
DConfig.java79 return MimeTypes.mimeMatches(state.acceptMimes, mimeType); in isDocumentEnabled()
DMenuManager.java77 if (!MimeTypes.mimeMatches(Document.MIME_TYPE_DIR, docMimeType)) { in updateModel()
DPickActivity.java315 boolean visualMimes = MimeTypes.mimeMatches( in refreshDirectory()
/packages/apps/DocumentsUI/src/com/android/documentsui/dirlist/
DIconHelper.java164 || MimeTypes.mimeMatches(MimeTypes.VISUAL_MIMES, mimeType); in load()