/packages/apps/Gallery2/src/com/android/gallery3d/ingest/data/ |
D | MtpBitmapFetch.java | 45 byte[] imageBytes = device.getThumbnail(info.getObjectHandle()); in getThumbnail() 46 if (imageBytes == null) { in getThumbnail() 51 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() 76 byte[] imageBytes = device.getObject(info.getObjectHandle(), info.getCompressedSize()); in getFullsize() 77 if (imageBytes == null) { in getFullsize() 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() [all …]
|
/packages/apps/Bluetooth/tests/unit/src/com/android/bluetooth/avrcp/ |
D | CoverArtTest.java | 96 byte[] imageBytes = outputStream.toByteArray(); in toInputSteam() 97 return new ByteArrayInputStream(imageBytes); in toInputSteam() 100 private Bitmap toBitmap(byte[] imageBytes) { in toBitmap() argument 101 ByteArrayInputStream inputStream = new ByteArrayInputStream(imageBytes); in toBitmap() 218 byte[] imageBytes = artwork.getThumbnail(); in testGetThumbnailImage() 219 assertThat(imageBytes).isNotNull(); in testGetThumbnailImage() 220 Bitmap image = toBitmap(imageBytes); in testGetThumbnailImage() 266 byte[] imageBytes = artwork.getImage(descriptor); in testGetImageWithThumbnailDescriptor() 267 assertThat(imageBytes).isNotNull(); in testGetImageWithThumbnailDescriptor() 268 Bitmap image = toBitmap(imageBytes); in testGetImageWithThumbnailDescriptor()
|
/packages/apps/Bluetooth/src/com/android/bluetooth/avrcp/ |
D | AvrcpBipObexServer.java | 298 byte[] imageBytes = null; in handleGetImage() 301 imageBytes = image.getImage(); in handleGetImage() 303 imageBytes = image.getImage(descriptor); in handleGetImage() 306 if (imageBytes == null) { in handleGetImage() 314 return sendResponse(op, replyHeaders, imageBytes); in handleGetImage()
|
/packages/apps/WallpaperPicker/src/com/android/wallpaperpicker/tileinfo/ |
D | UriWallpaperInfo.java | 58 public void onBitmapCropped(byte[] imageBytes) { in onSave() 61 InputStreamProvider.fromBytes(imageBytes), a, 0, true); in onSave() 62 a.getSavedImages().writeImage(thumb, imageBytes); in onSave()
|
/packages/services/Telephony/src/com/android/phone/callcomposer/ |
D | ImageData.java | 25 public ImageData(byte[] imageBytes, String mimeType, String id) { in ImageData() argument 26 mImageBytes = imageBytes; in ImageData()
|
/packages/apps/Messaging/src/com/android/messaging/datamodel/media/ |
D | EncodedImageResource.java | 45 public EncodedImageResource(String key, byte[] imageBytes, int orientation) { in EncodedImageResource() argument 47 mImageBytes = imageBytes; in EncodedImageResource()
|
/packages/apps/Camera2/src/com/android/camera/one/v2/ |
D | OneCameraZslImpl.java | 1021 byte[] imageBytes = new byte[buffer.remaining()]; in acquireJpegBytes() 1022 buffer.get(imageBytes); in acquireJpegBytes() 1024 return imageBytes; in acquireJpegBytes() 1041 byte[] imageBytes = new byte[buffer.remaining()]; in acquireJpegBytes() 1042 buffer.get(imageBytes); in acquireJpegBytes() 1047 return imageBytes; in acquireJpegBytes()
|
D | OneCameraImpl.java | 781 byte[] imageBytes = acquireJpegBytesAndClose(capture.image); in onCaptureCompleted() 782 saveJpegPicture(imageBytes, capture.parameters, capture.session, in onCaptureCompleted() 844 byte[] imageBytes = new byte[buffer.remaining()]; in acquireJpegBytesAndClose() 845 buffer.get(imageBytes); in acquireJpegBytesAndClose() 848 return imageBytes; in acquireJpegBytesAndClose()
|
/packages/apps/WallpaperPicker/src/com/android/wallpaperpicker/ |
D | SavedWallpaperImages.java | 123 public void writeImage(Bitmap thumbnail, byte[] imageBytes) { in writeImage() argument 128 imageFileStream.write(imageBytes); in writeImage()
|
/packages/apps/Messaging/src/com/android/messaging/util/ |
D | ImageUtils.java | 97 byte[] imageBytes = null; in bitmapToBytes() 102 imageBytes = os.toByteArray(); in bitmapToBytes() 116 return imageBytes; in bitmapToBytes()
|
/packages/apps/Car/Settings/src/com/android/car/settings/storage/ |
D | StorageFileCategoryPreferenceController.java | 61 - data.getExternalStats().videoBytes - data.getExternalStats().imageBytes in calculateCategoryUsage()
|
/packages/apps/WallpaperPicker/src/com/android/wallpaperpicker/common/ |
D | CropAndSetWallpaperTask.java | 35 void onBitmapCropped(byte[] imageBytes); in onBitmapCropped() argument
|
/packages/apps/Gallery2/gallerycommon/src/com/android/gallery3d/exif/ |
D | ExifInterface.java | 1107 byte[] imageBytes = bytes.toByteArray(); in forceRewriteExif() 1108 readExif(imageBytes); in forceRewriteExif() 1110 writeExif(imageBytes, filename); in forceRewriteExif()
|
/packages/apps/Camera2/src/com/android/camera/exif/ |
D | ExifInterface.java | 1089 byte[] imageBytes = bytes.toByteArray(); in forceRewriteExif() 1090 readExif(imageBytes); in forceRewriteExif() 1092 writeExif(imageBytes, filename); in forceRewriteExif()
|
/packages/apps/Messaging/src/com/android/messaging/util/exif/ |
D | ExifInterface.java | 1107 byte[] imageBytes = bytes.toByteArray(); in forceRewriteExif() 1108 readExif(imageBytes); in forceRewriteExif() 1110 writeExif(imageBytes, filename); in forceRewriteExif()
|