/packages/apps/LegacyCamera/src/com/android/camera/ |
D | Exif.java | 24 public static int getOrientation(byte[] jpeg) { in getOrientation() argument 25 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 …]
|
D | Storage.java | 53 Location location, int orientation, byte[] jpeg, int width, int height) { in addImage() argument 59 out.write(jpeg); in addImage() 78 values.put(ImageColumns.SIZE, jpeg.length); in addImage()
|
D | Thumbnail.java | 247 public static Thumbnail createThumbnail(byte[] jpeg, int orientation, int inSampleSize, in createThumbnail() argument 252 Bitmap bitmap = BitmapFactory.decodeByteArray(jpeg, 0, jpeg.length, options); in createThumbnail()
|
/packages/apps/Camera2/src/com/android/camera/ |
D | Storage.java | 66 public static void writeFile(String path, byte[] jpeg, ExifInterface exif) { in writeFile() argument 69 exif.writeExif(jpeg, path); in writeFile() 74 writeFile(path, jpeg); in writeFile() 96 Location location, int orientation, ExifInterface exif, byte[] jpeg, int width, in addImage() argument 99 return addImage(resolver, title, date, location, orientation, exif, jpeg, width, height, in addImage() 105 Location location, int orientation, ExifInterface exif, byte[] jpeg, int width, in addImage() argument 109 writeFile(path, jpeg, exif); in addImage() 111 jpeg.length, path, width, height, mimeType); in addImage() 153 Location location, int orientation, ExifInterface exif, byte[] jpeg, int width, in updateImage() argument 156 writeFile(path, jpeg, exif); in updateImage() [all …]
|
D | WideAnglePanoramaModule.java | 558 MosaicJpeg jpeg = generateFinalMosaic(false); in stopCapture() 560 if (jpeg != null && jpeg.isValid) { in stopCapture() 562 bitmap = BitmapFactory.decodeByteArray(jpeg.data, 0, jpeg.data.length); in stopCapture() 663 MosaicJpeg jpeg; in saveHighResMosaic() 665 jpeg = generateFinalMosaic(true); in saveHighResMosaic() 670 if (jpeg == null) { // Cancelled by user. in saveHighResMosaic() 672 } else if (!jpeg.isValid) { // Error when generating mosaic. in saveHighResMosaic() 676 final Uri uri = savePanorama(jpeg.data, jpeg.width, jpeg.height, orientation); in saveHighResMosaic()
|
D | AndroidCameraManagerImpl.java | 139 final PictureCallback jpeg) { in requestTakePicture() argument 144 mCamera.takePicture(shutter, raw, postView, jpeg); in requestTakePicture() 481 CameraPictureCallback jpeg) { in takePicture() argument 486 PictureCallbackForward.getNewInstance(handler, this, jpeg)); in takePicture()
|
D | CameraManager.java | 282 CameraPictureCallback jpeg); in takePicture() argument
|
/packages/apps/LegacyCamera/src/com/android/camera/panorama/ |
D | PanoramaActivity.java | 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 …]
|
/packages/apps/Camera/src/com/android/camera/ |
D | PanoramaModule.java | 599 MosaicJpeg jpeg = generateFinalMosaic(false); in stopCapture() 601 if (jpeg != null && jpeg.isValid) { in stopCapture() 603 bitmap = BitmapFactory.decodeByteArray(jpeg.data, 0, jpeg.data.length); in stopCapture() 803 MosaicJpeg jpeg; in saveHighResMosaic() 805 jpeg = generateFinalMosaic(true); in saveHighResMosaic() 810 if (jpeg == null) { // Cancelled by user. in saveHighResMosaic() 812 } else if (!jpeg.isValid) { // Error when generating mosaic. in saveHighResMosaic() 816 Uri uri = savePanorama(jpeg.data, jpeg.width, jpeg.height, orientation); in saveHighResMosaic()
|
D | Exif.java | 33 public static int getOrientation(byte[] jpeg) { in getOrientation() argument 34 if (jpeg == null) return 0; in getOrientation() 36 InputStream is = new ByteArrayInputStream(jpeg); in getOrientation()
|
D | CameraManager.java | 385 final PictureCallback postview, final PictureCallback jpeg) { in takePicture() argument 391 mCamera.takePicture(shutter, raw, postview, jpeg); in takePicture() 399 final PictureCallback postview, final PictureCallback jpeg, in takePicture2() argument 407 mCamera.takePicture(shutter, raw, postview, jpeg); in takePicture2()
|
D | Storage.java | 80 long date, Location location, int orientation, byte[] jpeg, in addImage() argument 84 writeFile(path, jpeg); in addImage() 86 jpeg.length, path, width, height); in addImage()
|
/packages/apps/Camera2/src/com/android/camera/tinyplanet/ |
D | TinyPlanetFragment.java | 363 ByteArrayOutputStream jpeg = new ByteArrayOutputStream(); in createTinyPlanet() local 364 resultBitmap.compress(CompressFormat.JPEG, 100, jpeg); in createTinyPlanet() 365 return new TinyPlanetImage(addExif(jpeg.toByteArray()), outputSize); in createTinyPlanet() 375 private byte[] addExif(byte[] jpeg) { in addExif() argument 381 exif.writeExif(jpeg, jpegOut); in addExif()
|
/packages/apps/Gallery2/gallerycommon/src/com/android/gallery3d/exif/ |
D | ExifInterface.java | 724 public void readExif(byte[] jpeg) throws IOException { in readExif() argument 725 readExif(new ByteArrayInputStream(jpeg)); in readExif() 798 public void writeExif(byte[] jpeg, OutputStream exifOutStream) throws IOException { in writeExif() argument 799 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() argument 855 if (jpeg == null || exifOutFileName == null) { in writeExif() 861 s.write(jpeg, 0, jpeg.length); in writeExif()
|
/packages/apps/Mms/src/com/android/mms/exif/ |
D | ExifInterface.java | 724 public void readExif(byte[] jpeg) throws IOException { in readExif() argument 725 readExif(new ByteArrayInputStream(jpeg)); in readExif() 798 public void writeExif(byte[] jpeg, OutputStream exifOutStream) throws IOException { in writeExif() argument 799 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() argument 855 if (jpeg == null || exifOutFileName == null) { in writeExif() 861 s.write(jpeg, 0, jpeg.length); in writeExif()
|
/packages/apps/Camera2/src/com/android/camera/exif/ |
D | ExifInterface.java | 724 public void readExif(byte[] jpeg) throws IOException { in readExif() argument 725 readExif(new ByteArrayInputStream(jpeg)); in readExif() 798 public void writeExif(byte[] jpeg, OutputStream exifOutStream) throws IOException { in writeExif() argument 799 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() argument 855 if (jpeg == null || exifOutFileName == null) { in writeExif() 861 s.write(jpeg, 0, jpeg.length); in writeExif()
|
/packages/apps/Launcher3/WallpaperPicker/src/com/android/gallery3d/exif/ |
D | ExifInterface.java | 724 public void readExif(byte[] jpeg) throws IOException { in readExif() argument 725 readExif(new ByteArrayInputStream(jpeg)); in readExif() 798 public void writeExif(byte[] jpeg, OutputStream exifOutStream) throws IOException { in writeExif() argument 799 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() argument 855 if (jpeg == null || exifOutFileName == null) { in writeExif() 861 s.write(jpeg, 0, jpeg.length); in writeExif()
|
/packages/apps/Camera2/src/com/android/camera/app/ |
D | PlaceholderManager.java | 168 ExifInterface exif, byte[] jpeg, int width, int height, String mimeType) { 171 session.time, location, orientation, exif, jpeg, width, height, mimeType);
|
/packages/apps/Gallery2/jni_jpegstream/ |
D | Android.mk | 13 external/jpeg
|
/packages/apps/Gallery2/ |
D | proguard.flags | 83 # - Required for running jpeg stream tests on userdebug
|
/packages/inputmethods/LatinIME/dictionaries/ |
D | en_US_wordlist.combined.gz | 1dictionary=main:en_us,locale=en_US,description=English (US),date ... |
D | en_GB_wordlist.combined.gz | 1dictionary=main:en_gb,locale=en_GB,description=English (UK),date ... |
D | en_wordlist.combined.gz |
|