Searched defs:jc (Results 1 - 24 of 24) sorted by relevance

/packages/apps/Gallery2/src/com/android/gallery3d/data/
H A DDownloadUtils.java34 public static boolean requestDownload(JobContext jc, URL url, File file) { argument
38 return download(jc, url, fos);
46 public static void dump(JobContext jc, InputStream is, OutputStream os) argument
51 jc.setCancelListener(new CancelListener() {
58 if (jc.isCancelled()) throw new InterruptedIOException();
62 jc.setCancelListener(null);
66 public static boolean download(JobContext jc, URL url, OutputStream output) { argument
70 dump(jc, input, output);
H A DPanoramaMetadataJob.java37 public PanoramaMetadata run(JobContext jc) { argument
H A DImageCacheRequest.java53 public Bitmap run(JobContext jc) { argument
59 if (jc.isCancelled()) return null;
65 bitmap = DecodeUtils.decodeUsingPool(jc,
68 bitmap = DecodeUtils.decodeUsingPool(jc,
71 if (bitmap == null && !jc.isCancelled()) {
79 Bitmap bitmap = onDecodeOriginal(jc, mType);
80 if (jc.isCancelled()) return null;
92 if (jc.isCancelled()) return null;
95 if (jc.isCancelled()) return null;
101 public abstract Bitmap onDecodeOriginal(JobContext jc, in argument
[all...]
H A DActionImage.java60 public Bitmap run(JobContext jc) { argument
H A DBytesBufferPool.java40 public void readFrom(JobContext jc, FileDescriptor fd) throws IOException { argument
48 if (rc < 0 || jc.isCancelled()) return;
H A DBucketHelper.java89 JobContext jc, ContentResolver resolver, int type) {
91 return loadBucketEntriesFromFilesTable(jc, resolver, type);
93 return loadBucketEntriesFromImagesAndVideoTable(jc, resolver, type);
97 private static void updateBucketEntriesFromTable(JobContext jc, argument
124 JobContext jc, ContentResolver resolver, int type) {
128 jc, resolver, Images.Media.EXTERNAL_CONTENT_URI, buckets);
132 jc, resolver, Video.Media.EXTERNAL_CONTENT_URI, buckets);
146 JobContext jc, ContentResolver resolver, int type) {
174 if (jc.isCancelled()) return null;
88 loadBucketEntries( JobContext jc, ContentResolver resolver, int type) argument
123 loadBucketEntriesFromImagesAndVideoTable( JobContext jc, ContentResolver resolver, int type) argument
145 loadBucketEntriesFromFilesTable( JobContext jc, ContentResolver resolver, int type) argument
H A DDecodeUtils.java60 public static Bitmap decode(JobContext jc, FileDescriptor fd, Options options) { argument
62 jc.setCancelListener(new DecodeCanceller(options));
68 public static void decodeBounds(JobContext jc, FileDescriptor fd, argument
72 jc.setCancelListener(new DecodeCanceller(options));
77 public static Bitmap decode(JobContext jc, byte[] bytes, Options options) { argument
78 return decode(jc, bytes, 0, bytes.length, options);
81 public static Bitmap decode(JobContext jc, byte[] bytes, int offset, argument
84 jc.setCancelListener(new DecodeCanceller(options));
90 public static void decodeBounds(JobContext jc, byte[] bytes, int offset, argument
94 jc
99 decodeThumbnail( JobContext jc, String filePath, Options options, int targetSize, int type) argument
114 decodeThumbnail( JobContext jc, FileDescriptor fd, Options options, int targetSize, int type) argument
168 decodeIfBigEnough(JobContext jc, byte[] data, Options options, int targetSize) argument
198 createBitmapRegionDecoder( JobContext jc, byte[] bytes, int offset, int length, boolean shareable) argument
216 createBitmapRegionDecoder( JobContext jc, String filePath, boolean shareable) argument
226 createBitmapRegionDecoder( JobContext jc, FileDescriptor fd, boolean shareable) argument
236 createBitmapRegionDecoder( JobContext jc, InputStream is, boolean shareable) argument
249 decodeUsingPool(JobContext jc, byte[] data, int offset, int length, BitmapFactory.Options options) argument
276 decodeUsingPool(JobContext jc, FileDescriptor fileDescriptor, Options options) argument
300 findCachedBitmap(JobContext jc, byte[] data, int offset, int length, Options options) argument
306 findCachedBitmap(JobContext jc, FileDescriptor fileDescriptor, Options options) argument
[all...]
H A DLocalAlbumSet.java105 public ArrayList<MediaSet> run(JobContext jc) { argument
109 jc, mApplication.getContentResolver(), mType);
111 if (jc.isCancelled()) return null;
H A DLocalImage.java190 public Bitmap onDecodeOriginal(JobContext jc, final int type) { argument
209 jc, thumbData, options, targetSize);
214 return DecodeUtils.decodeThumbnail(jc, mLocalFilePath, options, targetSize, type);
232 public BitmapRegionDecoder run(JobContext jc) { argument
233 return DecodeUtils.createBitmapRegionDecoder(jc, mLocalFilePath, false);
H A DLocalVideo.java170 public Bitmap onDecodeOriginal(JobContext jc, int type) { argument
172 if (bitmap == null || jc.isCancelled()) return null;
H A DUriImage.java79 private void openFileOrDownloadTempFile(JobContext jc) { argument
80 int state = openOrDownloadInner(jc);
93 private int openOrDownloadInner(JobContext jc) { argument
107 if (jc.isCancelled()) return STATE_INIT;
116 mCacheEntry = mApplication.getDownloadCache().download(jc, url);
117 if (jc.isCancelled()) return STATE_INIT;
137 private boolean prepareInputFile(JobContext jc) { argument
138 jc.setCancelListener(new CancelListener() {
149 if (jc.isCancelled()) return false;
167 openFileOrDownloadTempFile(jc);
173 run(JobContext jc) argument
191 run(JobContext jc) argument
[all...]
H A DDownloadCache.java114 public Entry download(JobContext jc, URL url) { argument
148 return proxy.get(jc);
315 public File run(JobContext jc) { argument
317 jc.setMode(ThreadPool.MODE_NETWORK);
323 jc.setMode(ThreadPool.MODE_NETWORK);
324 boolean downloaded = DownloadUtils.requestDownload(jc, url, tempFile);
325 jc.setMode(ThreadPool.MODE_NONE);
330 jc.setMode(ThreadPool.MODE_NONE);
348 public synchronized Entry get(JobContext jc) { argument
349 jc
[all...]
/packages/apps/Gallery2/src/com/android/gallery3d/ui/
H A DCacheStorageUsageInfo.java56 public void loadStorageInfo(JobContext jc) { argument
H A DDetailsAddressResolver.java47 public Address run(JobContext jc) { argument
H A DAlbumLabelMaker.java144 public Bitmap run(JobContext jc) { argument
174 if (jc.isCancelled()) return null;
183 if (jc.isCancelled()) return null;
191 if (jc.isCancelled()) return null;
H A DActionModeHandler.java90 public GetAllPanoramaSupports(ArrayList<MediaObject> mediaObjects, JobContext jc) { argument
91 mJobContext = jc;
265 private ArrayList<MediaObject> getSelectedMediaObjects(JobContext jc) { argument
275 if (jc.isCancelled()) {
320 private Intent computePanoramaSharingIntent(JobContext jc, int maxItems) { argument
329 if (jc.isCancelled()) return null;
350 private Intent computeSharingIntent(JobContext jc, int maxItems) { argument
361 if (jc.isCancelled()) return null;
408 public Void run(final JobContext jc) {
410 ArrayList<MediaObject> selected = getSelectedMediaObjects(jc);
[all...]
H A DMenuExecutor.java370 DataManager manager, JobContext jc, int cmd, Path path) {
426 public Void run(JobContext jc) { argument
433 if (jc.isCancelled()) {
437 if (!execute(manager, jc, mOperation, id)) {
369 execute( DataManager manager, JobContext jc, int cmd, Path path) argument
H A DTileImageView.java768 public Void run(JobContext jc) { argument
769 jc.setMode(ThreadPool.MODE_NONE);
770 jc.setCancelListener(mNotifier);
771 while (!jc.isCancelled()) {
775 if (tile == null && !jc.isCancelled()) {
/packages/apps/Gallery2/src/com/android/gallery3d/util/
H A DJobLimiter.java104 public T run(JobContext jc) { argument
112 result = job.run(jc);
H A DGalleryUtils.java191 public static void fakeBusy(JobContext jc, int timeout) { argument
193 jc.setCancelListener(new CancelListener() {
200 jc.setCancelListener(null);
/packages/apps/Gallery2/gallerycommon/src/com/android/gallery3d/util/
H A DThreadPool.java45 public T run(JobContext jc); argument
/packages/apps/Gallery2/src/com/android/gallery3d/app/
H A DSlideshowDataAdapter.java96 public Void run(JobContext jc) { argument
132 .run(jc);
177 public Slide run(JobContext jc) {
178 jc.setMode(ThreadPool.MODE_NONE);
H A DPhotoDataAdapter.java699 public ScreenNail run(JobContext jc) { argument
711 Bitmap bitmap = mItem.requestImage(MediaItem.TYPE_THUMBNAIL).run(jc);
712 if (jc.isCancelled()) return null;
729 public BitmapRegionDecoder run(JobContext jc) { argument
733 return mItem.requestLargeImage().run(jc);
/packages/apps/Messaging/build/gcheckstyle/
H A Dgoogle-style-checker_deploy.jarMETA-INF/ META-INF/MANIFEST.MF build-data.properties com/ com/google/ com/google/ ...

Completed in 352 milliseconds