/aosp12/packages/apps/Gallery2/src/com/android/gallery3d/data/ |
H A D | DecodeUtils.java | 62 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 D | UriImage.java | 81 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 D | ImageCacheRequest.java | 53 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 D | DownloadUtils.java | 34 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 D | BucketHelper.java | 75 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 D | DownloadCache.java | 114 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 D | SnailItem.java | 43 public Bitmap run(JobContext jc) { in requestImage() 54 public BitmapRegionDecoder run(JobContext jc) {
|
H A D | LocalImage.java | 190 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 D | BytesBufferPool.java | 40 public void readFrom(JobContext jc, FileDescriptor fd) throws IOException { in readFrom() argument 48 if (rc < 0 || jc.isCancelled()) return; in readFrom()
|
H A D | LocalAlbumSet.java | 105 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 D | PanoramaMetadataJob.java | 37 public PanoramaMetadata run(JobContext jc) { in run() argument
|
H A D | LocalVideo.java | 170 public Bitmap onDecodeOriginal(JobContext jc, int type) { in onDecodeOriginal() argument 172 if (bitmap == null || jc.isCancelled()) return null; in onDecodeOriginal()
|
H A D | ActionImage.java | 60 public Bitmap run(JobContext jc) { in run() argument
|
/aosp12/packages/apps/Gallery2/src/com/android/gallery3d/ui/ |
H A D | ActionModeHandler.java | 91 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 D | AlbumLabelMaker.java | 144 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 D | MenuExecutor.java | 370 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 D | TileImageView.java | 768 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 D | CacheStorageUsageInfo.java | 56 public void loadStorageInfo(JobContext jc) { in loadStorageInfo() argument
|
/aosp12/build/soong/dexpreopt/ |
H A D | config.go | 514 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 D | SlideshowDataAdapter.java | 96 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 D | ManageCachePage.java | 249 public Void run(JobContext jc) { 250 mCacheStorageInfo.loadStorageInfo(jc); 251 if (!jc.isCancelled()) {
|
/aosp12/packages/apps/Gallery2/src/com/android/gallery3d/util/ |
H A D | JobLimiter.java | 104 public T run(JobContext jc) { in run() argument 112 result = job.run(jc); in run()
|
H A D | GalleryUtils.java | 191 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 D | JobServiceContext.java | 619 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 D | panfrost_drm.h | 45 __u64 jc; member
|