Home
last modified time | relevance | path

Searched refs:acceptMimes (Results 1 – 8 of 8) sorted by relevance

/frameworks/base/packages/DocumentsUI/tests/src/com/android/documentsui/
DRootsCacheTest.java63 mState.acceptMimes = new String[] { "*/*" }; in testMatchingRoots_Everything()
74 mState.acceptMimes = new String[] { "*/*" }; in testMatchingRoots_DirectoryCopy()
84 mState.acceptMimes = new String[] { "image/png", "*/*" }; in testMatchingRoots_PngOrWild()
91 mState.acceptMimes = new String[] { "audio/*" }; in testMatchingRoots_AudioWild()
98 mState.acceptMimes = new String[] { "audio/*", "image/*" }; in testMatchingRoots_AudioWildOrImageWild()
105 mState.acceptMimes = new String[] { "audio/mpeg" }; in testMatchingRoots_AudioSpecific()
112 mState.acceptMimes = new String[] { "application/msword" }; in testMatchingRoots_Document()
119 mState.acceptMimes = new String[] { "application/*" }; in testMatchingRoots_Application()
126 mState.acceptMimes = new String[] { "application/x-flac", "image/png" }; in testMatchingRoots_FlacOrPng()
150 mState.acceptMimes = new String[] { "*/*" }; in testExcludedAuthorities()
/frameworks/base/packages/DocumentsUI/src/com/android/documentsui/
DFilteringCursorWrapper.java39 public FilteringCursorWrapper(Cursor cursor, String[] acceptMimes) { in FilteringCursorWrapper() argument
40 this(cursor, acceptMimes, null, Long.MIN_VALUE); in FilteringCursorWrapper()
43 public FilteringCursorWrapper(Cursor cursor, String[] acceptMimes, String[] rejectMimes) { in FilteringCursorWrapper() argument
44 this(cursor, acceptMimes, rejectMimes, Long.MIN_VALUE); in FilteringCursorWrapper()
48 Cursor cursor, String[] acceptMimes, String[] rejectMimes, long rejectBefore) { in FilteringCursorWrapper() argument
64 if (MimePredicate.mimeMatches(acceptMimes, mimeType)) { in FilteringCursorWrapper()
DState.java82 public String[] acceptMimes; field in State
134 acceptMimes = intent.getStringArrayExtra(Intent.EXTRA_MIME_TYPES); in initAcceptMimes()
137 acceptMimes = new String[] { glob != null ? glob : "*/*" }; in initAcceptMimes()
190 out.writeStringArray(acceptMimes); in writeToParcel()
220 state.acceptMimes = in.readStringArray();
DRootsCache.java500 MimePredicate.mimeMatches(root.derivedMimeTypes, state.acceptMimes) || in getMatchingRoots()
501 MimePredicate.mimeMatches(state.acceptMimes, root.derivedMimeTypes); in getMatchingRoots()
505 + state.acceptMimes); in getMatchingRoots()
DRecentsLoader.java149 cursor, mState.acceptMimes, RECENT_REJECT_MIMES, rejectBefore) { in loadInBackgroundLocked()
DDocumentsActivity.java278 MimePredicate.VISUAL_MIMES, mState.acceptMimes); in refreshDirectory()
399 null, mState.acceptMimes, new ClipData.Item(uris[0])); in onTaskFinished()
DFilesActivity.java443 null, mState.acceptMimes, new ClipData.Item(uris[0])); in onTaskFinished()
/frameworks/base/packages/DocumentsUI/src/com/android/documentsui/dirlist/
DFragmentTuner.java146 return MimePredicate.mimeMatches(mState.acceptMimes, mimeType); in isDocumentEnabled()
172 if (MimePredicate.mimeMatches(MimePredicate.VISUAL_MIMES, mState.acceptMimes)) { in onModelLoaded()