Home
last modified time | relevance | path

Searched refs:unknowns (Results 1 – 2 of 2) sorted by relevance

/frameworks/base/tools/aapt2/compile/
DPng.cpp444 png_unknown_chunk unknowns[3]; in writePng() local
445 unknowns[0].data = nullptr; in writePng()
446 unknowns[1].data = nullptr; in writePng()
447 unknowns[2].data = nullptr; in writePng()
542 memcpy((char*)unknowns[pIndex].name, "npTc", 5); in writePng()
543 unknowns[pIndex].data = (png_byte*)info->serialize9Patch(); in writePng()
544 unknowns[pIndex].size = info->info9Patch.serializedSize(); in writePng()
546 checkNinePatchSerialization(&info->info9Patch, unknowns[pIndex].data); in writePng()
550 memcpy((char*)unknowns[oIndex].name, "npOl", 5); in writePng()
551 unknowns[oIndex].data = (png_byte*)calloc(chunkSize, 1); in writePng()
[all …]
/frameworks/base/tools/aapt/
DImages.cpp1147 png_unknown_chunk unknowns[3]; in write_png() local
1148 unknowns[0].data = NULL; in write_png()
1149 unknowns[1].data = NULL; in write_png()
1150 unknowns[2].data = NULL; in write_png()
1249 memcpy((char*)unknowns[p_index].name, "npTc", 5); in write_png()
1250 unknowns[p_index].data = (png_byte*)imageInfo.serialize9patch(); in write_png()
1251 unknowns[p_index].size = imageInfo.info9Patch.serializedSize(); in write_png()
1253 checkNinePatchSerialization(&imageInfo.info9Patch, unknowns[p_index].data); in write_png()
1257 memcpy((char*)unknowns[o_index].name, "npOl", 5); in write_png()
1258 unknowns[o_index].data = (png_byte*) calloc(chunk_size, 1); in write_png()
[all …]