Home
last modified time | relevance | path

Searched refs:jpegData (Results 1 – 25 of 26) sorted by relevance

12

/packages/apps/Camera2/src/com/android/camera/session/
DCaptureSessionManagerImpl.java200 final byte[] jpegData = jpegDataTemp; in finish()
204 BitmapFactory.decodeByteArray(jpegData, 0, jpegData.length, options); in finish()
211 exif.readExif(jpegData); in finish()
216 CaptureSessionImpl.this.saveAndFinish(jpegData, width, height, rotation, exif, in finish()
284 final byte[] jpegData = jpegDataTemp; in updatePreview()
288 BitmapFactory.decodeByteArray(jpegData, 0, jpegData.length, options); in updatePreview()
292 … mPlaceholderManager.replacePlaceholder(mPlaceHolderSession, jpegData, width, height); in updatePreview()
/packages/apps/Camera2/src/com/android/camera/
DPhotoModule.java970 byte[] jpegData;
981 final byte[] jpegData = dataBundle.jpegData;
985 Bitmap original = BitmapFactory.decodeByteArray(jpegData, 0, jpegData.length);
1012 dataBundle.jpegData = stream.toByteArray();
1070 dataBundle.jpegData = originalJpegData;
1082 saveFinalPhoto(result.jpegData, name, result.exif, camera);
1091 void saveFinalPhoto(final byte[] jpegData, NamedEntity name, final ExifInterface exif,
1137 saveToDebugUri(jpegData);
1163 jpegData, title, date, mLocation, width, height,
1168 mUI.animateCapture(jpegData, orientation, mMirror);
[all …]
DExif.java27 public static ExifInterface getExif(byte[] jpegData) { in getExif() argument
30 exif.readExif(jpegData); in getExif()
47 public static int getOrientation(byte[] jpegData) { in getOrientation() argument
48 if (jpegData == null) return 0; in getOrientation()
50 ExifInterface exif = getExif(jpegData); in getOrientation()
DPhotoUI.java341 public void animateCapture(final byte[] jpegData, int orientation, boolean mirror) { in animateCapture() argument
343 DecodeTask task = new DecodeTask(jpegData, orientation, mirror); in animateCapture()
494 protected void showCapturedImageForReview(byte[] jpegData, int orientation, boolean mirror) { in showCapturedImageForReview() argument
495 mDecodeTaskForReview = new DecodeImageForReview(jpegData, orientation, mirror); in showCapturedImageForReview()
DCameraActivity.java2765 byte[] jpegData = Storage.getJpegForSession(data.getUri()); in handleMessage()
2766 if (jpegData != null) { in handleMessage()
2767 bitmap = BitmapFactory.decodeByteArray(jpegData, 0, jpegData.length); in handleMessage()
DCaptureModule.java852 public void onThumbnailResult(byte[] jpegData) {
853 getServices().getRemoteShutterListener().onPictureTaken(jpegData);
DVideoModule.java1904 public void onPictureTaken(byte [] jpegData, CameraProxy camera) { in onPictureTaken() argument
1908 storeImage(jpegData, mLocation); in onPictureTaken()
/packages/apps/Gallery2/src/com/android/gallery3d/data/
DExif.java56 public static ExifInterface getExif(byte[] jpegData) { in getExif() argument
59 exif.readExif(jpegData); in getExif()
81 public static int getOrientation(byte[] jpegData) { in getOrientation() argument
82 if (jpegData == null) in getOrientation()
85 ExifInterface exif = getExif(jpegData); in getOrientation()
/packages/apps/Camera/tests/src/com/android/camera/functional/
DImageCaptureIntentTest.java72 byte[] jpegData; in testExtraOutput()
88 jpegData = new byte[fileLength]; in testExtraOutput()
90 stream.read(jpegData); in testExtraOutput()
96 Bitmap b = BitmapFactory.decodeByteArray(jpegData, 0, jpegData.length); in testExtraOutput()
/packages/apps/Camera2/tests/src/com/android/camera/functional/
DImageCaptureIntentTest.java72 byte[] jpegData; in testExtraOutput()
88 jpegData = new byte[fileLength]; in testExtraOutput()
90 stream.read(jpegData); in testExtraOutput()
96 Bitmap b = BitmapFactory.decodeByteArray(jpegData, 0, jpegData.length); in testExtraOutput()
/packages/apps/Camera2/tests_camera/src/com/android/camera/functional/
DImageCaptureIntentTest.java72 byte[] jpegData; in testExtraOutput()
88 jpegData = new byte[fileLength]; in testExtraOutput()
90 stream.read(jpegData); in testExtraOutput()
96 Bitmap b = BitmapFactory.decodeByteArray(jpegData, 0, jpegData.length); in testExtraOutput()
/packages/apps/LegacyCamera/tests/src/com/android/camera/functional/
DImageCaptureIntentTest.java77 byte[] jpegData; in testExtraOutput()
93 jpegData = new byte[fileLength]; in testExtraOutput()
95 stream.read(jpegData); in testExtraOutput()
101 Bitmap b = BitmapFactory.decodeByteArray(jpegData, 0, jpegData.length); in testExtraOutput()
/packages/apps/LegacyCamera/src/com/android/camera/
DUtil.java218 public static Bitmap makeBitmap(byte[] jpegData, int maxNumOfPixels) { in makeBitmap() argument
222 BitmapFactory.decodeByteArray(jpegData, 0, jpegData.length, in makeBitmap()
234 return BitmapFactory.decodeByteArray(jpegData, 0, jpegData.length, in makeBitmap()
DCamera.java752 final byte [] jpegData, final android.hardware.Camera camera) { in onPictureTaken() argument
782 mImageSaver.addImage(jpegData, mLocation, s.width, s.height); in onPictureTaken()
784 mJpegImageData = jpegData; in onPictureTaken()
DVideoCamera.java2400 public void onPictureTaken(byte [] jpegData, android.hardware.Camera camera) { in onPictureTaken() argument
2404 storeImage(jpegData, mLocation); in onPictureTaken()
/packages/apps/Camera/src/com/android/camera/
DUtil.java259 public static Bitmap makeBitmap(byte[] jpegData, int maxNumOfPixels) { in makeBitmap() argument
263 BitmapFactory.decodeByteArray(jpegData, 0, jpegData.length, in makeBitmap()
275 return BitmapFactory.decodeByteArray(jpegData, 0, jpegData.length, in makeBitmap()
DPanoramaModule.java908 private Uri savePanorama(byte[] jpegData, int width, int height, int orientation) { in savePanorama() argument
909 if (jpegData != null) { in savePanorama()
917 is = new ByteArrayInputStream(jpegData); in savePanorama()
929 out.write(jpegData); in savePanorama()
932 Storage.writeFile(filepath, jpegData); in savePanorama()
935 Storage.writeFile(filepath, jpegData); in savePanorama()
DPhotoModule.java932 final byte [] jpegData, final android.hardware.Camera camera) { in onPictureTaken() argument
982 int orientation = Exif.getOrientation(jpegData); in onPictureTaken()
997 mMediaSaver.addImage(jpegData, title, date, mLocation, width, height, in onPictureTaken()
1001 mJpegImageData = jpegData; in onPictureTaken()
/packages/apps/Camera2/src/com/android/camera/util/
DCameraUtil.java248 public static Bitmap makeBitmap(byte[] jpegData, int maxNumOfPixels) { in makeBitmap() argument
252 BitmapFactory.decodeByteArray(jpegData, 0, jpegData.length, in makeBitmap()
264 return BitmapFactory.decodeByteArray(jpegData, 0, jpegData.length, in makeBitmap()
/packages/apps/Camera2/src/com/android/camera/one/v2/
DOneCameraImpl.java402 private void savePicture(byte[] jpegData, final PhotoCaptureParameters captureParams, in savePicture() argument
411 exif.readExif(jpegData); in savePicture()
436 session.saveAndFinish(jpegData, width, height, rotation, exif, new OnMediaSavedListener() { in savePicture()
/packages/apps/Camera2/src/com/android/camera/data/
DLocalSessionData.java71 byte[] jpegData = Storage.getJpegForSession(mUri); in getView()
74 .loadFromImage(jpegData, mUri.toString() + currentVersion) in getView()
/packages/apps/LegacyCamera/src/com/android/camera/panorama/
DPanoramaActivity.java947 private Uri savePanorama(byte[] jpegData, int width, int height, int orientation) { in savePanorama() argument
948 if (jpegData != null) { in savePanorama()
952 orientation, jpegData, width, height); in savePanorama()
/packages/apps/Camera2/src/com/android/camera/tinyplanet/
DTinyPlanetFragment.java129 public TinyPlanetImage(byte[] jpegData, int size) { in TinyPlanetImage() argument
130 mJpegData = jpegData; in TinyPlanetImage()
/packages/apps/Gallery/src/com/android/camera/
DImageManager.java202 Bitmap source, byte[] jpegData, int[] degree) { in addImage() argument
216 outputStream.write(jpegData); in addImage()
/packages/apps/Camera2/src/com/android/camera/one/
DOneCamera.java161 public void onThumbnailResult(byte[] jpegData); in onThumbnailResult() argument

12