/packages/apps/Camera2/src/com/android/camera/session/ |
D | CaptureSessionManagerImpl.java | 200 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/ |
D | PhotoModule.java | 970 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 …]
|
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 | PhotoUI.java | 341 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()
|
D | CameraActivity.java | 2765 byte[] jpegData = Storage.getJpegForSession(data.getUri()); in handleMessage() 2766 if (jpegData != null) { in handleMessage() 2767 bitmap = BitmapFactory.decodeByteArray(jpegData, 0, jpegData.length); in handleMessage()
|
D | CaptureModule.java | 852 public void onThumbnailResult(byte[] jpegData) { 853 getServices().getRemoteShutterListener().onPictureTaken(jpegData);
|
D | VideoModule.java | 1904 public void onPictureTaken(byte [] jpegData, CameraProxy camera) { in onPictureTaken() argument 1908 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/Camera/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/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/Camera2/tests_camera/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/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/Camera/src/com/android/camera/ |
D | Util.java | 259 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()
|
D | PanoramaModule.java | 908 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()
|
D | PhotoModule.java | 932 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/ |
D | CameraUtil.java | 248 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/ |
D | OneCameraImpl.java | 402 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/ |
D | LocalSessionData.java | 71 byte[] jpegData = Storage.getJpegForSession(mUri); in getView() 74 .loadFromImage(jpegData, mUri.toString() + currentVersion) in getView()
|
/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/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/Camera2/src/com/android/camera/one/ |
D | OneCamera.java | 161 public void onThumbnailResult(byte[] jpegData); in onThumbnailResult() argument
|