Searched refs:MimePredicate (Results 1 – 7 of 7) sorted by relevance
33 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()
41 import com.android.documentsui.MimePredicate;215 || MimePredicate.mimeMatches(MimePredicate.VISUAL_MIMES, mimeType); in loadThumbnail()
92 import com.android.documentsui.MimePredicate;516 if (MimePredicate.isDirectoryType(mimeType)) { in onItemStateChanged()
25 public class MimePredicate implements Predicate<DocumentInfo> { class35 public MimePredicate(String[] filters) { in MimePredicate() method in MimePredicate
58 if (rejectMimes != null && MimePredicate.mimeMatches(rejectMimes, mimeType)) { in FilteringCursorWrapper()64 if (MimePredicate.mimeMatches(acceptMimes, mimeType)) { in FilteringCursorWrapper()
500 MimePredicate.mimeMatches(root.derivedMimeTypes, state.acceptMimes) || in getMatchingRoots()501 MimePredicate.mimeMatches(state.acceptMimes, root.derivedMimeTypes); in getMatchingRoots()
277 boolean visualMimes = MimePredicate.mimeMatches( in refreshDirectory()278 MimePredicate.VISUAL_MIMES, mState.acceptMimes); in refreshDirectory()