/packages/apps/Camera2/src/com/android/camera/ |
Exif.java | 27 public static ExifInterface getExif(byte[] jpegData) { 30 exif.readExif(jpegData); 47 public static int getOrientation(byte[] jpegData) { 48 if (jpegData == null) return 0; 50 ExifInterface exif = getExif(jpegData);
|
PhotoUI.java | 302 public void animateCapture(final byte[] jpegData, int orientation, boolean mirror) { 304 DecodeTask task = new DecodeTask(jpegData, orientation, mirror); 353 protected void showCapturedImageForReview(byte[] jpegData, int orientation, boolean mirror) { 354 mDecodeTaskForReview = new DecodeImageForReview(jpegData, orientation, mirror);
|
PhotoModule.java | 811 byte[] jpegData; 822 final byte[] jpegData = dataBundle.jpegData; 826 Bitmap original = BitmapFactory.decodeByteArray(jpegData, 0, jpegData.length); 853 dataBundle.jpegData = stream.toByteArray(); [all...] |
/packages/apps/Gallery2/src/com/android/gallery3d/data/ |
Exif.java | 54 * @param jpegData a valid JPEG image containing EXIF data 56 public static ExifInterface getExif(byte[] jpegData) { 59 exif.readExif(jpegData); 81 public static int getOrientation(byte[] jpegData) { 82 if (jpegData == null) 85 ExifInterface exif = getExif(jpegData);
|
/cts/tests/tests/permission/src/android/permission/cts/ |
CameraPermissionTest.java | 49 public void onPictureTaken(byte [] jpegData, Camera camera) { 50 if (jpegData == null) { 57 s.write(jpegData); 67 fail("Successfully captured an image of " + jpegData.length +
|
/packages/apps/Camera2/tests/src/com/android/camera/functional/ |
ImageCaptureIntentTest.java | 72 byte[] jpegData; 88 jpegData = new byte[fileLength]; 90 stream.read(jpegData); 96 Bitmap b = BitmapFactory.decodeByteArray(jpegData, 0, jpegData.length);
|
/packages/apps/Camera2/tests_camera/src/com/android/camera/functional/ |
ImageCaptureIntentTest.java | 72 byte[] jpegData; 88 jpegData = new byte[fileLength]; 90 stream.read(jpegData); 96 Bitmap b = BitmapFactory.decodeByteArray(jpegData, 0, jpegData.length);
|
/packages/apps/LegacyCamera/tests/src/com/android/camera/functional/ |
ImageCaptureIntentTest.java | 77 byte[] jpegData; 93 jpegData = new byte[fileLength]; 95 stream.read(jpegData); 101 Bitmap b = BitmapFactory.decodeByteArray(jpegData, 0, jpegData.length);
|
/packages/apps/DevCamera/src/com/android/devcamera/ |
MediaSaver.java | 56 * @param jpegData JPEG byte stream. 58 public static String saveJpeg(Context context, byte[] jpegData, ContentResolver resolver) { 73 os.write(jpegData); 86 jpegData.length, file, (t1 - t0) * 0.001, (t2 - t1) * 0.001) );
|
CameraInterface.java | 111 * @param jpegData 115 void jpegAvailable(byte[] jpegData, int x, int y);
|
DevCameraActivity.java | 412 public void jpegAvailable(final byte[] jpegData, final int x, final int y) { 413 Log.v(TAG, "JPEG returned, size = " + jpegData.length); 422 final String result = MediaSaver.saveJpeg(getApplicationContext(), jpegData, getContentResolver()); 426 fileNameToast(String.format("Saved %dx%d and %d bytes JPEG to %s in %d ms.", x, y, jpegData.length, result, dt)); 436 fileNameToast(String.format("Processing JPEG #%d %dx%d and %d bytes in %d ms.", ++mJpegCounter, x, y, jpegData.length, dt));
|
/external/opencv3/modules/videoio/src/ |
cap_ios_photo_camera.mm | 80 NSData *jpegData = [AVCaptureStillImageOutput jpegStillImageNSDataRepresentation:imageSampleBuffer]; 86 UIImage* newImage = [UIImage imageWithData:jpegData];
|
/packages/apps/Camera2/src/com/android/camera/one/v2/photo/ |
PictureCallbackAdapter.java | 59 public void update(@Nonnull final byte[] jpegData) { 62 mPictureCallback.onThumbnailResult(jpegData);
|
/packages/apps/Camera2/src/com/android/camera/session/ |
CaptureSessionImpl.java | 368 final byte[] jpegData = jpegDataTemp; 372 BitmapFactory.decodeByteArray(jpegData, 0, jpegData.length, options); 379 exif.readExif(jpegData); 384 CaptureSessionImpl.this.saveAndFinish(jpegData, width, height, rotation, exif); 418 final byte[] jpegData = jpegDataTemp; 421 Bitmap placeholder = BitmapFactory.decodeByteArray(jpegData, 0, jpegData.length,
|
/packages/apps/Camera2/src/com/android/camera/processing/imagebackend/ |
TaskJpegEncode.java | 184 * @param jpegData Compressed Image to be cropped 189 public byte[] decompressCropAndRecompressJpegData(final byte[] jpegData, Rect crop, 191 Bitmap original = BitmapFactory.decodeByteArray(jpegData, 0, jpegData.length);
|
/packages/apps/LegacyCamera/src/com/android/camera/ |
Util.java | 218 public static Bitmap makeBitmap(byte[] jpegData, int maxNumOfPixels) { 222 BitmapFactory.decodeByteArray(jpegData, 0, jpegData.length, 234 return BitmapFactory.decodeByteArray(jpegData, 0, jpegData.length,
|
/pdk/apps/TestingCamera2/src/com/android/testingcamera2/ |
ImageReaderSubPane.java | 326 byte[] jpegData = new byte[jpegBuffer.limit()]; 327 jpegBuffer.get(jpegData); 330 imgBitmap = BitmapFactory.decodeByteArray(jpegData, 0, jpegData.length, opts); 641 ByteBuffer jpegData = img.getPlanes()[0].getBuffer(); 642 jpegData.rewind(); 643 outChannel.write(jpegData);
|
/cts/tests/tests/graphics/src/android/graphics/cts/ |
YuvImageTest.java | 293 byte[] jpegData = stream.toByteArray(); 294 result = BitmapFactory.decodeByteArray(jpegData, 0, 295 jpegData.length);
|
/hardware/libhardware/tests/camera2/ |
CameraMultiStreamTests.cpp | 477 const int32_t* jpegData; 495 jpegData = availableJpegSizes.data.i32; 504 getResolutionList(HAL_PIXEL_FORMAT_BLOB, &jpegData, &jpegCount); 557 GetMaxSize(jpegData, jpegCount, &jpegMaxSize, &maxIdx);
|
/packages/apps/Camera2/src/com/android/camera/one/ |
OneCamera.java | 142 public void onThumbnailResult(byte[] jpegData);
|
/packages/apps/Camera2/src/com/android/camera/util/ |
CameraUtil.java | 244 public static Bitmap makeBitmap(byte[] jpegData, int maxNumOfPixels) { 248 BitmapFactory.decodeByteArray(jpegData, 0, jpegData.length, 260 return BitmapFactory.decodeByteArray(jpegData, 0, jpegData.length, [all...] |
/packages/apps/Camera2/src/com/android/camera/tinyplanet/ |
TinyPlanetFragment.java | 129 public TinyPlanetImage(byte[] jpegData, int size) { 130 mJpegData = jpegData;
|
/packages/apps/Gallery/src/com/android/camera/ |
ImageManager.java | 202 Bitmap source, byte[] jpegData, int[] degree) { 216 outputStream.write(jpegData);
|
/pdk/apps/TestingCamera2/src/com/android/testingcamera2/v1/ |
TestingCamera2.java | 417 byte[] jpegData = new byte[jpegBuffer.capacity()]; 418 jpegBuffer.get(jpegData); 420 Bitmap b = BitmapFactory.decodeByteArray(jpegData, 0, jpegData.length);
|
/cts/tests/camera/src/android/hardware/camera2/cts/ |
CameraTestUtils.java | [all...] |