Home
last modified time | relevance | path

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

/frameworks/base/core/jni/android/graphics/
DNinePatchImpl.cpp124 chunk.yDivs, chunk.numYDivs, in NinePatch_Draw()
178 const uint8_t numYDivs = chunk.numYDivs; in NinePatch_Draw() local
198 for (i = 0; i < numYDivs; i += 2) { in NinePatch_Draw()
208 numXDivs, numYDivs); in NinePatch_Draw()
230 j <= numYDivs && src.fTop < bitmapHeight; in NinePatch_Draw()
234 if (j == numYDivs) { in NinePatch_Draw()
DBitmapFactory.cpp421 for (int i = 0; i < chunk->numYDivs; i++) { in nativeScaleNinePatch()
/frameworks/base/tools/aapt/
DImages.cpp343 uint8_t numYDivs = 0; in do_9patch() local
389 &yDivs[1], &errorMsg, &numYDivs, true) != NO_ERROR) { in do_9patch()
413 image->info9Patch.numYDivs = numYDivs; in do_9patch()
459 numRows = numYDivs + 1; in do_9patch()
463 if (yDivs[numYDivs - 1] == H) { in do_9patch()
500 j <= numYDivs && top < H; in do_9patch()
502 if (j == numYDivs) { in do_9patch()
571 assert(outPatch->numYDivs == inPatch->numYDivs); in checkNinePatchSerialization()
579 for (int i = 0; i < outPatch->numYDivs; i++) { in checkNinePatchSerialization()
590 patch1.numYDivs == patch2.numYDivs && in patch_equals()
[all …]
/frameworks/base/libs/utils/
DResourceTypes.cpp141 for (int i = 0; i < numYDivs; i++) { in deviceToFile()
158 for (int i = 0; i < numYDivs; i++) { in fileToDevice()
178 + numYDivs * sizeof(int32_t) in serializedSize()
200 memmove(data, this->yDivs, numYDivs * sizeof(int32_t)); in serialize()
201 data += numYDivs * sizeof(int32_t); in serialize()
217 data += outData->numYDivs * sizeof(int32_t); in deserializeInternal()
/frameworks/base/core/jni/
Dandroid_view_GLES20Canvas.cpp376 &patch->colors[0], patch->numXDivs, patch->numYDivs, patch->numColors, in android_view_GLES20Canvas_drawPatch()
/frameworks/base/include/utils/
DResourceTypes.h111 int8_t numYDivs; member