Home
last modified time | relevance | path

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

/packages/apps/Camera2/src/com/android/camera/
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()
DPhotoModule.java811 byte[] jpegData; field in PhotoModule.ResizeBundle
822 final byte[] jpegData = dataBundle.jpegData; in cropJpegDataToAspectRatio()
826 Bitmap original = BitmapFactory.decodeByteArray(jpegData, 0, jpegData.length); in cropJpegDataToAspectRatio()
853 dataBundle.jpegData = stream.toByteArray(); in cropJpegDataToAspectRatio()
910 dataBundle.jpegData = originalJpegData; in onPictureTaken()
922 saveFinalPhoto(result.jpegData, name, result.exif, camera); in onPictureTaken()
931 void saveFinalPhoto(final byte[] jpegData, NamedEntity name, final ExifInterface exif, in saveFinalPhoto() argument
977 saveToDebugUri(jpegData); in saveFinalPhoto()
1004 jpegData, title, date, mLocation, width, height, in saveFinalPhoto()
1009 mUI.animateCapture(jpegData, orientation, mMirror); in saveFinalPhoto()
[all …]
DPhotoUI.java302 public void animateCapture(final byte[] jpegData, int orientation, boolean mirror) { in animateCapture() argument
304 DecodeTask task = new DecodeTask(jpegData, orientation, mirror); in animateCapture()
353 protected void showCapturedImageForReview(byte[] jpegData, int orientation, boolean mirror) { in showCapturedImageForReview() argument
354 mDecodeTaskForReview = new DecodeImageForReview(jpegData, orientation, mirror); in showCapturedImageForReview()
DCaptureModule.java1026 public void onThumbnailResult(byte[] jpegData) {
1027 getServices().getRemoteShutterListener().onPictureTaken(jpegData);
DVideoModule.java1927 public void onPictureTaken(byte [] jpegData, CameraProxy camera) { in onPictureTaken() argument
1931 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/Camera2/src/com/android/camera/session/
DCaptureSessionImpl.java368 final byte[] jpegData = jpegDataTemp; in finish()
372 BitmapFactory.decodeByteArray(jpegData, 0, jpegData.length, options); in finish()
379 exif.readExif(jpegData); in finish()
384 CaptureSessionImpl.this.saveAndFinish(jpegData, width, height, rotation, exif); in finish()
418 final byte[] jpegData = jpegDataTemp; in updatePreview()
421 Bitmap placeholder = BitmapFactory.decodeByteArray(jpegData, 0, jpegData.length, in updatePreview()
/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/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/DevCamera/src/com/android/devcamera/
DMediaSaver.java101 public static String saveJpeg(Context context, byte[] jpegData, ContentResolver resolver) { in saveJpeg() argument
116 os.write(jpegData); in saveJpeg()
129 jpegData.length, file, (t1 - t0) * 0.001, (t2 - t1) * 0.001) ); in saveJpeg()
DDevCameraActivity.java412 public void jpegAvailable(final byte[] jpegData, final int x, final int y) { in jpegAvailable() argument
413 Log.v(TAG, "JPEG returned, size = " + jpegData.length); in jpegAvailable()
422 …final String result = MediaSaver.saveJpeg(getApplicationContext(), jpegData, getContentResolver()); in jpegAvailable()
426 …st(String.format("Saved %dx%d and %d bytes JPEG to %s in %d ms.", x, y, jpegData.length, result, d… in jpegAvailable()
436 …at("Processing JPEG #%d %dx%d and %d bytes in %d ms.", ++mJpegCounter, x, y, jpegData.length, dt)); in jpegAvailable()
DCameraInterface.java115 void jpegAvailable(byte[] jpegData, int x, int y); in jpegAvailable() argument
/packages/apps/Camera2/src/com/android/camera/processing/imagebackend/
DTaskJpegEncode.java189 public byte[] decompressCropAndRecompressJpegData(final byte[] jpegData, Rect crop, in decompressCropAndRecompressJpegData() argument
191 Bitmap original = BitmapFactory.decodeByteArray(jpegData, 0, jpegData.length); in decompressCropAndRecompressJpegData()
/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/Camera2/src/com/android/camera/one/v2/photo/
DPictureCallbackAdapter.java59 public void update(@Nonnull final byte[] jpegData) {
62 mPictureCallback.onThumbnailResult(jpegData);
/packages/apps/Camera2/src/com/android/camera/util/
DCameraUtil.java244 public static Bitmap makeBitmap(byte[] jpegData, int maxNumOfPixels) { in makeBitmap() argument
248 BitmapFactory.decodeByteArray(jpegData, 0, jpegData.length, in makeBitmap()
260 return BitmapFactory.decodeByteArray(jpegData, 0, jpegData.length, in makeBitmap()
/packages/apps/Camera2/src/com/android/camera/one/v2/
DOneCameraImpl.java468 private void saveJpegPicture(byte[] jpegData, final PhotoCaptureParameters captureParams, in saveJpegPicture() argument
477 exif.readExif(jpegData); in saveJpegPicture()
505 ListenableFuture<Optional<Uri>> futureUri = session.saveAndFinish(jpegData, width, height, in saveJpegPicture()
/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/tinyplanet/
DTinyPlanetFragment.java129 public TinyPlanetImage(byte[] jpegData, int size) { in TinyPlanetImage() argument
130 mJpegData = jpegData; in TinyPlanetImage()
/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/one/
DOneCamera.java142 public void onThumbnailResult(byte[] jpegData); in onThumbnailResult() argument
/packages/apps/Camera2/src/com/android/camera/captureintent/state/
DStateReadyForCapture.java627 public void onThumbnailResult(byte[] jpegData) {