Home
last modified time | relevance | path

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

/frameworks/base/core/jni/android/graphics/
DNinePatchImpl.cpp123 chunk.xDivs, chunk.numXDivs, in NinePatch_Draw()
177 const uint8_t numXDivs = chunk.numXDivs; in NinePatch_Draw() local
189 SkScalar* dstRights = (SkScalar*) alloca((numXDivs + 1) * sizeof(SkScalar)); in NinePatch_Draw()
193 for (i = 0; i < numXDivs; i += 2) { in NinePatch_Draw()
208 numXDivs, numYDivs); in NinePatch_Draw()
256 i <= numXDivs && src.fLeft < bitmapWidth; in NinePatch_Draw()
259 if (i == numXDivs) { in NinePatch_Draw()
DBitmapFactory.cpp414 for (int i = 0; i < chunk->numXDivs; i++) { in nativeScaleNinePatch()
/frameworks/base/tools/aapt/
DImages.cpp342 uint8_t numXDivs = 0; in do_9patch() local
381 &xDivs[1], &errorMsg, &numXDivs, true) != NO_ERROR) { in do_9patch()
412 image->info9Patch.numXDivs = numXDivs; in do_9patch()
452 numCols = numXDivs + 1; in do_9patch()
456 if (xDivs[numXDivs - 1] == W) { in do_9patch()
511 i <= numXDivs && left < W; in do_9patch()
513 if (i == numXDivs) { in do_9patch()
570 assert(outPatch->numXDivs == inPatch->numXDivs); in checkNinePatchSerialization()
576 for (int i = 0; i < outPatch->numXDivs; i++) { in checkNinePatchSerialization()
589 if (!(patch1.numXDivs == patch2.numXDivs && in patch_equals()
[all …]
/frameworks/base/libs/utils/
DResourceTypes.cpp138 for (int i = 0; i < numXDivs; i++) { in deviceToFile()
155 for (int i = 0; i < numXDivs; i++) { in fileToDevice()
177 + numXDivs * sizeof(int32_t) in serializedSize()
198 memmove(data, this->xDivs, numXDivs * sizeof(int32_t)); in serialize()
199 data += numXDivs * sizeof(int32_t); in serialize()
215 data += outData->numXDivs * 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.h110 int8_t numXDivs; member