/packages/apps/Gallery2/src/com/android/gallery3d/data/ |
H A D | PanoramaMetadataJob.java | 25 import com.android.gallery3d.util.ThreadPool.JobContext; 37 public PanoramaMetadata run(JobContext jc) {
|
H A D | DownloadUtils.java | 21 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 D | SnailItem.java | 24 import com.android.gallery3d.util.ThreadPool.JobContext; 43 public Bitmap run(JobContext jc) { 54 public BitmapRegionDecoder run(JobContext jc) {
|
H A D | DecodeUtils.java | 33 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 D | BytesBufferPool.java | 19 import com.android.gallery3d.util.ThreadPool.JobContext; 40 public void readFrom(JobContext jc, FileDescriptor fd) throws IOException {
|
H A D | ImageCacheRequest.java | 26 import com.android.gallery3d.util.ThreadPool.JobContext; 53 public Bitmap run(JobContext jc) { 101 public abstract Bitmap onDecodeOriginal(JobContext jc, int targetSize);
|
H A D | ActionImage.java | 28 import com.android.gallery3d.util.ThreadPool.JobContext; 60 public Bitmap run(JobContext jc) {
|
H A D | UriImage.java | 33 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 D | BucketHelper.java | 16 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 D | DownloadCache.java | 34 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 D | LocalAlbumSet.java | 31 import com.android.gallery3d.util.ThreadPool.JobContext; 105 public ArrayList<MediaSet> run(JobContext jc) {
|
H A D | LocalVideo.java | 31 import com.android.gallery3d.util.ThreadPool.JobContext; 170 public Bitmap onDecodeOriginal(JobContext jc, int type) {
|
H A D | LocalImage.java | 42 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 D | CacheStorageUsageInfo.java | 23 import com.android.gallery3d.util.ThreadPool.JobContext; 56 public void loadStorageInfo(JobContext jc) {
|
H A D | DetailsAddressResolver.java | 31 import com.android.gallery3d.util.ThreadPool.JobContext; 47 public Address run(JobContext jc) {
|
H A D | ActionModeHandler.java | 47 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 D | AlbumLabelMaker.java | 33 import com.android.gallery3d.util.ThreadPool.JobContext; 144 public Bitmap run(JobContext jc) {
|
H A D | MenuExecutor.java | 44 import com.android.gallery3d.util.ThreadPool.JobContext; 370 DataManager manager, JobContext jc, int cmd, Path path) { 426 public Void run(JobContext jc) {
|
H A D | TileImageView.java | 37 import com.android.gallery3d.util.ThreadPool.JobContext; 768 public Void run(JobContext jc) {
|
/packages/apps/Gallery2/gallerycommon/src/com/android/gallery3d/util/ |
H A D | ThreadPool.java | 38 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 D | SlideshowDataAdapter.java | 30 import com.android.gallery3d.util.ThreadPool.JobContext; 96 public Void run(JobContext jc) { 177 public Slide run(JobContext jc) {
|
H A D | ManageCachePage.java | 50 import com.android.gallery3d.util.ThreadPool.JobContext; 249 public Void run(JobContext jc) {
|
H A D | PhotoDataAdapter.java | 43 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 D | JobLimiter.java | 21 import com.android.gallery3d.util.ThreadPool.JobContext; 104 public T run(JobContext jc) {
|
H A D | GalleryUtils.java | 48 import com.android.gallery3d.util.ThreadPool.JobContext; 191 public static void fakeBusy(JobContext jc, int timeout) {
|