/packages/apps/Camera2/src/com/android/camera/ |
D | Exif.java | 27 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()
|
D | PhotoModule.java | 811 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 …]
|
D | PhotoUI.java | 302 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()
|
D | CaptureModule.java | 1026 public void onThumbnailResult(byte[] jpegData) { 1027 getServices().getRemoteShutterListener().onPictureTaken(jpegData);
|
D | VideoModule.java | 1939 public void onPictureTaken(byte [] jpegData, CameraProxy camera) { in onPictureTaken() argument 1943 storeImage(jpegData, mLocation); in onPictureTaken()
|
/packages/apps/Gallery2/src/com/android/gallery3d/data/ |
D | Exif.java | 56 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/ |
D | CaptureSessionImpl.java | 368 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/ |
D | ImageCaptureIntentTest.java | 72 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/ |
D | ImageCaptureIntentTest.java | 77 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/ |
D | MediaSaver.java | 101 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()
|
D | DevCameraActivity.java | 412 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()
|
D | CameraInterface.java | 115 void jpegAvailable(byte[] jpegData, int x, int y); in jpegAvailable() argument
|
/packages/apps/Camera2/src/com/android/camera/processing/imagebackend/ |
D | TaskJpegEncode.java | 189 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/ |
D | Util.java | 218 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()
|
D | Camera.java | 752 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()
|
D | VideoCamera.java | 2400 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/ |
D | PictureCallbackAdapter.java | 59 public void update(@Nonnull final byte[] jpegData) { 62 mPictureCallback.onThumbnailResult(jpegData);
|
/packages/apps/Camera2/src/com/android/camera/util/ |
D | CameraUtil.java | 244 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/ |
D | OneCameraImpl.java | 468 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/Camera2/src/com/android/camera/tinyplanet/ |
D | TinyPlanetFragment.java | 129 public TinyPlanetImage(byte[] jpegData, int size) { in TinyPlanetImage() argument 130 mJpegData = jpegData; in TinyPlanetImage()
|
/packages/apps/Gallery/src/com/android/camera/ |
D | ImageManager.java | 202 Bitmap source, byte[] jpegData, int[] degree) { in addImage() argument 216 outputStream.write(jpegData); in addImage()
|
/packages/apps/LegacyCamera/src/com/android/camera/panorama/ |
D | PanoramaActivity.java | 947 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/ |
D | OneCamera.java | 142 public void onThumbnailResult(byte[] jpegData); in onThumbnailResult() argument
|
/packages/apps/Camera2/src/com/android/camera/captureintent/state/ |
D | StateReadyForCapture.java | 627 public void onThumbnailResult(byte[] jpegData) {
|