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

/packages/apps/Gallery2/src/com/android/gallery3d/data/
H A DDownloadUtils.java21 import com.android.gallery3d.util.ThreadPool.JobContext;
35 public static boolean requestDownload(JobContext jc, URL url, File file) {
47 public static byte[] requestDownload(JobContext jc, URL url) {
63 public static void dump(JobContext jc, InputStream is, OutputStream os)
82 public static boolean download(JobContext jc, URL url, OutputStream output) {
H A DDecodeUtils.java22 import com.android.gallery3d.util.ThreadPool.JobContext;
51 public static Bitmap requestDecode(JobContext jc, final String filePath,
59 public static Bitmap requestDecode(JobContext jc, FileDescriptor fd, Options options) {
66 public static Bitmap requestDecode(JobContext jc, byte[] bytes,
71 public static Bitmap requestDecode(JobContext jc, byte[] bytes, int offset,
79 public static Bitmap requestDecode(JobContext jc, final String filePath,
94 public static Bitmap requestDecode(JobContext jc, FileDescriptor fd,
121 public static Bitmap requestDecodeIfBigEnough(JobContext jc, byte[] data,
139 public static Bitmap requestDecode(JobContext jc,
158 JobContext j
[all...]
H A DImageCacheRequest.java23 import com.android.gallery3d.util.ThreadPool.JobContext;
44 public Bitmap run(JobContext jc) {
88 public abstract Bitmap onDecodeOriginal(JobContext jc, int targetSize);
H A DUriImage.java24 import com.android.gallery3d.util.ThreadPool.JobContext;
89 private void openFileOrDownloadTempFile(JobContext jc) {
103 private int openOrDownloadInner(JobContext jc) {
147 private boolean prepareInputFile(JobContext jc) {
181 public BitmapRegionDecoder run(JobContext jc) {
198 public Bitmap run(JobContext jc) {
H A DMtpImage.java23 import com.android.gallery3d.util.ThreadPool.JobContext;
80 public Bitmap run(JobContext jc) {
95 public BitmapRegionDecoder run(JobContext jc) {
H A DLocalImage.java23 import com.android.gallery3d.util.ThreadPool.JobContext;
167 public Bitmap onDecodeOriginal(JobContext jc, int type) {
219 public BitmapRegionDecoder run(JobContext jc) {
H A DDownloadCache.java28 import com.android.gallery3d.util.ThreadPool.JobContext;
141 public Entry download(JobContext jc, URL url) {
344 public File run(JobContext jc) {
377 public synchronized Entry get(JobContext jc) {
H A DLocalVideo.java25 import com.android.gallery3d.util.ThreadPool.JobContext;
156 public Bitmap onDecodeOriginal(JobContext jc, int type) {
/packages/apps/Gallery2/src/com/android/gallery3d/ui/
H A DCacheStorageUsageInfo.java20 import com.android.gallery3d.util.ThreadPool.JobContext;
55 public void loadStorageInfo(JobContext jc) {
H A DDetailsAddressResolver.java31 import com.android.gallery3d.util.ThreadPool.JobContext;
46 public Address run(JobContext jc) {
H A DActionModeHandler.java47 import com.android.gallery3d.util.ThreadPool.JobContext;
176 private void updateMenuOptions(JobContext jc) {
213 private void updateSharingIntent(JobContext jc) {
273 public Void run(JobContext jc) {
H A DMenuExecutor.java40 import com.android.gallery3d.util.ThreadPool.JobContext;
254 DataManager manager, JobContext jc, int cmd, Path path) {
330 public Void run(JobContext jc) {
H A DAlbumSlidingWindow.java33 import com.android.gallery3d.util.ThreadPool.JobContext;
376 public Bitmap run(JobContext jc) {
H A DTileImageView.java30 import com.android.gallery3d.util.ThreadPool.JobContext;
742 public Void run(JobContext jc) {
/packages/apps/Gallery2/src/com/android/gallery3d/util/
H A DThreadPool.java35 public static final JobContext JOB_CONTEXT_STUB = new JobContextStub();
40 // A Job is like a Callable, but it has an addition JobContext parameter.
42 public T run(JobContext jc);
45 public interface JobContext { interface in class:ThreadPool
51 private static class JobContextStub implements JobContext {
100 private class Worker<T> implements Runnable, Future<T>, JobContext {
177 // Below are the methods for JobContext (only called from the
H A DJobLimiter.java21 import com.android.gallery3d.util.ThreadPool.JobContext;
104 public T run(JobContext jc) {
H A DGalleryUtils.java24 import com.android.gallery3d.util.ThreadPool.JobContext;
164 public static void fakeBusy(JobContext jc, int timeout) {
/packages/apps/Gallery2/src/com/android/gallery3d/app/
H A DSlideshowDataAdapter.java30 import com.android.gallery3d.util.ThreadPool.JobContext;
95 public Void run(JobContext jc) {
173 public Slide run(JobContext jc) {
H A DCropImage.java66 import com.android.gallery3d.util.ThreadPool.JobContext;
242 public Intent run(JobContext jc) {
298 private boolean setAsWallpaper(JobContext jc, Bitmap wallpaper) {
308 JobContext jc, Bitmap cropped, File directory, String filename) {
354 private Uri saveToMediaProvider(JobContext jc, Bitmap cropped) {
364 private Uri savePicasaImage(JobContext jc, Bitmap cropped) {
401 private Uri saveLocalImage(JobContext jc, Bitmap cropped) {
438 private Uri saveGenericImage(JobContext jc, Bitmap cropped) {
468 JobContext jc, Bitmap bitmap, CompressFormat format, OutputStream os) {
485 private boolean saveBitmapToUri(JobContext j
[all...]
H A DManageCachePage.java38 import com.android.gallery3d.util.ThreadPool.JobContext;
249 public Void run(JobContext jc) {
H A DPhotoDataAdapter.java35 import com.android.gallery3d.util.ThreadPool.JobContext;
502 public Bitmap run(JobContext jc) {

Completed in 85 milliseconds