Home
last modified time | relevance | path

Searched refs:MimePredicate (Results 1 – 7 of 7) sorted by relevance

/frameworks/base/packages/DocumentsUI/src/com/android/documentsui/dirlist/
DFragmentTuner.java33 import com.android.documentsui.MimePredicate;
110 if (MimePredicate.isDirectoryType(docMimeType)) { in canSelectType()
128 if (MimePredicate.isDirectoryType(mimeType)) { in isDocumentEnabled()
146 return MimePredicate.mimeMatches(mState.acceptMimes, mimeType); in isDocumentEnabled()
172 if (MimePredicate.mimeMatches(MimePredicate.VISUAL_MIMES, mState.acceptMimes)) { in onModelLoaded()
DIconHelper.java41 import com.android.documentsui.MimePredicate;
215 || MimePredicate.mimeMatches(MimePredicate.VISUAL_MIMES, mimeType); in loadThumbnail()
DDirectoryFragment.java92 import com.android.documentsui.MimePredicate;
516 if (MimePredicate.isDirectoryType(mimeType)) { in onItemStateChanged()
/frameworks/base/packages/DocumentsUI/src/com/android/documentsui/
DMimePredicate.java25 public class MimePredicate implements Predicate<DocumentInfo> { class
35 public MimePredicate(String[] filters) { in MimePredicate() method in MimePredicate
DFilteringCursorWrapper.java58 if (rejectMimes != null && MimePredicate.mimeMatches(rejectMimes, mimeType)) { in FilteringCursorWrapper()
64 if (MimePredicate.mimeMatches(acceptMimes, mimeType)) { in FilteringCursorWrapper()
DRootsCache.java500 MimePredicate.mimeMatches(root.derivedMimeTypes, state.acceptMimes) || in getMatchingRoots()
501 MimePredicate.mimeMatches(state.acceptMimes, root.derivedMimeTypes); in getMatchingRoots()
DDocumentsActivity.java277 boolean visualMimes = MimePredicate.mimeMatches( in refreshDirectory()
278 MimePredicate.VISUAL_MIMES, mState.acceptMimes); in refreshDirectory()