Home
last modified time | relevance | path

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

/frameworks/base/core/jni/android/graphics/
DNinePatchPeeker.cpp26 size_t patchSize = patch->serializedSize(); in peek() local
27 if (length != patchSize) { in peek()
31 Res_png_9patch* patchNew = (Res_png_9patch*) malloc(patchSize); in peek()
32 memcpy(patchNew, patch, patchSize); in peek()
37 mPatchSize = patchSize; in peek()
/frameworks/base/tools/aapt2/
DPng.cpp156 size_t patchSize = inPatch->serializedSize(); in checkNinePatchSerialization() local
157 void* newData = malloc(patchSize); in checkNinePatchSerialization()
158 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()