Searched refs:MediaThumbRequest (Results 1 – 2 of 2) sorted by relevance
47 class MediaThumbRequest { class74 static Comparator<MediaThumbRequest> getComparator() { in getComparator()75 return new Comparator<MediaThumbRequest>() { in getComparator()76 public int compare(MediaThumbRequest r1, MediaThumbRequest r2) { in getComparator()86 MediaThumbRequest(ContentResolver cr, String path, Uri uri, int priority, long magic) {
164 private MediaThumbRequest mCurrentThumbRequest = null;165 private PriorityQueue<MediaThumbRequest> mMediaThumbQueue =166 new PriorityQueue<MediaThumbRequest>(MediaThumbRequest.PRIORITY_NORMAL,167 MediaThumbRequest.getComparator());644 for (MediaThumbRequest mtq : mMediaThumbQueue) { in onCreate()648 (mtq.mState == MediaThumbRequest.State.WAIT)) { in onCreate()679 mCurrentThumbRequest.mState = MediaThumbRequest.State.DONE; in onCreate()2101 MediaThumbRequest req = requestMediaThumbnail(path, origUri, in waitForThumbnailReady()2102 MediaThumbRequest.PRIORITY_HIGH, magic); in waitForThumbnailReady()2106 while (req.mState == MediaThumbRequest.State.WAIT) { in waitForThumbnailReady()[all …]