/packages/apps/Camera/src/com/android/camera/ |
H A D | Exif.java | 33 public static int getOrientation(byte[] jpeg) { argument 34 if (jpeg == null) return 0; 36 InputStream is = new ByteArrayInputStream(jpeg);
|
H A D | Storage.java | 80 long date, Location location, int orientation, byte[] jpeg, 84 writeFile(path, jpeg); 86 jpeg.length, path, width, height); 98 values.put(ImageColumns.MIME_TYPE, "image/jpeg"); 79 addImage(ContentResolver resolver, String title, long date, Location location, int orientation, byte[] jpeg, int width, int height) argument
|
H A D | CameraManager.java | 385 final PictureCallback postview, final PictureCallback jpeg) { 391 mCamera.takePicture(shutter, raw, postview, jpeg); 399 final PictureCallback postview, final PictureCallback jpeg, 407 mCamera.takePicture(shutter, raw, postview, jpeg); 384 takePicture(final ShutterCallback shutter, final PictureCallback raw, final PictureCallback postview, final PictureCallback jpeg) argument 398 takePicture2(final ShutterCallback shutter, final PictureCallback raw, final PictureCallback postview, final PictureCallback jpeg, final int cameraState, final int focusState) argument
|
/packages/apps/LegacyCamera/src/com/android/camera/ |
H A D | Exif.java | 24 public static int getOrientation(byte[] jpeg) { argument 25 if (jpeg == null) { 33 while (offset + 3 < jpeg.length && (jpeg[offset++] & 0xFF) == 0xFF) { 34 int marker = jpeg[offset] & 0xFF; 52 length = pack(jpeg, offset, 2, false); 53 if (length < 2 || offset + length > jpeg.length) { 60 pack(jpeg, offset + 2, 4, false) == 0x45786966 && 61 pack(jpeg, offset + 6, 2, false) == 0) { 75 int tag = pack(jpeg, offse [all...] |
H A D | Storage.java | 53 Location location, int orientation, byte[] jpeg, int width, int height) { 59 out.write(jpeg); 75 values.put(ImageColumns.MIME_TYPE, "image/jpeg"); 78 values.put(ImageColumns.SIZE, jpeg.length); 52 addImage(ContentResolver resolver, String title, long date, Location location, int orientation, byte[] jpeg, int width, int height) argument
|
H A D | Thumbnail.java | 201 String selection = ImageColumns.MIME_TYPE + "='image/jpeg' AND " + 247 public static Thumbnail createThumbnail(byte[] jpeg, int orientation, int inSampleSize, argument 252 Bitmap bitmap = BitmapFactory.decodeByteArray(jpeg, 0, jpeg.length, options);
|
/packages/apps/Camera2/src/com/android/camera/ |
H A D | Storage.java | 83 byte[] jpeg, int width, int height) { 88 exif.writeExif(jpeg, path); 93 writeFile(path, jpeg); 96 jpeg.length, path, width, height); 81 addImage(ContentResolver resolver, String title, long date, Location location, int orientation, ExifInterface exif, byte[] jpeg, int width, int height) argument
|
H A D | CameraManager.java | 271 * @param jpeg The callback for jpeg image data, may be null. 282 CameraPictureCallback jpeg); 277 takePicture( Handler handler, CameraShutterCallback shutter, CameraPictureCallback raw, CameraPictureCallback postview, CameraPictureCallback jpeg) argument
|
H A D | AndroidCameraManagerImpl.java | 139 final PictureCallback jpeg) { 144 mCamera.takePicture(shutter, raw, postView, jpeg); 475 CameraPictureCallback jpeg) { 480 PictureCallbackForward.getNewInstance(handler, this, jpeg)); 135 requestTakePicture( final ShutterCallback shutter, final PictureCallback raw, final PictureCallback postView, final PictureCallback jpeg) argument 470 takePicture( Handler handler, CameraShutterCallback shutter, CameraPictureCallback raw, CameraPictureCallback post, CameraPictureCallback jpeg) argument
|
/packages/apps/Camera2/src/com/android/camera/tinyplanet/ |
H A D | TinyPlanetFragment.java | 363 ByteArrayOutputStream jpeg = new ByteArrayOutputStream(); 364 resultBitmap.compress(CompressFormat.JPEG, 100, jpeg); 365 return new TinyPlanetImage(addExif(jpeg.toByteArray()), outputSize); 372 * @param jpeg the JPEG data of the tiny planet. 375 private byte[] addExif(byte[] jpeg) { argument 381 exif.writeExif(jpeg, jpegOut);
|
/packages/apps/Camera2/src/com/android/camera/exif/ |
H A D | ExifInterface.java | 49 * This class provides methods and constants for reading and writing jpeg file 54 * to a valid jpeg image as exif metadata. 721 * @param jpeg a byte array containing a jpeg compressed image. 724 public void readExif(byte[] jpeg) throws IOException { argument 725 readExif(new ByteArrayInputStream(jpeg)); 732 * @param inStream an InputStream containing a jpeg compressed image. 752 * @param inFileName a string representing the filepath to jpeg file. 790 * Writes the tags from this ExifInterface object into a jpeg image, 793 * @param jpeg 798 writeExif(byte[] jpeg, OutputStream exifOutStream) argument 853 writeExif(byte[] jpeg, String exifOutFileName) argument [all...] |
/packages/apps/Gallery2/gallerycommon/src/com/android/gallery3d/exif/ |
H A D | ExifInterface.java | 49 * This class provides methods and constants for reading and writing jpeg file 54 * to a valid jpeg image as exif metadata. 721 * @param jpeg a byte array containing a jpeg compressed image. 724 public void readExif(byte[] jpeg) throws IOException { argument 725 readExif(new ByteArrayInputStream(jpeg)); 732 * @param inStream an InputStream containing a jpeg compressed image. 752 * @param inFileName a string representing the filepath to jpeg file. 790 * Writes the tags from this ExifInterface object into a jpeg image, 793 * @param jpeg 798 writeExif(byte[] jpeg, OutputStream exifOutStream) argument 853 writeExif(byte[] jpeg, String exifOutFileName) argument [all...] |
/packages/apps/Launcher3/src/com/android/gallery3d/exif/ |
H A D | ExifInterface.java | 49 * This class provides methods and constants for reading and writing jpeg file 54 * to a valid jpeg image as exif metadata. 721 * @param jpeg a byte array containing a jpeg compressed image. 724 public void readExif(byte[] jpeg) throws IOException { argument 725 readExif(new ByteArrayInputStream(jpeg)); 732 * @param inStream an InputStream containing a jpeg compressed image. 752 * @param inFileName a string representing the filepath to jpeg file. 790 * Writes the tags from this ExifInterface object into a jpeg image, 793 * @param jpeg 798 writeExif(byte[] jpeg, OutputStream exifOutStream) argument 853 writeExif(byte[] jpeg, String exifOutFileName) argument [all...] |
/packages/apps/Mms/src/com/android/mms/exif/ |
H A D | ExifInterface.java | 49 * This class provides methods and constants for reading and writing jpeg file 54 * to a valid jpeg image as exif metadata. 721 * @param jpeg a byte array containing a jpeg compressed image. 724 public void readExif(byte[] jpeg) throws IOException { argument 725 readExif(new ByteArrayInputStream(jpeg)); 732 * @param inStream an InputStream containing a jpeg compressed image. 752 * @param inFileName a string representing the filepath to jpeg file. 790 * Writes the tags from this ExifInterface object into a jpeg image, 793 * @param jpeg 798 writeExif(byte[] jpeg, OutputStream exifOutStream) argument 853 writeExif(byte[] jpeg, String exifOutFileName) argument [all...] |