Searched refs:mimeMatches (Results 1 – 10 of 10) sorted by relevance
/packages/apps/DocumentsUI/src/com/android/documentsui/base/ |
D | MimeTypes.java | 74 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
|
D | FilteringCursorWrapper.java | 58 if (rejectMimes != null && MimeTypes.mimeMatches(rejectMimes, mimeType)) { in FilteringCursorWrapper() 64 if (MimeTypes.mimeMatches(acceptMimes, mimeType)) { in FilteringCursorWrapper()
|
D | State.java | 139 if (!MimeTypes.mimeMatches(MimeTypes.IMAGE_MIME, mimeType)) { in isPhotoPicking()
|
/packages/apps/DocumentsUI/src/com/android/documentsui/roots/ |
D | ProvidersAccess.java | 125 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/ |
D | SearchChipViewManagerTest.java | 89 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/ |
D | SearchChipViewManager.java | 188 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/ |
D | Config.java | 79 return MimeTypes.mimeMatches(state.acceptMimes, mimeType); in isDocumentEnabled()
|
D | MenuManager.java | 77 if (!MimeTypes.mimeMatches(Document.MIME_TYPE_DIR, docMimeType)) { in updateModel()
|
D | PickActivity.java | 315 boolean visualMimes = MimeTypes.mimeMatches( in refreshDirectory()
|
/packages/apps/DocumentsUI/src/com/android/documentsui/dirlist/ |
D | IconHelper.java | 164 || MimeTypes.mimeMatches(MimeTypes.VISUAL_MIMES, mimeType); in load()
|