MCPcopy Create free account
hub / github.com/CyanogenMod/android_frameworks_base / postProcessImage

Function postProcessImage

tools/aapt/Images.cpp:1490–1502  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1488}
1489
1490status_t postProcessImage(const sp<AaptAssets>& assets,
1491 ResourceTable* table, const sp<AaptFile>& file)
1492{
1493 String8 ext(file->getPath().getPathExtension());
1494
1495 // At this point, now that we have all the resource data, all we need to
1496 // do is compile XML files.
1497 if (strcmp(ext.string(), ".xml") == 0) {
1498 return compileXmlFile(assets, file, table);
1499 }
1500
1501 return NO_ERROR;
1502}
1503
1504status_t PngMemoryFile::read(png_bytep data, png_size_t length) {
1505 if (data == NULL)

Callers 1

postProcessImagesFunction · 0.85

Calls 3

compileXmlFileFunction · 0.85
stringMethod · 0.80
getPathMethod · 0.65

Tested by

no test coverage detected