Home
last modified time | relevance | path

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

12

/aosp12/packages/apps/Gallery2/src/com/android/gallery3d/data/
H A DDecodeUtils.java62 jc.setCancelListener(new DecodeCanceller(options)); in decode()
72 jc.setCancelListener(new DecodeCanceller(options)); in decodeBounds()
78 return decode(jc, bytes, 0, bytes.length, options); in decode()
84 jc.setCancelListener(new DecodeCanceller(options)); in decode()
94 jc.setCancelListener(new DecodeCanceller(options)); in decodeBounds()
121 if (jc.isCancelled()) return null; in decodeThumbnail()
175 if (jc.isCancelled()) return null; in decodeIfBigEnough()
276 public static Bitmap decodeUsingPool(JobContext jc, in decodeUsingPool() argument
296 return decode(jc, fileDescriptor, options); in decodeUsingPool()
302 decodeBounds(jc, data, offset, length, options); in findCachedBitmap()
[all …]
H A DUriImage.java81 int state = openOrDownloadInner(jc); in openFileOrDownloadTempFile()
94 private int openOrDownloadInner(JobContext jc) { in openOrDownloadInner() argument
108 if (jc.isCancelled()) return STATE_INIT; in openOrDownloadInner()
138 private boolean prepareInputFile(JobContext jc) { in prepareInputFile() argument
139 jc.setCancelListener(new CancelListener() { in prepareInputFile()
150 if (jc.isCancelled()) return false; in prepareInputFile()
168 openFileOrDownloadTempFile(jc); in prepareInputFile()
175 if (!prepareInputFile(jc)) return null; in run()
192 public Bitmap run(JobContext jc) { in run() argument
193 if (!prepareInputFile(jc)) return null; in run()
[all …]
H A DImageCacheRequest.java53 public Bitmap run(JobContext jc) { in run() argument
59 if (jc.isCancelled()) return null; in run()
65 bitmap = DecodeUtils.decodeUsingPool(jc, in run()
68 bitmap = DecodeUtils.decodeUsingPool(jc, in run()
71 if (bitmap == null && !jc.isCancelled()) { in run()
79 Bitmap bitmap = onDecodeOriginal(jc, mType); in run()
80 if (jc.isCancelled()) return null; in run()
92 if (jc.isCancelled()) return null; in run()
95 if (jc.isCancelled()) return null; in run()
101 public abstract Bitmap onDecodeOriginal(JobContext jc, int targetSize); in onDecodeOriginal() argument
H A DDownloadUtils.java34 public static boolean requestDownload(JobContext jc, URL url, File file) { in requestDownload() argument
38 return download(jc, url, fos); in requestDownload()
46 public static void dump(JobContext jc, InputStream is, OutputStream os) in dump() argument
51 jc.setCancelListener(new CancelListener() { in dump()
58 if (jc.isCancelled()) throw new InterruptedIOException(); in dump()
62 jc.setCancelListener(null); in dump()
66 public static boolean download(JobContext jc, URL url, OutputStream output) { in download() argument
70 dump(jc, input, output); in download()
H A DBucketHelper.java75 JobContext jc, ContentResolver resolver, int type) { in loadBucketEntries() argument
77 return loadBucketEntriesFromFilesTable(jc, resolver, type); in loadBucketEntries()
79 return loadBucketEntriesFromImagesAndVideoTable(jc, resolver, type); in loadBucketEntries()
83 private static void updateBucketEntriesFromTable(JobContext jc, in updateBucketEntriesFromTable() argument
110 JobContext jc, ContentResolver resolver, int type) { in loadBucketEntriesFromImagesAndVideoTable() argument
114 jc, resolver, Images.Media.EXTERNAL_CONTENT_URI, buckets); in loadBucketEntriesFromImagesAndVideoTable()
118 jc, resolver, Video.Media.EXTERNAL_CONTENT_URI, buckets); in loadBucketEntriesFromImagesAndVideoTable()
132 JobContext jc, ContentResolver resolver, int type) { in loadBucketEntriesFromFilesTable() argument
158 if (jc.isCancelled()) return null; in loadBucketEntriesFromFilesTable()
H A DDownloadCache.java114 public Entry download(JobContext jc, URL url) { in download() argument
148 return proxy.get(jc); in download()
315 public File run(JobContext jc) { in run() argument
317 jc.setMode(ThreadPool.MODE_NETWORK); in run()
323 jc.setMode(ThreadPool.MODE_NETWORK); in run()
324 boolean downloaded = DownloadUtils.requestDownload(jc, url, tempFile); in run()
325 jc.setMode(ThreadPool.MODE_NONE); in run()
330 jc.setMode(ThreadPool.MODE_NONE); in run()
348 public synchronized Entry get(JobContext jc) { in get() argument
349 jc.setCancelListener(new CancelListener() { in get()
[all …]
H A DSnailItem.java43 public Bitmap run(JobContext jc) { in requestImage()
54 public BitmapRegionDecoder run(JobContext jc) {
H A DLocalImage.java190 public Bitmap onDecodeOriginal(JobContext jc, final int type) { in onDecodeOriginal() argument
209 jc, thumbData, options, targetSize); in onDecodeOriginal()
214 return DecodeUtils.decodeThumbnail(jc, mLocalFilePath, options, targetSize, type); in onDecodeOriginal()
232 public BitmapRegionDecoder run(JobContext jc) { in run() argument
233 return DecodeUtils.createBitmapRegionDecoder(jc, mLocalFilePath, false); in run()
H A DBytesBufferPool.java40 public void readFrom(JobContext jc, FileDescriptor fd) throws IOException { in readFrom() argument
48 if (rc < 0 || jc.isCancelled()) return; in readFrom()
H A DLocalAlbumSet.java105 public ArrayList<MediaSet> run(JobContext jc) { in run() argument
109 jc, mApplication.getContentResolver(), mType); in run()
111 if (jc.isCancelled()) return null; in run()
H A DPanoramaMetadataJob.java37 public PanoramaMetadata run(JobContext jc) { in run() argument
H A DLocalVideo.java170 public Bitmap onDecodeOriginal(JobContext jc, int type) { in onDecodeOriginal() argument
172 if (bitmap == null || jc.isCancelled()) return null; in onDecodeOriginal()
H A DActionImage.java60 public Bitmap run(JobContext jc) { in run() argument
/aosp12/packages/apps/Gallery2/src/com/android/gallery3d/ui/
H A DActionModeHandler.java91 mJobContext = jc; in GetAllPanoramaSupports()
275 if (jc.isCancelled()) { in getSelectedMediaObjects()
329 if (jc.isCancelled()) return null; in computePanoramaSharingIntent()
350 private Intent computeSharingIntent(JobContext jc, int maxItems) { in computeSharingIntent() argument
361 if (jc.isCancelled()) return null; in computeSharingIntent()
408 public Void run(final JobContext jc) { in updateSupportedOperation()
416 if (jc.isCancelled()) return; in updateSupportedOperation()
424 if (jc.isCancelled()) { in updateSupportedOperation()
434 new GetAllPanoramaSupports(selected, jc) in updateSupportedOperation()
448 if (jc.isCancelled()) { in updateSupportedOperation()
[all …]
H A DAlbumLabelMaker.java144 public Bitmap run(JobContext jc) { in run() argument
174 if (jc.isCancelled()) return null; in run()
183 if (jc.isCancelled()) return null; in run()
191 if (jc.isCancelled()) return null; in run()
H A DMenuExecutor.java370 DataManager manager, JobContext jc, int cmd, Path path) { in execute() argument
426 public Void run(JobContext jc) { in run() argument
433 if (jc.isCancelled()) { in run()
437 if (!execute(manager, jc, mOperation, id)) { in run()
H A DTileImageView.java768 public Void run(JobContext jc) { in run() argument
769 jc.setMode(ThreadPool.MODE_NONE); in run()
770 jc.setCancelListener(mNotifier); in run()
771 while (!jc.isCancelled()) { in run()
775 if (tile == null && !jc.isCancelled()) { in run()
H A DCacheStorageUsageInfo.java56 public void loadStorageInfo(JobContext jc) { in loadStorageInfo() argument
/aosp12/build/soong/dexpreopt/
H A Dconfig.go514 var jc globalJsonSoongConfig
516 err := json.Unmarshal(data, &jc)
522 Profman: constructPath(ctx, jc.Profman),
523 Dex2oat: constructPath(ctx, jc.Dex2oat),
524 Aapt: constructPath(ctx, jc.Aapt),
525 SoongZip: constructPath(ctx, jc.SoongZip),
526 Zip2zip: constructPath(ctx, jc.Zip2zip),
527 ManifestCheck: constructPath(ctx, jc.ManifestCheck),
528 ConstructContext: constructPath(ctx, jc.ConstructContext),
566 jc := globalJsonSoongConfig{
[all …]
/aosp12/packages/apps/Gallery2/src/com/android/gallery3d/app/
H A DSlideshowDataAdapter.java96 public Void run(JobContext jc) { in run() argument
132 .run(jc); in run()
177 public Slide run(JobContext jc) { in nextSlide()
178 jc.setMode(ThreadPool.MODE_NONE); in nextSlide()
H A DManageCachePage.java249 public Void run(JobContext jc) {
250 mCacheStorageInfo.loadStorageInfo(jc);
251 if (!jc.isCancelled()) {
/aosp12/packages/apps/Gallery2/src/com/android/gallery3d/util/
H A DJobLimiter.java104 public T run(JobContext jc) { in run() argument
112 result = job.run(jc); in run()
H A DGalleryUtils.java191 public static void fakeBusy(JobContext jc, int timeout) { in fakeBusy() argument
193 jc.setCancelListener(new CancelListener() { in fakeBusy()
200 jc.setCancelListener(null); in fakeBusy()
/aosp12/frameworks/base/apex/jobscheduler/service/java/com/android/server/job/
H A DJobServiceContext.java619 JobCallback jc = (JobCallback)message.obj; in handleMessage() local
622 if (jc.mStoppedReason != null) { in handleMessage()
625 - jc.mStoppedTime, sb); in handleMessage()
627 sb.append(jc.mStoppedReason); in handleMessage()
/aosp12/bionic/libc/kernel/uapi/drm/
H A Dpanfrost_drm.h45 __u64 jc; member

12