/frameworks/base/core/tests/coretests/src/android/graphics/ |
D | ImageDecoderTest.java | 43 ImageDecoder.createSource(mContext.getResources(), R.drawable.gettysburg); in onDecodeHeader_png_returnsPopulatedData() 57 ImageDecoder.createSource(mContext.getResources(), R.drawable.animated_webp); in onDecodeHeader_animatedWebP_returnsPopulatedData() 70 ImageDecoder.Source src = ImageDecoder.createSource(new File("/this/file/does/not/exist")); in onDecodeHeader_invalidSource_throwsException() 77 ImageDecoder.createSource(mContext.getResources(), R.drawable.box); in onDecodeHeader_invalidResource_throwsException()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/graphics/ |
D | ImageLoader.kt | 327 val source = ImageDecoder.createSource(context.contentResolver, icon.uri) in <lambda>() 334 ImageDecoder.createSource(it, icon.resId), in <lambda>() 352 ImageDecoder.createSource(icon.dataBytes, icon.dataOffset, icon.dataLength), in <lambda>() 397 val source = ImageDecoder.createSource(context.contentResolver, icon.uri) in <lambda>() 446 ImageDecoder.createSource(context.resources, source.resId) in <lambda>() 448 is File -> ImageDecoder.createSource(source.file) in <lambda>() 449 is Uri -> ImageDecoder.createSource(defaultContext.contentResolver, source.uri) in <lambda>() 452 ImageDecoder.createSource(context.resources, source.inputStream) in <lambda>()
|
/frameworks/base/tests/graphics/SilkFX/src/com/android/test/silkfx/app/ |
D | HdrImageViewer.kt | 37 val source = ImageDecoder.createSource(contentResolver, data) in onCreate() 43 val source = ImageDecoder.createSource(contentResolver, uri) in onCreate()
|
/frameworks/base/core/java/com/android/internal/widget/ |
D | LocalImageResolver.java | 60 ImageDecoder.createSource(context.getContentResolver(), uri); in resolveImage() 151 ImageDecoder.createSource(context.getContentResolver(), uri); in resolveImage() 163 final ImageDecoder.Source source = ImageDecoder.createSource(context.getResources(), resId); in resolveImage() 170 final ImageDecoder.Source source = ImageDecoder.createSource(res, resId); in resolveImage()
|
/frameworks/base/apct-tests/perftests/core/src/android/graphics/perftests/ |
D | CanvasPerfTest.java | 113 ImageDecoder.createSource(context.getResources(), R.drawable.fountain_night), in testCreateScaledSrgbBitmap() 134 ImageDecoder.createSource(context.getResources(), R.drawable.fountain_night), in testCreateScaledP3Bitmap() 155 ImageDecoder.createSource(context.getResources(), R.drawable.fountain_night), in testCreateScaledBitmapWithGainmap()
|
/frameworks/base/tests/graphics/HwAccelerationTest/src/com/android/test/hwui/ |
D | BitmapTransitionView.kt | 39 ImageDecoder.createSource(context.resources, R.drawable.large_photo)) in <lambda>() 41 ImageDecoder.createSource(context.resources, R.drawable.very_large_photo)) in <lambda>()
|
D | RenderEffectViewActivity.kt | 54 val imgSource = ImageDecoder.createSource(resources, R.drawable.scratches) in <lambda>()
|
/frameworks/base/core/tests/benchmarks/src/android/os/ |
D | FileUtilsBenchmark.java | 73 try (MemoryPipe in = MemoryPipe.createSource(mData); in timePipeSourceUserspace() 82 try (MemoryPipe in = MemoryPipe.createSource(mData); in timePipeSourceSplice()
|
/frameworks/base/graphics/java/android/graphics/ |
D | ImageDecoder.java | 937 public static Source createSource(@NonNull Resources res, int resId) in createSource() method in ImageDecoder 960 public static Source createSource(@NonNull ContentResolver cr, in createSource() method in ImageDecoder 972 public static Source createSource(@NonNull ContentResolver cr, in createSource() method in ImageDecoder 982 public static Source createSource(@NonNull AssetManager assets, @NonNull String fileName) { in createSource() method in ImageDecoder 1008 public static Source createSource(@NonNull byte[] data, int offset, in createSource() method in ImageDecoder 1038 public static Source createSource(@NonNull byte[] data) { in createSource() method in ImageDecoder 1039 return createSource(data, 0, data.length); in createSource() 1060 public static Source createSource(@NonNull ByteBuffer buffer) { in createSource() method in ImageDecoder 1073 public static Source createSource(Resources res, @NonNull InputStream is) { in createSource() method in ImageDecoder 1087 public static Source createSource(Resources res, @NonNull InputStream is, int density) { in createSource() method in ImageDecoder [all …]
|
/frameworks/base/media/java/android/media/ |
D | ThumbnailUtils.java | 157 return ImageDecoder.decodeBitmap(ImageDecoder.createSource(raw), resizer); in createAudioThumbnail() 207 return ImageDecoder.decodeBitmap(ImageDecoder.createSource(bestFile), resizer); in createAudioThumbnail() 291 bitmap = ImageDecoder.decodeBitmap(ImageDecoder.createSource(raw), resizer); in createImageThumbnail() 302 bitmap = ImageDecoder.decodeBitmap(ImageDecoder.createSource(file), resizer); in createImageThumbnail() 367 return ImageDecoder.decodeBitmap(ImageDecoder.createSource(raw), resizer); in createVideoThumbnail()
|
/frameworks/av/media/libstagefright/tests/fuzzers/ |
D | WriterFuzzer.cpp | 51 sp<MediaSource> source = createSource(writerType, &fdp); in LLVMFuzzerTestOneInput()
|
D | FuzzerMediaUtility.h | 94 sp<FuzzSource> createSource(StandardWriters writerType, FuzzedDataProvider* fdp);
|
D | FuzzerMediaUtility.cpp | 132 sp<FuzzSource> createSource(StandardWriters writerType, FuzzedDataProvider* fdp) { in createSource() function
|
/frameworks/av/cmds/stagefright/ |
D | record.cpp | 123 sp<MediaSource> createSource(const char *filename) { 192 sp<MediaSource> source = createSource(argv[1]);
|
/frameworks/layoutlib/bridge/tests/src/com/android/layoutlib/bridge/android/ |
D | BitmapTest.java | 103 Source source = ImageDecoder.createSource(context.getResources(), in testImageDecoder()
|
/frameworks/base/tests/graphics/SilkFX/src/com/android/test/silkfx/hdr/ |
D | GainmapTransformsTest.kt | 35 val source = ImageDecoder.createSource(resources.assets, in <lambda>()
|
D | GainmapDecodeTest.kt | 64 val source = ImageDecoder.createSource(resources.assets, in decode()
|
D | GainmapImage.kt | 110 val source = ImageDecoder.createSource(resources.assets, in <lambda>()
|
/frameworks/base/core/java/com/android/internal/util/ |
D | ImageUtils.java | 221 return ImageDecoder.decodeBitmap(ImageDecoder.createSource(() -> { in loadThumbnail()
|
/frameworks/base/graphics/java/android/graphics/drawable/ |
D | BitmapDrawable.java | 176 bitmap = ImageDecoder.decodeBitmap(ImageDecoder.createSource(res, stream), in BitmapDrawable() 209 bitmap = ImageDecoder.decodeBitmap(ImageDecoder.createSource(res, is), in BitmapDrawable() 852 ImageDecoder.Source source = ImageDecoder.createSource(r, is, density); in updateStateFromTypedArray()
|
D | Drawable.java | 1291 source = ImageDecoder.createSource(res, is, density); in getBitmapDrawable() 1293 source = ImageDecoder.createSource(res, is); in getBitmapDrawable()
|
D | AnimatedImageDrawable.java | 233 ImageDecoder.Source source = ImageDecoder.createSource(r, is, density); in updateStateFromTypedArray()
|
D | NinePatchDrawable.java | 439 ImageDecoder.Source source = ImageDecoder.createSource(r, is, density); in updateStateFromTypedArray()
|
/frameworks/base/core/tests/coretests/src/android/os/ |
D | FileUtilsTest.java | 191 try (MemoryPipe in = MemoryPipe.createSource(expected); in testCopy_PipeToFile() 209 try (MemoryPipe in = MemoryPipe.createSource(expected); in testCopy_PipeToPipe() 231 try (MemoryPipe in = MemoryPipe.createSource(source); in testCopy_ShortPipeToFile()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/policy/ |
D | SmartReplyStateInflater.kt | 312 val source = ImageDecoder.createSource(packageContext.contentResolver, icon.uri) in inflateActionButton()
|