HomeSort by relevance Sort by last modified time
    Searched refs:PNG (Results 1 - 25 of 202) sorted by null

1 2 3 4 5 6 7 8 9

  /external/libpng/scripts/
def.c 8 * and license in png.h
20 PNG_DFN "OS2 DESCRIPTION "PNG image compression library""
29 #include "../png.h"
  /external/swiftshader/third_party/LLVM/docs/tutorial/
Makefile 14 PNG := $(wildcard $(PROJ_SRC_DIR)/*.png)
22 $(Verb) $(DataInstall) $(PNG) $(HTML_DIR)
  /cts/tests/tests/graphics/src/android/graphics/cts/
Bitmap_CompressFormatTest.java 38 assertEquals(CompressFormat.PNG, CompressFormat.valueOf("PNG"));
48 assertEquals(CompressFormat.PNG, comFormat[1]);
54 assertTrue(b.compress(CompressFormat.PNG, 24, new ByteArrayOutputStream()));
  /frameworks/base/core/tests/coretests/src/android/graphics/
BitmapFactoryTest.java 36 bitmap1.compress(Bitmap.CompressFormat.PNG, 100, out);
  /frameworks/base/core/tests/coretests/src/android/graphics/drawable/
IconTest.java 82 bm1.compress(Bitmap.CompressFormat.PNG, 100,
83 new FileOutputStream(new File(dir, "bitmap1-original.png")));
84 test1.compress(Bitmap.CompressFormat.PNG, 100,
85 new FileOutputStream(new File(dir, "bitmap1-test.png")));
91 bm2.compress(Bitmap.CompressFormat.PNG, 100,
92 new FileOutputStream(new File(dir, "bitmap2-original.png")));
93 test2.compress(Bitmap.CompressFormat.PNG, 100,
94 new FileOutputStream(new File(dir, "bitmap2-test.png")));
100 bm3.compress(Bitmap.CompressFormat.PNG, 100,
101 new FileOutputStream(new File(dir, "bitmap3-original.png")));
    [all...]
  /tools/tradefederation/core/src/com/android/tradefed/result/
LogDataType.java 26 PNG("png", "image/png", true, false),
LogFilesReporter.java 119 if (file.getName().endsWith(LogDataType.PNG.getFileExt())) {
120 logDataType = LogDataType.PNG;
  /cts/tests/tests/renderscript/src/android/renderscript/cts/refocus/
MediaStoreSaver.java 51 File file = File.createTempFile(imageName, ".png", dir);
53 bitmap.compress(Bitmap.CompressFormat.PNG, 0, fOut);
  /external/glide/library/src/main/java/com/bumptech/glide/load/resource/bitmap/
BitmapEncoder.java 19 * using {@link android.graphics.Bitmap.CompressFormat#PNG} to preserve alpha and all other bitmaps are written
63 return Bitmap.CompressFormat.PNG;
ImageHeaderParser.java 5 import static com.bumptech.glide.load.resource.bitmap.ImageHeaderParser.ImageType.PNG;
31 /** PNG type with alpha. */
33 /** PNG type without alpha. */
34 PNG(false),
96 // PNG.
98 // See: http://stackoverflow.com/questions/2057923/how-to-check-a-png-for-grayscale-alpha-color-type
101 // A RGB indexed PNG can also have transparency. Better safe than sorry!
102 return alpha >= 3 ? PNG_A : PNG;
  /frameworks/base/apct-tests/perftests/utils/src/android/perftests/utils/
BitmapUtils.java 40 File outputFile = new File(externalFilesDir, fileTitle + "_generated.png");
46 bitmap.compress(Bitmap.CompressFormat.PNG, 100, out);
  /frameworks/support/graphics/drawable/animated/tests/src/android/support/graphics/drawable/tests/
DrawableUtils.java 55 String outputFilename = outputFolder + fileTitle + "_golden.png";
62 bitmap.compress(Bitmap.CompressFormat.PNG, 100, out);
  /packages/apps/ManagedProvisioning/tests/instrumentation/src/com/android/managedprovisioning/common/
UriBitmap.java 53 File tempFile = File.createTempFile("tmpImage", ".png");
70 bitmap.compress(Bitmap.CompressFormat.PNG, 100, fs);
  /prebuilts/go/darwin-x86/src/image/png/
paeth.go 5 package png package
22 // paeth implements the Paeth filter function, as per the PNG specification.
24 // This is an optimized version of the sample code in the PNG spec.
reader.go 5 // Package png implements a PNG image decoder and encoder.
7 // The PNG specification is at http://www.w3.org/TR/PNG/.
8 package png package
21 // Color type, as per the PNG spec.
54 // Filter type, as per the PNG spec.
76 // See http://www.w3.org/TR/PNG/#8Interlace
88 // The PNG specification says that the IHDR, PLTE (if present), tRNS (if
92 // http://www.w3.org/TR/PNG/#5ChunkOrderin
    [all...]
  /prebuilts/go/linux-x86/src/image/png/
paeth.go 5 package png package
22 // paeth implements the Paeth filter function, as per the PNG specification.
24 // This is an optimized version of the sample code in the PNG spec.
  /cts/common/device-side/util/src/com/android/compatibility/common/util/
BitmapUtils.java 90 bmp.compress(CompressFormat.PNG, 0 /*ignored for PNG*/, bos);
122 bitmap.compress(Bitmap.CompressFormat.PNG, 0 /* ignored for PNG */, fileStream);
  /external/webrtc/webrtc/tools/barcode_tools/
barcode_decoder.py 26 """Converts a YUV video file into PNG frames.
29 the form frame_xxxx.png, where xxxx is the frame number, starting from 0001.
35 output_directory(string): The output directory where the PNG frames will be
44 output_files_pattern = os.path.join(output_directory, 'frame_%04d.png')
48 % yuv_file_name, '-f', 'image2', '-vcodec', 'png',
51 print 'Converting YUV file to PNG images (may take a while)...'
54 command, fail_msg='Error during YUV to PNG conversion')
68 to decode the barcode in every PNG frame from the input directory. The frames
69 should be named frame_xxxx.png, where xxxx is the frame number. The frame
76 input_directory(string): The input directory from where the PNG frames ar
    [all...]
  /cts/hostsidetests/theme/app/src/android/theme/app/
GenerateBitmapTask.java 32 * as a PNG asynchronously.
71 final File file = new File(mOutDir, mName + ".png");
82 success = bitmap.compress(CompressFormat.PNG, 100, stream);
  /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);
  /frameworks/rs/tests/java_api/HealingBrush/src/rs/example/android/com/healingbrush/
MediaStoreSaver.java 50 String suffix = ".png";
51 Bitmap.CompressFormat format = Bitmap.CompressFormat.PNG;
  /frameworks/rs/tests/java_api/Refocus/src/com/android/rs/test/
MediaStoreSaver.java 49 //File file = new File(dir, imageName + n + ".png");
50 File file = new File(dir, imageName + ".png");
53 bitmap.compress(Bitmap.CompressFormat.PNG, 0, fOut);
  /frameworks/rs/tests/java_api/SSHealingBrush/src/rs/example/android/com/healingbrush/
MediaStoreSaver.java 50 String suffix = ".png";
51 Bitmap.CompressFormat format = Bitmap.CompressFormat.PNG;
  /frameworks/support/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);
  /tools/tradefederation/core/tests/src/com/android/tradefed/result/
DeviceFileReporterTest.java 181 final String result1 = "/data/files/file.png\r\n";
182 final String result2 = "/data/files/file.png\r\n/data/files/file.xml\r\n";
183 final String pngFilename = "/data/files/file.png";
186 patMap.put("/data/files/*.png", LogDataType.PNG);
189 final String pngContents = "This is PNG data";
198 if (file.toString().endsWith(".png")) {
210 // Expect that we go through the entire process for the PNG file, and then go through
216 mListener.testLog(EasyMock.eq(pngFilename), EasyMock.eq(LogDataType.PNG),
236 final String result1 = "/data/files/file.png\r\n"
    [all...]

Completed in 638 milliseconds

1 2 3 4 5 6 7 8 9