Home
last modified time | relevance | path

Searched refs:JobContext (Results 1 – 25 of 25) sorted by relevance

/packages/apps/Gallery2/src/com/android/gallery3d/data/
DDecodeUtils.java33 import com.android.gallery3d.util.ThreadPool.JobContext;
60 public static Bitmap decode(JobContext jc, FileDescriptor fd, Options options) { in decode()
68 public static void decodeBounds(JobContext jc, FileDescriptor fd, in decodeBounds()
77 public static Bitmap decode(JobContext jc, byte[] bytes, Options options) { in decode()
81 public static Bitmap decode(JobContext jc, byte[] bytes, int offset, in decode()
90 public static void decodeBounds(JobContext jc, byte[] bytes, int offset, in decodeBounds()
100 JobContext jc, String filePath, Options options, int targetSize, int type) { in decodeThumbnail()
115 JobContext jc, FileDescriptor fd, Options options, int targetSize, int type) { in decodeThumbnail()
168 public static Bitmap decodeIfBigEnough(JobContext jc, byte[] data, in decodeIfBigEnough()
199 JobContext jc, byte[] bytes, int offset, int length, in createBitmapRegionDecoder()
[all …]
DDownloadUtils.java21 import com.android.gallery3d.util.ThreadPool.JobContext;
34 public static boolean requestDownload(JobContext jc, URL url, File file) { in requestDownload()
46 public static void dump(JobContext jc, InputStream is, OutputStream os) in dump()
66 public static boolean download(JobContext jc, URL url, OutputStream output) { in download()
DUriImage.java33 import com.android.gallery3d.util.ThreadPool.JobContext;
80 private void openFileOrDownloadTempFile(JobContext jc) { in openFileOrDownloadTempFile()
94 private int openOrDownloadInner(JobContext jc) { in openOrDownloadInner()
138 private boolean prepareInputFile(JobContext jc) { in prepareInputFile()
174 public BitmapRegionDecoder run(JobContext jc) { in run()
192 public Bitmap run(JobContext jc) { in run()
DSnailItem.java24 import com.android.gallery3d.util.ThreadPool.JobContext;
43 public Bitmap run(JobContext jc) { in requestImage()
54 public BitmapRegionDecoder run(JobContext jc) {
DBucketHelper.java16 import com.android.gallery3d.util.ThreadPool.JobContext;
75 JobContext jc, ContentResolver resolver, int type) { in loadBucketEntries()
83 private static void updateBucketEntriesFromTable(JobContext jc, in updateBucketEntriesFromTable()
110 JobContext jc, ContentResolver resolver, int type) { in loadBucketEntriesFromImagesAndVideoTable()
132 JobContext jc, ContentResolver resolver, int type) { in loadBucketEntriesFromFilesTable()
DImageCacheRequest.java26 import com.android.gallery3d.util.ThreadPool.JobContext;
53 public Bitmap run(JobContext jc) { in run()
101 public abstract Bitmap onDecodeOriginal(JobContext jc, int targetSize); in onDecodeOriginal()
DPanoramaMetadataJob.java25 import com.android.gallery3d.util.ThreadPool.JobContext;
37 public PanoramaMetadata run(JobContext jc) { in run()
DActionImage.java28 import com.android.gallery3d.util.ThreadPool.JobContext;
60 public Bitmap run(JobContext jc) { in run()
DBytesBufferPool.java19 import com.android.gallery3d.util.ThreadPool.JobContext;
40 public void readFrom(JobContext jc, FileDescriptor fd) throws IOException { in readFrom()
DDownloadCache.java34 import com.android.gallery3d.util.ThreadPool.JobContext;
114 public Entry download(JobContext jc, URL url) { in download()
315 public File run(JobContext jc) { in run()
348 public synchronized Entry get(JobContext jc) { in get()
DLocalImage.java42 import com.android.gallery3d.util.ThreadPool.JobContext;
190 public Bitmap onDecodeOriginal(JobContext jc, final int type) { in onDecodeOriginal()
232 public BitmapRegionDecoder run(JobContext jc) { in run()
DLocalAlbumSet.java31 import com.android.gallery3d.util.ThreadPool.JobContext;
105 public ArrayList<MediaSet> run(JobContext jc) { in run()
DLocalVideo.java31 import com.android.gallery3d.util.ThreadPool.JobContext;
174 public Bitmap onDecodeOriginal(JobContext jc, int type) { in onDecodeOriginal()
/packages/apps/Gallery2/gallerycommon/src/com/android/gallery3d/util/
DThreadPool.java38 public static final JobContext JOB_CONTEXT_STUB = new JobContextStub();
45 public T run(JobContext jc); in run()
48 public interface JobContext { interface in ThreadPool
54 private static class JobContextStub implements JobContext {
107 private class Worker<T> implements Runnable, Future<T>, JobContext {
/packages/apps/Gallery2/src/com/android/gallery3d/ui/
DActionModeHandler.java46 import com.android.gallery3d.util.ThreadPool.JobContext;
82 private JobContext mJobContext;
88 public GetAllPanoramaSupports(ArrayList<MediaObject> mediaObjects, JobContext jc) { in GetAllPanoramaSupports()
262 private ArrayList<MediaObject> getSelectedMediaObjects(JobContext jc) { in getSelectedMediaObjects()
309 private Intent computePanoramaSharingIntent(JobContext jc, int maxItems) { in computePanoramaSharingIntent()
339 private Intent computeSharingIntent(JobContext jc, int maxItems) { in computeSharingIntent()
393 public Void run(final JobContext jc) { in updateSupportedOperation()
DCacheStorageUsageInfo.java23 import com.android.gallery3d.util.ThreadPool.JobContext;
56 public void loadStorageInfo(JobContext jc) { in loadStorageInfo()
DDetailsAddressResolver.java31 import com.android.gallery3d.util.ThreadPool.JobContext;
47 public Address run(JobContext jc) { in run()
DAlbumLabelMaker.java33 import com.android.gallery3d.util.ThreadPool.JobContext;
144 public Bitmap run(JobContext jc) { in run()
DMenuExecutor.java44 import com.android.gallery3d.util.ThreadPool.JobContext;
359 DataManager manager, JobContext jc, int cmd, Path path) { in execute()
415 public Void run(JobContext jc) { in run()
DTileImageView.java37 import com.android.gallery3d.util.ThreadPool.JobContext;
768 public Void run(JobContext jc) { in run()
/packages/apps/Gallery2/src/com/android/gallery3d/app/
DSlideshowDataAdapter.java30 import com.android.gallery3d.util.ThreadPool.JobContext;
96 public Void run(JobContext jc) { in run()
177 public Slide run(JobContext jc) { in nextSlide()
DManageCachePage.java50 import com.android.gallery3d.util.ThreadPool.JobContext;
249 public Void run(JobContext jc) {
DPhotoDataAdapter.java43 import com.android.gallery3d.util.ThreadPool.JobContext;
699 public ScreenNail run(JobContext jc) { in run()
729 public BitmapRegionDecoder run(JobContext jc) { in run()
/packages/apps/Gallery2/src/com/android/gallery3d/util/
DJobLimiter.java21 import com.android.gallery3d.util.ThreadPool.JobContext;
104 public T run(JobContext jc) { in run()
DGalleryUtils.java48 import com.android.gallery3d.util.ThreadPool.JobContext;
191 public static void fakeBusy(JobContext jc, int timeout) { in fakeBusy()