Home
last modified time | relevance | path

Searched refs:createSource (Results 1 – 16 of 16) sorted by relevance

/frameworks/layoutlib/bridge/src/android/graphics/
DImageDecoder.java339 public static Source createSource(@NonNull Resources res, int resId) in createSource() method in ImageDecoder
353 public static Source createSource(@NonNull ContentResolver cr, in createSource() method in ImageDecoder
371 public static Source createSource(@NonNull byte[] data, int offset, in createSource() method in ImageDecoder
386 public static Source createSource(@NonNull byte[] data) { in createSource() method in ImageDecoder
387 return createSource(data, 0, data.length); in createSource()
401 public static Source createSource(@NonNull ByteBuffer buffer) { in createSource() method in ImageDecoder
409 public static Source createSource(Resources res, InputStream is) { in createSource() method in ImageDecoder
417 public static Source createSource(Resources res, InputStream is, int density) { in createSource() method in ImageDecoder
425 public static Source createSource(@NonNull File file) { in createSource() method in ImageDecoder
/frameworks/base/graphics/java/android/graphics/
DImageDecoder.java887 public static Source createSource(@NonNull Resources res, int resId) in createSource() method in ImageDecoder
910 public static Source createSource(@NonNull ContentResolver cr, in createSource() method in ImageDecoder
922 public static Source createSource(@NonNull ContentResolver cr, in createSource() method in ImageDecoder
932 public static Source createSource(@NonNull AssetManager assets, @NonNull String fileName) { in createSource() method in ImageDecoder
953 public static Source createSource(@NonNull byte[] data, int offset, in createSource() method in ImageDecoder
972 public static Source createSource(@NonNull byte[] data) { in createSource() method in ImageDecoder
973 return createSource(data, 0, data.length); in createSource()
994 public static Source createSource(@NonNull ByteBuffer buffer) { in createSource() method in ImageDecoder
1007 public static Source createSource(Resources res, InputStream is) { in createSource() method in ImageDecoder
1021 public static Source createSource(Resources res, InputStream is, int density) { in createSource() method in ImageDecoder
[all …]
/frameworks/base/core/tests/benchmarks/src/android/os/
DFileUtilsBenchmark.java73 try (MemoryPipe in = MemoryPipe.createSource(mData); in timePipeSourceUserspace()
82 try (MemoryPipe in = MemoryPipe.createSource(mData); in timePipeSourceSplice()
/frameworks/base/media/java/android/media/
DThumbnailUtils.java159 return ImageDecoder.decodeBitmap(ImageDecoder.createSource(raw), resizer); in createAudioThumbnail()
209 return ImageDecoder.decodeBitmap(ImageDecoder.createSource(bestFile), resizer); in createAudioThumbnail()
286 bitmap = ImageDecoder.decodeBitmap(ImageDecoder.createSource(raw), resizer); in createImageThumbnail()
297 bitmap = ImageDecoder.decodeBitmap(ImageDecoder.createSource(file), resizer); in createImageThumbnail()
356 return ImageDecoder.decodeBitmap(ImageDecoder.createSource(raw), resizer); in createVideoThumbnail()
/frameworks/av/cmds/stagefright/
Drecord.cpp120 sp<MediaSource> createSource(const char *filename) {
189 sp<MediaSource> source = createSource(argv[1]);
/frameworks/base/core/java/com/android/internal/util/
DImageUtils.java206 return ImageDecoder.decodeBitmap(ImageDecoder.createSource(() -> { in loadThumbnail()
/frameworks/base/core/tests/coretests/src/android/os/
DFileUtilsTest.java178 try (MemoryPipe in = MemoryPipe.createSource(expected); in testCopy_PipeToFile()
195 try (MemoryPipe in = MemoryPipe.createSource(expected); in testCopy_PipeToPipe()
216 try (MemoryPipe in = MemoryPipe.createSource(source); in testCopy_ShortPipeToFile()
/frameworks/base/graphics/java/android/graphics/drawable/
DBitmapDrawable.java169 bitmap = ImageDecoder.decodeBitmap(ImageDecoder.createSource(res, stream), in BitmapDrawable()
202 bitmap = ImageDecoder.decodeBitmap(ImageDecoder.createSource(res, is), in BitmapDrawable()
845 ImageDecoder.Source source = ImageDecoder.createSource(r, is, density); in updateStateFromTypedArray()
DDrawable.java1297 source = ImageDecoder.createSource(res, is, density); in getBitmapDrawable()
1299 source = ImageDecoder.createSource(res, is); in getBitmapDrawable()
DAnimatedImageDrawable.java233 ImageDecoder.Source source = ImageDecoder.createSource(r, is, density); in updateStateFromTypedArray()
DNinePatchDrawable.java439 ImageDecoder.Source source = ImageDecoder.createSource(r, is, density); in updateStateFromTypedArray()
/frameworks/base/core/java/android/widget/
DImageView.java1007 ImageDecoder.Source src = ImageDecoder.createSource(mContext.getContentResolver(),
/frameworks/base/core/java/android/os/
DFileUtils.java1433 public static MemoryPipe createSource(byte[] data) throws IOException { in createSource() method in FileUtils.MemoryPipe
/frameworks/base/core/java/android/content/
DContentResolver.java3589 Bitmap bitmap = ImageDecoder.decodeBitmap(ImageDecoder.createSource(() -> {
/frameworks/base/api/
Dtest-current.txt862 …method @AnyThread @NonNull public static android.graphics.ImageDecoder.Source createSource(android…
/frameworks/base/tools/aapt2/integration-tests/CommandTests/
Dandroid-28.jarMETA-INF/ META-INF/MANIFEST.MF javax/ javax/net/ javax/ ...