Home
last modified time | relevance | path

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

/frameworks/base/core/jni/android/graphics/
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/tools/aapt2/compile/
DPng.cpp162 size_t patchSize = inPatch->serializedSize(); in checkNinePatchSerialization() local
163 void* newData = malloc(patchSize); in checkNinePatchSerialization()
164 memcpy(newData, data, patchSize); in checkNinePatchSerialization()
/frameworks/base/tools/aapt/
DImages.cpp798 size_t patchSize = inPatch->serializedSize(); in checkNinePatchSerialization() local
799 void* newData = malloc(patchSize); in checkNinePatchSerialization()
800 memcpy(newData, data, patchSize); in checkNinePatchSerialization()