/external/robolectric/src/test/java/com/xtremelabs/robolectric/shadows/ |
CameraTest.java | 74 parameters.setPreviewFormat(ImageFormat.JPEG); 76 assertThat(camera.getParameters().getPreviewFormat(), equalTo(ImageFormat.JPEG));
|
/frameworks/base/media/tests/MediaFrameworkTest/src/com/android/mediaframeworktest/unit/ |
MediaMetadataRetrieverTest.java | 93 bitmap.compress(Bitmap.CompressFormat.JPEG, 75, stream); 96 Log.e(TAG, "Fails to convert the bitmap to a JPEG file for " + MediaNames.THUMBNAIL_METADATA_TEST_FILES[i]); 151 bitmap.compress(Bitmap.CompressFormat.JPEG, 75, stream); 154 throw new Exception("Fails to convert the bitmap to a JPEG file for " + MediaNames.TEST_PATH_1, e);
|
/cts/tests/tests/graphics/src/android/graphics/cts/ |
BitmapTest.java | 66 mBitmap.compress(CompressFormat.JPEG, 0, null); 75 mBitmap.compress(CompressFormat.JPEG, 0, null); 82 mBitmap.compress(CompressFormat.JPEG, -1, new ByteArrayOutputStream()); 89 mBitmap.compress(CompressFormat.JPEG, 101, new ByteArrayOutputStream()); 95 assertTrue(mBitmap.compress(CompressFormat.JPEG, 50, new ByteArrayOutputStream()));
|
/cts/apps/CtsVerifier/src/com/android/cts/verifier/camera/formats/ |
CameraFormatsActivity.java | 136 mPreviewFormatNames.append(ImageFormat.JPEG, "JPEG"); 437 case ImageFormat.JPEG: 489 case ImageFormat.JPEG:
|
/packages/apps/Mms/src/com/android/mms/ui/ |
UriImage.java | 256 // getResizedImageData ALWAYS compresses to JPEG, regardless of the original content type 266 * array contains an image in JPEG format, regardless of the original image's content type. 270 * @return A resized/recompressed version of this image, in JPEG format 378 b.compress(CompressFormat.JPEG, quality, os); 398 b.compress(CompressFormat.JPEG, quality, os); 422 b.compress(CompressFormat.JPEG, quality, os);
|
/external/chromium_org/third_party/WebKit/Source/platform/image-decoders/bmp/ |
BMPImageReader.cpp | 288 // JPEG/PNG images), 16, and 32. 323 case JPEG: 362 // * Windows V3+ JPEG-in-BMP and PNG-in-BMP bitmaps (supposedly not found 364 if ((m_infoHeader.biCompression == JPEG) || (m_infoHeader.biCompression == PNG))
|
/development/samples/SampleSyncAdapter/src/com/example/android/samplesync/client/ |
NetworkUtilities.java | 224 * @return a byte array with the raw JPEG avatar image 245 // happens to be in, and convert it to a JPEG image. Note: we're 248 Log.i(TAG, "Converting avatar to JPEG"); 251 avatar.compress(Bitmap.CompressFormat.JPEG, 95, convertStream);
|
/external/chromium_org/chrome/browser/resources/file_manager/foreground/js/photo/ |
gallery_item.js | 80 // Chrome can natively encode only two formats: JPEG and PNG. 81 // All non-JPEG images are saved in PNG, hence forcing the file extension.
|
/frameworks/base/media/java/android/media/ |
ImageReader.java | 458 * reading YUV, JPEG or raw sensor data (for example, from camera or video 474 case ImageFormat.JPEG:
|
/frameworks/base/packages/WallpaperCropper/src/com/android/gallery3d/common/ |
BitmapUtils.java | 244 bitmap.compress(CompressFormat.JPEG, quality, baos); 258 return mimeType.equals("image/jpeg");
|
/packages/apps/Email/tests/src/com/android/email/activity/ |
ContactStatusLoaderTest.java | 171 bitmap.compress(Bitmap.CompressFormat.JPEG, 50, out);
|
/packages/apps/Gallery2/gallerycommon/src/com/android/gallery3d/common/ |
BitmapUtils.java | 244 bitmap.compress(CompressFormat.JPEG, quality, baos); 258 return mimeType.equals("image/jpeg");
|
/packages/apps/Launcher3/WallpaperPicker/src/com/android/gallery3d/common/ |
BitmapUtils.java | 244 bitmap.compress(CompressFormat.JPEG, quality, baos); 258 return mimeType.equals("image/jpeg");
|
/packages/apps/VideoEditor/src/com/android/videoeditor/util/ |
FileUtils.java | 114 if (!bitmap.compress(CompressFormat.JPEG, 100, fos)) {
|
/development/samples/HoneycombGallery/src/com/example/android/hcgallery/ |
ContentFragment.java | 330 if (!mBitmap.compress(Bitmap.CompressFormat.JPEG, 60, fo)) { 356 shareIntent.setType("image/jpeg");
|
/external/chromium_org/media/base/android/java/src/org/chromium/media/ |
VideoCapture.java | 259 case ImageFormat.JPEG:
|
/packages/apps/Gallery2/src/com/android/gallery3d/filtershow/ui/ |
ExportDialog.java | 177 bitmap.compress(Bitmap.CompressFormat.JPEG, mQuality, out); 187 // between a compressed jpeg and a larger version of it in function of the image
|
/packages/apps/Launcher3/WallpaperPicker/src/com/android/launcher3/ |
SavedWallpaperImages.java | 197 thumbnail.compress(Bitmap.CompressFormat.JPEG, 95, thumbFileStream);
|
/packages/apps/LegacyCamera/src/com/android/camera/ |
Thumbnail.java | 113 mBitmap.compress(Bitmap.CompressFormat.JPEG, 90, d); 201 String selection = ImageColumns.MIME_TYPE + "='image/jpeg' AND " + 247 public static Thumbnail createThumbnail(byte[] jpeg, int orientation, int inSampleSize, 252 Bitmap bitmap = BitmapFactory.decodeByteArray(jpeg, 0, jpeg.length, options);
|
/cts/tests/tests/view/src/android/view/cts/ |
WindowTest.java | 539 window.setDefaultWindowFormat(PixelFormat.JPEG); 549 window.setDefaultWindowFormat(PixelFormat.JPEG); 550 assertEquals(PixelFormat.JPEG, window.getAttributes().format); [all...] |
/cts/apps/CtsVerifier/src/com/android/cts/verifier/camera/analyzer/ |
CameraAnalyzerActivity.java | 136 params.setPictureFormat(ImageFormat.JPEG);
|
/development/samples/training/bitmapfun/BitmapFun/src/main/java/com/example/android/bitmapfun/util/ |
ImageCache.java | 67 private static final CompressFormat DEFAULT_COMPRESS_FORMAT = CompressFormat.JPEG;
|
/frameworks/base/packages/ExternalStorageProvider/src/com/android/externalstorage/ |
TestDocumentsProvider.java | 333 bitmap.compress(CompressFormat.JPEG, 50, bos);
|
/frameworks/base/packages/WallpaperCropper/src/com/android/gallery3d/exif/ |
ExifInterface.java | 49 * This class provides methods and constants for reading and writing jpeg file 54 * to a valid jpeg image as exif metadata. 404 public static final short JPEG = 6; 721 * @param jpeg a byte array containing a jpeg compressed image. 724 public void readExif(byte[] jpeg) throws IOException { 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 [all...] |
/packages/apps/Camera2/src/com/android/camera/exif/ |
ExifInterface.java | 49 * This class provides methods and constants for reading and writing jpeg file 54 * to a valid jpeg image as exif metadata. 404 public static final short JPEG = 6; 721 * @param jpeg a byte array containing a jpeg compressed image. 724 public void readExif(byte[] jpeg) throws IOException { 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 [all...] |