Home
last modified time | relevance | path

Searched refs:patchSize (Results 1 – 3 of 3) sorted by relevance

/frameworks/base/libs/hwui/jni/
DNinePatchPeeker.cpp27 size_t patchSize = patch->serializedSize(); in readChunk() local
28 if (length != patchSize) { in readChunk()
32 Res_png_9patch* patchNew = (Res_png_9patch*) malloc(patchSize); in readChunk()
33 memcpy(patchNew, patch, patchSize); in readChunk()
38 mPatchSize = patchSize; in readChunk()
/frameworks/base/libs/androidfw/
DPng.cpp153 size_t patchSize = inPatch->serializedSize(); in checkNinePatchSerialization() local
154 void* newData = malloc(patchSize); in checkNinePatchSerialization()
155 memcpy(newData, data, patchSize); in checkNinePatchSerialization()
/frameworks/base/tools/aapt/
DImages.cpp799 size_t patchSize = inPatch->serializedSize(); in checkNinePatchSerialization() local
800 void* newData = malloc(patchSize); in checkNinePatchSerialization()
801 memcpy(newData, data, patchSize); in checkNinePatchSerialization()