Home
last modified time | relevance | path

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

/frameworks/base/core/jni/android/graphics/
DBitmapFactory.cpp302 NinePatchPeeker peeker(decoder); in doDecode() local
303 decoder->setPeeker(&peeker); in doDecode()
366 if (peeker.fPatch != NULL) { in doDecode()
368 scaleNinePatchChunk(peeker.fPatch, scale); in doDecode()
371 size_t ninePatchArraySize = peeker.fPatch->serializedSize(); in doDecode()
382 peeker.fPatch->serialize(array); in doDecode()
387 if (peeker.fLayoutBounds != NULL) { in doDecode()
396 scaledBounds[i] = (jint)((((jint*)peeker.fLayoutBounds)[i]*scale) + .5f); in doDecode()
399 memcpy(scaledBounds, (jint*)peeker.fLayoutBounds, sizeof(scaledBounds)); in doDecode()
444 if (peeker.fPatch != NULL) { in doDecode()
[all …]