Searched refs:jpeg (Results 1 – 18 of 18) sorted by relevance
24 public static int getOrientation(byte[] jpeg) { in getOrientation() argument25 if (jpeg == null) { in getOrientation()33 while (offset + 3 < jpeg.length && (jpeg[offset++] & 0xFF) == 0xFF) { in getOrientation()34 int marker = jpeg[offset] & 0xFF; in getOrientation()52 length = pack(jpeg, offset, 2, false); in getOrientation()53 if (length < 2 || offset + length > jpeg.length) { in getOrientation()60 pack(jpeg, offset + 2, 4, false) == 0x45786966 && in getOrientation()61 pack(jpeg, offset + 6, 2, false) == 0) { in getOrientation()75 int tag = pack(jpeg, offset, 4, false); in getOrientation()83 int count = pack(jpeg, offset + 4, 4, littleEndian) + 2; in getOrientation()[all …]
53 Location location, int orientation, byte[] jpeg, int width, int height) { in addImage() argument59 out.write(jpeg); in addImage()78 values.put(ImageColumns.SIZE, jpeg.length); in addImage()
247 public static Thumbnail createThumbnail(byte[] jpeg, int orientation, int inSampleSize, in createThumbnail() argument252 Bitmap bitmap = BitmapFactory.decodeByteArray(jpeg, 0, jpeg.length, options); in createThumbnail()
623 MosaicJpeg jpeg = generateFinalMosaic(false); in stopCapture()625 if (jpeg != null && jpeg.isValid) { in stopCapture()627 bitmap = BitmapFactory.decodeByteArray(jpeg.data, 0, jpeg.data.length); in stopCapture()840 MosaicJpeg jpeg; in saveHighResMosaic()842 jpeg = generateFinalMosaic(true); in saveHighResMosaic()847 if (jpeg == null) { // Cancelled by user. in saveHighResMosaic()849 } else if (!jpeg.isValid) { // Error when generating mosaic. in saveHighResMosaic()859 Uri uri = savePanorama(jpeg.data, jpeg.width, jpeg.height, orientation); in saveHighResMosaic()863 int widthRatio = (int) Math.ceil((double) jpeg.width in saveHighResMosaic()865 int heightRatio = (int) Math.ceil((double) jpeg.height in saveHighResMosaic()[all …]
92 Location location, int orientation, ExifInterface exif, byte[] jpeg, int width, in addImage() argument95 return addImage(resolver, title, date, location, orientation, exif, jpeg, width, height, in addImage()271 byte[] jpeg, int width, int height, String mimeType) throws IOException { in updateImage() argument273 writeFile(path, jpeg, exif); in updateImage()274 … return updateImage(imageUri, resolver, title, date, location, orientation, jpeg.length, path, in updateImage()303 public static long writeFile(String path, byte[] jpeg, ExifInterface exif) throws IOException { in writeFile() argument309 exif.writeExif(jpeg, path); in writeFile()313 return writeFile(path, jpeg); in writeFile()
361 ByteArrayOutputStream jpeg = new ByteArrayOutputStream(); in createFinalTinyPlanet() local362 resultBitmap.compress(CompressFormat.JPEG, 100, jpeg); in createFinalTinyPlanet()363 return new TinyPlanetImage(addExif(jpeg.toByteArray()), outputSize); in createFinalTinyPlanet()373 private byte[] addExif(byte[] jpeg) { in addExif() argument379 exif.writeExif(jpeg, jpegOut); in addExif()
724 public void readExif(byte[] jpeg) throws IOException { in readExif() argument725 readExif(new ByteArrayInputStream(jpeg)); in readExif()798 public void writeExif(byte[] jpeg, OutputStream exifOutStream) throws IOException { in writeExif() argument799 if (jpeg == null || exifOutStream == null) { in writeExif()803 s.write(jpeg, 0, jpeg.length); in writeExif()853 public void writeExif(byte[] jpeg, String exifOutFileName) throws FileNotFoundException, in writeExif() argument855 if (jpeg == null || exifOutFileName == null) { in writeExif()861 s.write(jpeg, 0, jpeg.length); in writeExif()
727 public void readExif(byte[] jpeg) throws IOException { in readExif() argument728 readExif(new ByteArrayInputStream(jpeg)); in readExif()798 public void writeExif(byte[] jpeg, OutputStream exifOutStream) throws IOException { in writeExif() argument799 if (jpeg == null || exifOutStream == null) { in writeExif()803 s.write(jpeg, 0, jpeg.length); in writeExif()853 public void writeExif(byte[] jpeg, String exifOutFileName) throws FileNotFoundException, in writeExif() argument855 if (jpeg == null || exifOutFileName == null) { in writeExif()860 s.write(jpeg, 0, jpeg.length); in writeExif()
136 … ExifInterface exif, byte[] jpeg, int width, int height, String mimeType) throws IOException { in finishPlaceholder() argument138 placeholder.outputTitle, placeholder.time, location, orientation, exif, jpeg, width, in finishPlaceholder()
13 external/jpeg
27 LOCAL_C_INCLUDES += external/jpeg
81 # - Required for running jpeg stream tests on userdebug
95232 image/jpeg:
1dictionary=main:en_gb,locale=en_GB,description=English (UK),date ...