/cts/tests/tests/graphics/src/android/graphics/cts/ |
Bitmap_CompressFormatTest.java | 29 assertEquals(CompressFormat.PNG, CompressFormat.valueOf("PNG")); 38 assertEquals(CompressFormat.PNG, comFormat[1]); 44 assertTrue(b.compress(CompressFormat.PNG, 24, new ByteArrayOutputStream()));
|
/external/chromium_org/tools/grit/grit/gather/ |
chrome_html_unittest.py | 26 '''Standardizes the newline format and png mime type in Html text.''' 27 return _NEW_LINE.sub('\n', text).replace('data:image/x-png;', 28 'data:image/png;') 52 background: url('test.png'); 56 'test.png': 'PNG DATA', 58 '1.4x/test.png': '1.4x PNG DATA', 60 '1.8x/test.png': '1.8x PNG DATA' [all...] |
/frameworks/base/graphics/tests/graphicstests/src/android/graphics/ |
BitmapFactoryTest.java | 36 bitmap1.compress(Bitmap.CompressFormat.PNG, 100, out);
|
/frameworks/ex/carousel/java/com/android/ex/carousel/ |
CarouselViewUtilities.java | 31 bitmap.compress(Bitmap.CompressFormat.PNG, 100, os);
|
/external/chromium_org/chrome/android/javatests/src/org/chromium/chrome/browser/test/util/ |
BookmarkUtils.java | 50 faviconBitmap.compress(CompressFormat.PNG, 0, bos);
|
/external/chromium_org/third_party/WebKit/Source/platform/image-decoders/ico/ |
ICOImageDecoder.h | 65 PNG, 127 // Determines whether the desired entry is a BMP or PNG. Returns true
|
/packages/apps/Browser/tests/src/com/android/browser/tests/ |
BP2UriObserverTests.java | 58 favicon.compress(Bitmap.CompressFormat.PNG, 100, os); 94 favicon.compress(Bitmap.CompressFormat.PNG, 100, os);
|
/development/samples/Support4Demos/src/com/example/android/supportv4/content/ |
FileProviderExample.java | 50 final File file = new File(thumbsDir, "private.png"); 56 intent.setType("image/png"); 73 bitmap.compress(Bitmap.CompressFormat.PNG, 100, os);
|
/external/chromium_org/android_webview/java/src/org/chromium/android_webview/ |
DefaultVideoPosterRequestHandler.java | 48 defaultVideoPoster.compress(Bitmap.CompressFormat.PNG, 100, 91 return new InterceptedRequestData("image/png", null, getInputStream(mContentClient));
|
/frameworks/base/tests/HwAccelerationTest/src/com/android/test/hwui/ |
GetBitmapActivity.java | 50 button.setText("Copy bitmap to /sdcard/textureview.png"); 57 Environment.getExternalStorageDirectory() + "/textureview.png"); 59 b.compress(Bitmap.CompressFormat.PNG, 100, out);
|
TextureViewActivity.java | 60 File dump = new File(Environment.getExternalStorageDirectory(), "out.png"); 62 b.compress(Bitmap.CompressFormat.PNG, 100, out);
|
/cts/tests/tests/holo/src/android/holo/cts/ |
BitmapAssets.java | 118 return new File(getBitmapDir(type), prefix + bitmapName + ".png"); 132 bitmap.compress(CompressFormat.PNG, 100, stream);
|
/external/chromium_org/ui/android/java/src/org/chromium/ui/base/ |
ActivityWindowAndroid.java | 87 * Returns a PNG-encoded screenshot of the the window region at (|windowX|, 108 // Compress the result into a PNG. 110 if (!bitmap.compress(Bitmap.CompressFormat.PNG, 100, result)) return null;
|
/frameworks/testing/uiautomator/library/core-src/com/android/uiautomator/core/ |
UiAutomatorBridge.java | 117 screenshot.compress(Bitmap.CompressFormat.PNG, quality, bos);
|
/packages/apps/ContactsCommon/tests/src/com/android/contacts/common/util/ |
BitmapUtilTests.java | 110 return createRawData(Bitmap.CompressFormat.PNG, sourceWidth, sourceHeight);
|
/packages/apps/Launcher2/src/com/android/launcher2/ |
ItemInfo.java | 162 bitmap.compress(Bitmap.CompressFormat.PNG, 100, out);
|
/packages/apps/Launcher3/src/com/android/launcher3/ |
ItemInfo.java | 155 bitmap.compress(Bitmap.CompressFormat.PNG, 100, out);
|
/sdk/apps/NotificationStudio/src/com/android/notificationstudio/action/ |
ShareMockupAction.java | 41 new SimpleDateFormat("'notification.'yyyyMMdd'.'HHmmss'.png'"); 55 mockup.compress(Bitmap.CompressFormat.PNG, 100, bytes); 74 share.setType("image/png");
|
/packages/apps/Browser/src/com/android/browser/ |
Bookmarks.java | 139 bm.compress(Bitmap.CompressFormat.PNG, 100, os); 206 favicon.compress(Bitmap.CompressFormat.PNG, 100, os);
|
/external/webp/examples/ |
dwebp.c | 24 #include <png.h> 61 PNG = 0, 114 "Windows XP SP3 or newer?). PNG support not available. " 152 static void PNGAPI error_function(png_structp png, png_const_charp dummy) { 154 longjmp(png_jmpbuf(png), 1); 163 png_structp png; local 167 png = png_create_write_struct(PNG_LIBPNG_VER_STRING, 169 if (png == NULL) { 172 info = png_create_info_struct(png); 174 png_destroy_write_struct(&png, NULL) [all...] |
/external/chromium_org/third_party/WebKit/Tools/Scripts/webkitpy/style/ |
checker.py | 42 from checkers.png import PNGChecker 197 _PNG_FILE_EXTENSION = 'png' 227 'png', 387 PNG = 4 404 match = re.search("\s*png$", file_path) 462 return FileType.PNG 486 elif file_type == FileType.PNG:
|
/development/samples/ApiDemos/src/com/example/android/apis/graphics/ |
CreateBitmap.java | 98 // now encode/decode using JPEG and PNG 103 mPNG[i] = codec(mBitmaps[i], Bitmap.CompressFormat.PNG, 0);
|
/external/chromium_org/third_party/WebKit/Source/platform/image-decoders/bmp/ |
BMPImageReader.h | 92 PNG = 5,
|
/external/droiddriver/src/com/google/android/droiddriver/base/ |
AbstractDroidDriver.java | 132 return takeScreenshot(path, Bitmap.CompressFormat.PNG, 0);
|
/frameworks/av/media/libstagefright/codecs/common/include/ |
voIndex.h | 126 _MAKE_CODEC_ID (0x430000, PNG)
|