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 | 59 if (rejectMimes != null && MimeTypes.mimeMatches(rejectMimes, mimeType)) { in FilteringCursorWrapper() 65 if (MimeTypes.mimeMatches(acceptMimes, mimeType)) { in FilteringCursorWrapper()
|
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 | 105 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/ |
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 | 343 boolean visualMimes = MimeTypes.mimeMatches( in refreshDirectory()
|
/packages/apps/DocumentsUI/src/com/android/documentsui/queries/ |
D | SearchChipViewManager.java | 231 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/ |
D | IconHelper.java | 179 || MimeTypes.mimeMatches(MimeTypes.VISUAL_MIMES, mimeType); in load()
|