Home
last modified time | relevance | path

Searched refs:decodeByteArray (Results 1 – 25 of 394) sorted by relevance

12345678910>>...16

/aosp_15_r20/packages/apps/Gallery2/src/com/android/gallery3d/ingest/data/
DMtpBitmapFetch.java51 BitmapFactory.decodeByteArray(imageBytes, 0, imageBytes.length, o); in getThumbnail()
60 return BitmapFactory.decodeByteArray(imageBytes, 0, imageBytes.length, o); in getThumbnail()
66 return BitmapFactory.decodeByteArray(imageBytes, 0, imageBytes.length); in getThumbnail()
84 BitmapFactory.decodeByteArray(imageBytes, 0, imageBytes.length, o); in getFullsize()
95 created = BitmapFactory.decodeByteArray(imageBytes, 0, imageBytes.length, o); in getFullsize()
97 created = BitmapFactory.decodeByteArray(imageBytes, 0, imageBytes.length); in getFullsize()
/aosp_15_r20/external/robolectric/integration_tests/nativegraphics/src/test/java/org/robolectric/shadows/
H A DShadowNativeBitmapFactoryTest.java143 Bitmap b = BitmapFactory.decodeByteArray(array, 0, array.length, opt1); in testDecodeByteArray1()
149 assertNull(BitmapFactory.decodeByteArray(array, 0, array.length, opt2)); in testDecodeByteArray1()
155 Bitmap b = BitmapFactory.decodeByteArray(array, 0, array.length); in testDecodeByteArray2()
432 Bitmap purgeableBitmap = BitmapFactory.decodeByteArray(array, 0, array.length, options); in testDecodeInPurgeableAllocationCount()
464 verifyUnscaled(BitmapFactory.decodeByteArray(bytes, 0, bytes.length)); in testDecodeScaling()
465 verifyUnscaled(BitmapFactory.decodeByteArray(bytes, 0, bytes.length, null)); in testDecodeScaling()
466 verifyUnscaled(BitmapFactory.decodeByteArray(bytes, 0, bytes.length, unscaledOpt)); in testDecodeScaling()
467 verifyUnscaled(BitmapFactory.decodeByteArray(bytes, 0, bytes.length, defaultOpt)); in testDecodeScaling()
475 verifyScaled(BitmapFactory.decodeByteArray(bytes, 0, bytes.length, scaledOpt)); in testDecodeScaling()
/aosp_15_r20/packages/apps/Messaging/src/com/android/messaging/datamodel/media/
DFileImageRequest.java65 BitmapFactory.decodeByteArray(thumbnail, 0, thumbnail.length, options); in loadBitmapInternal()
88 return BitmapFactory.decodeByteArray(thumbnail, 0, thumbnail.length, in loadBitmapInternal()
93 return bitmapPool.decodeByteArray(thumbnail, options, sampledWidth, in loadBitmapInternal()
DPoolableImageCache.java176 public Bitmap decodeByteArray(@NonNull final byte[] bytes, in decodeByteArray() method in PoolableImageCache.ReusableImageResourcePool
190 b = BitmapFactory.decodeByteArray(bytes, 0, bytes.length, optionsTmp); in decodeByteArray()
198 b = BitmapFactory.decodeByteArray(bytes, 0, bytes.length, optionsTmp); in decodeByteArray()
DEncodedImageResource.java57 return BitmapFactory.decodeByteArray(mImageBytes, 0, mImageBytes.length); in getBitmap()
132 final Bitmap decodedBitmap = BitmapFactory.decodeByteArray(mImageBytes, 0, in loadMediaBlocking()
/aosp_15_r20/cts/tests/tests/graphics/src/android/graphics/cts/
H A DBitmapFactoryTest.java190 Bitmap b = BitmapFactory.decodeByteArray(array, 0, array.length, mOpt1); in testDecodeByteArray1()
196 assertNull(BitmapFactory.decodeByteArray(array, 0, array.length, mOpt2)); in testDecodeByteArray1()
202 Bitmap b = BitmapFactory.decodeByteArray(array, 0, array.length); in testDecodeByteArray2()
660 Bitmap purgeableBitmap = BitmapFactory.decodeByteArray(array, 0, array.length, options); in testDecodeInPurgeableAllocationCount()
691 verifyUnscaled(BitmapFactory.decodeByteArray(bytes, 0, bytes.length)); in testDecodeScaling()
692 verifyUnscaled(BitmapFactory.decodeByteArray(bytes, 0, bytes.length, null)); in testDecodeScaling()
693 verifyUnscaled(BitmapFactory.decodeByteArray(bytes, 0, bytes.length, unscaledOpt)); in testDecodeScaling()
694 verifyUnscaled(BitmapFactory.decodeByteArray(bytes, 0, bytes.length, defaultOpt)); in testDecodeScaling()
702 verifyScaled(BitmapFactory.decodeByteArray(bytes, 0, bytes.length, scaledOpt)); in testDecodeScaling()
772 BitmapFactory.decodeByteArray(new byte[100], 1, 20, options); in testMutableHardwareInDecodeByteArray()
[all …]
H A DYuvImageTest.java399 Bitmap decoded = BitmapFactory.decodeByteArray(jpegRData, 0, jpegRData.length); in testCompressYuvToJpegR()
434 Bitmap decoded = BitmapFactory.decodeByteArray(jpegRData, 0, jpegRData.length); in testCompressYuvToJpegRWithExif()
479 Bitmap decoded = BitmapFactory.decodeByteArray(jpegRData, 0, jpegRData.length); in testCompressYuvToJpegRWithStrides()
567 result = BitmapFactory.decodeByteArray(jpegData, 0, in compressDecompress()
/aosp_15_r20/external/volley/core/src/main/java/com/android/volley/toolbox/
H A DImageRequest.java200 bitmap = BitmapFactory.decodeByteArray(data, 0, data.length, decodeOptions); in doParse()
204 BitmapFactory.decodeByteArray(data, 0, data.length, decodeOptions); in doParse()
222 Bitmap tempBitmap = BitmapFactory.decodeByteArray(data, 0, data.length, decodeOptions); in doParse()
/aosp_15_r20/external/robolectric/robolectric/src/test/java/org/robolectric/shadows/
H A DShadowBitmapFactoryTest.java139 Bitmap bitmap = BitmapFactory.decodeByteArray(yummyBites, 100, 100); in decodeBytes_shouldSetDescriptionAndCreatedFrom()
151 Bitmap bitmap = BitmapFactory.decodeByteArray(yummyBites, 100, 100, options); in decodeBytes_shouldSetDescriptionAndCreatedFromWithOptions()
267 Bitmap bitmap = BitmapFactory.decodeByteArray(bytes, 0, bytes.length); in decodeByteArray_shouldGetWidthAndHeightFromHints()
279 Bitmap bitmap = BitmapFactory.decodeByteArray(bytes, 1, bytes.length - 2); in decodeByteArray_shouldIncludeOffsets()
493 Bitmap oldBitmap = BitmapFactory.decodeByteArray(bitmapData, 0, bitmapData.length); in decodeFile_shouldGetCorrectColorFromCompressedFile()
541 Bitmap bitmap = BitmapFactory.decodeByteArray(array, 0, array.length); in getPngImageColorFromByteArray()
/aosp_15_r20/packages/apps/Gallery2/src/com/android/gallery3d/data/
DDecodeUtils.java87 BitmapFactory.decodeByteArray(bytes, offset, length, options)); in decode()
95 BitmapFactory.decodeByteArray(bytes, offset, length, options); in decodeBounds()
174 BitmapFactory.decodeByteArray(data, 0, data.length, options); in decodeIfBigEnough()
185 BitmapFactory.decodeByteArray(data, 0, data.length, options)); in decodeIfBigEnough()
/aosp_15_r20/frameworks/ex/framesequence/src/android/support/rastermill/
H A DFrameSequence.java42 public static FrameSequence decodeByteArray(byte[] data) { in decodeByteArray() method in FrameSequence
46 public static FrameSequence decodeByteArray(byte[] data, int offset, int length) { in decodeByteArray() method in FrameSequence
/aosp_15_r20/packages/apps/Messaging/src/com/android/messaging/datamodel/
DBitmapPool.java265 public Bitmap decodeByteArray(@NonNull final byte[] bytes, in decodeByteArray() method in BitmapPool
275 b = BitmapFactory.decodeByteArray(bytes, 0, bytes.length, optionsTmp); in decodeByteArray()
285 b = BitmapFactory.decodeByteArray(bytes, 0, bytes.length, optionsTmp); in decodeByteArray()
/aosp_15_r20/platform_testing/libraries/flicker/utils/src/android/tools/parsers/
H A DAbstractParser.kt37 val input = decodeByteArray(bytes) in doDecodeByteArray()
57 protected fun decodeByteArray(input: ByteArray): InputTypeTrace { in decodeByteArray() method in android.tools.parsers.AbstractParser
/aosp_15_r20/packages/apps/Launcher3/src/com/android/launcher3/model/data/
DIconRequestInfo.java18 import static android.graphics.BitmapFactory.decodeByteArray;
82 info.bitmap = li.createIconBitmap(decodeByteArray( in loadWorkspaceIcon()
/aosp_15_r20/out/soong/.intermediates/frameworks/ex/framesequence/android-common-framesequence/android_common/javac/
Dandroid-common-framesequence.jarMETA-INF/ META-INF/MANIFEST.MF android/ android/support/ android/ ...
/aosp_15_r20/development/samples/training/threadsample/src/com/example/android/threadsample/
H A DPhotoDecodeRunnable.java170 .decodeByteArray(imageBuffer, 0, imageBuffer.length, bitmapOptions); in run()
216 returnBitmap = BitmapFactory.decodeByteArray( in run()
/aosp_15_r20/out/soong/.intermediates/frameworks/ex/framesequence/android-common-framesequence/android_common/turbine/
Dandroid-common-framesequence.jarandroid/support/rastermill/FrameSequence.class <Unknown> package android.support.rastermill public ...
/aosp_15_r20/development/tools/winscope/src/parsers/events/
H A Dparser_eventlog.ts47 const decodedLogs = this.decodeByteArray(buffer);
68 private decodeByteArray(bytes: Uint8Array): string[] { method in ParserEventLog
/aosp_15_r20/packages/apps/Dialer/java/com/android/dialer/contactphoto/
DBitmapUtil.java42 BitmapFactory.decodeByteArray(bytes, 0, bytes.length, options); in getSmallerExtentFromBytes()
88 return BitmapFactory.decodeByteArray(bytes, 0, bytes.length, options); in decodeBitmapFromBytes()
/aosp_15_r20/packages/modules/IntentResolver/java/src/com/android/intentresolver/icon/
DComposeIcon.kt40 BitmapIcon(BitmapFactory.decodeByteArray(dataBytes, dataOffset, dataLength)) in <lambda>()
53 BitmapIcon(BitmapFactory.decodeByteArray(dataBytes, dataOffset, dataLength)) in toComposeIcon()
/aosp_15_r20/frameworks/base/graphics/java/android/graphics/
H A DBitmapFactory.java671 public static Bitmap decodeByteArray(byte[] data, int offset, int length, Options opts) { in decodeByteArray() method in BitmapFactory
705 public static Bitmap decodeByteArray(byte[] data, int offset, int length) { in decodeByteArray() method in BitmapFactory
706 return decodeByteArray(data, offset, length, null); in decodeByteArray()
/aosp_15_r20/packages/apps/Contacts/src/com/android/contacts/util/
DBitmapUtil.java45 BitmapFactory.decodeByteArray(bytes, 0, bytes.length, options); in getSmallerExtentFromBytes()
89 return BitmapFactory.decodeByteArray(bytes, 0, bytes.length, options); in decodeBitmapFromBytes()
/aosp_15_r20/external/robolectric/integration_tests/ctesque/src/sharedTest/java/android/graphics/
H A DBitmapFactoryTest.java53 Bitmap b = BitmapFactory.decodeByteArray(array, 0, array.length, options1); in testDecodeByteArray1()
63 Bitmap b = BitmapFactory.decodeByteArray(array, 0, array.length); in testDecodeByteArray2()
/aosp_15_r20/packages/providers/ContactsProvider/src/com/android/providers/contacts/
DPhotoProcessor.java127 this(BitmapFactory.decodeByteArray(originalBytes, 0, originalBytes.length), in PhotoProcessor()
164 this(BitmapFactory.decodeByteArray(originalBytes, 0, originalBytes.length), in PhotoProcessor()
/aosp_15_r20/external/robolectric/shadows/framework/src/main/java/org/robolectric/shadows/
H A DShadowBitmapFactory.java198 protected static Bitmap decodeByteArray(byte[] data, int offset, int length) { in decodeByteArray() method in ShadowBitmapFactory
199 return decodeByteArray(data, offset, length, new BitmapFactory.Options()); in decodeByteArray()
203 protected static Bitmap decodeByteArray( in decodeByteArray() method in ShadowBitmapFactory

12345678910>>...16