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

/packages/apps/Gallery2/src/com/android/gallery3d/data/
H A DPanoramaMetadataJob.java25 import com.android.gallery3d.util.ThreadPool.JobContext;
37 public PanoramaMetadata run(JobContext jc) {
H A DDownloadUtils.java21 import com.android.gallery3d.util.ThreadPool.JobContext;
34 public static boolean requestDownload(JobContext jc, URL url, File file) {
46 public static void dump(JobContext jc, InputStream is, OutputStream os)
66 public static boolean download(JobContext jc, URL url, OutputStream output) {
H A DSnailItem.java24 import com.android.gallery3d.util.ThreadPool.JobContext;
43 public Bitmap run(JobContext jc) {
54 public BitmapRegionDecoder run(JobContext jc) {
H A DDecodeUtils.java33 import com.android.gallery3d.util.ThreadPool.JobContext;
60 public static Bitmap decode(JobContext jc, FileDescriptor fd, Options options) {
68 public static void decodeBounds(JobContext jc, FileDescriptor fd,
77 public static Bitmap decode(JobContext jc, byte[] bytes, Options options) {
81 public static Bitmap decode(JobContext jc, byte[] bytes, int offset,
90 public static void decodeBounds(JobContext jc, byte[] bytes, int offset,
100 JobContext jc, String filePath, Options options, int targetSize, int type) {
115 JobContext jc, FileDescriptor fd, Options options, int targetSize, int type) {
168 public static Bitmap decodeIfBigEnough(JobContext jc, byte[] data,
199 JobContext j
[all...]
H A DBytesBufferPool.java19 import com.android.gallery3d.util.ThreadPool.JobContext;
40 public void readFrom(JobContext jc, FileDescriptor fd) throws IOException {
H A DImageCacheRequest.java26 import com.android.gallery3d.util.ThreadPool.JobContext;
53 public Bitmap run(JobContext jc) {
101 public abstract Bitmap onDecodeOriginal(JobContext jc, int targetSize);
H A DActionImage.java28 import com.android.gallery3d.util.ThreadPool.JobContext;
60 public Bitmap run(JobContext jc) {
H A DUriImage.java33 import com.android.gallery3d.util.ThreadPool.JobContext;
79 private void openFileOrDownloadTempFile(JobContext jc) {
93 private int openOrDownloadInner(JobContext jc) {
137 private boolean prepareInputFile(JobContext jc) {
173 public BitmapRegionDecoder run(JobContext jc) {
191 public Bitmap run(JobContext jc) {
H A DBucketHelper.java16 import com.android.gallery3d.util.ThreadPool.JobContext;
89 JobContext jc, ContentResolver resolver, int type) {
97 private static void updateBucketEntriesFromTable(JobContext jc,
124 JobContext jc, ContentResolver resolver, int type) {
146 JobContext jc, ContentResolver resolver, int type) {
H A DDownloadCache.java34 import com.android.gallery3d.util.ThreadPool.JobContext;
114 public Entry download(JobContext jc, URL url) {
315 public File run(JobContext jc) {
348 public synchronized Entry get(JobContext jc) {
H A DLocalAlbumSet.java31 import com.android.gallery3d.util.ThreadPool.JobContext;
105 public ArrayList<MediaSet> run(JobContext jc) {
H A DLocalVideo.java31 import com.android.gallery3d.util.ThreadPool.JobContext;
170 public Bitmap onDecodeOriginal(JobContext jc, int type) {
H A DLocalImage.java42 import com.android.gallery3d.util.ThreadPool.JobContext;
190 public Bitmap onDecodeOriginal(JobContext jc, final int type) {
232 public BitmapRegionDecoder run(JobContext jc) {
/packages/apps/Gallery2/src/com/android/gallery3d/ui/
H A DCacheStorageUsageInfo.java23 import com.android.gallery3d.util.ThreadPool.JobContext;
56 public void loadStorageInfo(JobContext jc) {
H A DDetailsAddressResolver.java31 import com.android.gallery3d.util.ThreadPool.JobContext;
47 public Address run(JobContext jc) {
H A DActionModeHandler.java47 import com.android.gallery3d.util.ThreadPool.JobContext;
84 private JobContext mJobContext;
90 public GetAllPanoramaSupports(ArrayList<MediaObject> mediaObjects, JobContext jc) {
265 private ArrayList<MediaObject> getSelectedMediaObjects(JobContext jc) {
320 private Intent computePanoramaSharingIntent(JobContext jc, int maxItems) {
350 private Intent computeSharingIntent(JobContext jc, int maxItems) {
408 public Void run(final JobContext jc) {
H A DAlbumLabelMaker.java33 import com.android.gallery3d.util.ThreadPool.JobContext;
144 public Bitmap run(JobContext jc) {
H A DMenuExecutor.java44 import com.android.gallery3d.util.ThreadPool.JobContext;
370 DataManager manager, JobContext jc, int cmd, Path path) {
426 public Void run(JobContext jc) {
H A DTileImageView.java37 import com.android.gallery3d.util.ThreadPool.JobContext;
768 public Void run(JobContext jc) {
/packages/apps/Gallery2/gallerycommon/src/com/android/gallery3d/util/
H A DThreadPool.java38 public static final JobContext JOB_CONTEXT_STUB = new JobContextStub();
43 // A Job is like a Callable, but it has an addition JobContext parameter.
45 public T run(JobContext jc);
48 public interface JobContext { interface in class:ThreadPool
54 private static class JobContextStub implements JobContext {
107 private class Worker<T> implements Runnable, Future<T>, JobContext {
191 // Below are the methods for JobContext (only called from the
/packages/apps/Gallery2/src/com/android/gallery3d/app/
H A DSlideshowDataAdapter.java30 import com.android.gallery3d.util.ThreadPool.JobContext;
96 public Void run(JobContext jc) {
177 public Slide run(JobContext jc) {
H A DManageCachePage.java50 import com.android.gallery3d.util.ThreadPool.JobContext;
249 public Void run(JobContext jc) {
H A DPhotoDataAdapter.java43 import com.android.gallery3d.util.ThreadPool.JobContext;
699 public ScreenNail run(JobContext jc) {
729 public BitmapRegionDecoder run(JobContext jc) {
/packages/apps/Gallery2/src/com/android/gallery3d/util/
H A DJobLimiter.java21 import com.android.gallery3d.util.ThreadPool.JobContext;
104 public T run(JobContext jc) {
H A DGalleryUtils.java48 import com.android.gallery3d.util.ThreadPool.JobContext;
191 public static void fakeBusy(JobContext jc, int timeout) {

Completed in 188 milliseconds