Searched refs:png (Results 1 - 3 of 3) sorted by relevance

/frameworks/base/cmds/screenshot/
H A Dscreenshot.c11 #include <libpng/png.h>
22 png_structp png; local
40 png = png_create_write_struct(PNG_LIBPNG_VER_STRING, NULL, NULL, NULL);
41 if (png == NULL) {
47 png_init_io(png, fb_out);
48 info = png_create_info_struct(png);
51 png_destroy_write_struct(&png, NULL);
55 if (setjmp(png_jmpbuf(png))) {
56 ALOGE("failed png setjmp\n");
57 png_destroy_write_struct(&png, NUL
107 FILE *png = NULL; local
[all...]
/frameworks/base/cmds/screencap/
H A Dscreencap.cpp44 " -p: save the file as a png.\n"
46 "If FILENAME ends with .png it will be saved as a png.\n"
93 bool png = false; local
99 png = true;
124 if (len >= 4 && 0 == strcmp(fn+len-4, ".png")) {
125 png = true;
173 if (png) {
/frameworks/base/tools/aapt/
H A DImages.cpp14 #include <png.h>
1129 if (strcmp(ext.string(), ".png") != 0) {
1346 // Actually write out to the new png

Completed in 365 milliseconds