Lines Matching defs:jc
60 public static Bitmap decode(JobContext jc, FileDescriptor fd, Options options) {
62 jc.setCancelListener(new DecodeCanceller(options));
68 public static void decodeBounds(JobContext jc, FileDescriptor fd,
72 jc.setCancelListener(new DecodeCanceller(options));
77 public static Bitmap decode(JobContext jc, byte[] bytes, Options options) {
78 return decode(jc, bytes, 0, bytes.length, options);
81 public static Bitmap decode(JobContext jc, byte[] bytes, int offset,
84 jc.setCancelListener(new DecodeCanceller(options));
90 public static void decodeBounds(JobContext jc, byte[] bytes, int offset,
94 jc.setCancelListener(new DecodeCanceller(options));
100 JobContext jc, String filePath, Options options, int targetSize, int type) {
105 return decodeThumbnail(jc, fd, options, targetSize, type);
115 JobContext jc, FileDescriptor fd, Options options, int targetSize, int type) {
117 jc.setCancelListener(new DecodeCanceller(options));
121 if (jc.isCancelled()) return null;
168 public static Bitmap decodeIfBigEnough(JobContext jc, byte[] data,
171 jc.setCancelListener(new DecodeCanceller(options));
175 if (jc.isCancelled()) return null;
199 JobContext jc, byte[] bytes, int offset, int length,
217 JobContext jc, String filePath, boolean shareable) {
227 JobContext jc, FileDescriptor fd, boolean shareable) {
237 JobContext jc, InputStream is, boolean shareable) {
249 public static Bitmap decodeUsingPool(JobContext jc, byte[] data, int offset,
255 ? findCachedBitmap(jc, data, offset, length, options) : null;
257 Bitmap bitmap = decode(jc, data, offset, length, options);
269 return decode(jc, data, offset, length, options);
276 public static Bitmap decodeUsingPool(JobContext jc,
282 ? findCachedBitmap(jc, fileDescriptor, options) : null;
284 Bitmap bitmap = DecodeUtils.decode(jc, fileDescriptor, options);
296 return decode(jc, fileDescriptor, options);
300 private static Bitmap findCachedBitmap(JobContext jc, byte[] data,
302 decodeBounds(jc, data, offset, length, options);
306 private static Bitmap findCachedBitmap(JobContext jc, FileDescriptor fileDescriptor,
308 decodeBounds(jc, fileDescriptor, options);