Searched refs:numXDivs (Results 1 – 7 of 7) sorted by relevance
/frameworks/base/libs/hwui/utils/ |
D | NinePatchImpl.cpp | 118 xDivs, chunk.numXDivs, in Draw() 169 const uint8_t numXDivs = chunk.numXDivs; in Draw() local 183 const size_t dstBytes = ((size_t) numXDivs + 1) * sizeof(SkScalar); in Draw() 188 for (i = 0; i < numXDivs; i += 2) { in Draw() 203 numXDivs, numYDivs); in Draw() 252 i <= numXDivs && src.fLeft < bitmapWidth; in Draw() 255 if (i == numXDivs) { in Draw()
|
/frameworks/base/tools/aapt2/compile/ |
D | Png.cpp | 161 assert(outPatch->numXDivs == inPatch->numXDivs); in checkNinePatchSerialization() 951 uint8_t numXDivs = 0; in do9Patch() local 993 if (!getHorizontalTicks(p, W, transparent, true, &xDivs[0], &xDivs[1], &errorMsg, &numXDivs, in do9Patch() 1009 image->info9Patch.numXDivs = numXDivs; in do9Patch() 1091 numCols = numXDivs + 1; in do9Patch() 1095 if (xDivs[numXDivs - 1] == W) { in do9Patch() 1147 for (i = xDivs[0] == 0 ? 1 : 0; i <= numXDivs && left < W; i++) { in do9Patch() 1148 if (i == numXDivs) { in do9Patch()
|
/frameworks/base/tools/aapt/ |
D | Images.cpp | 553 uint8_t numXDivs = 0; in do_9patch() local 596 &xDivs[1], &errorMsg, &numXDivs, true) != NO_ERROR) { in do_9patch() 611 image->info9Patch.numXDivs = numXDivs; in do_9patch() 691 numCols = numXDivs + 1; in do_9patch() 695 if (xDivs[numXDivs - 1] == W) { in do_9patch() 750 i <= numXDivs && left < W; in do_9patch() 752 if (i == numXDivs) { in do_9patch() 804 assert(outPatch->numXDivs == inPatch->numXDivs); in checkNinePatchSerialization() 810 for (int i = 0; i < outPatch->numXDivs; i++) { in checkNinePatchSerialization()
|
/frameworks/base/libs/hwui/ |
D | Patch.cpp | 54 uint32_t xCount = patch->numXDivs; in Patch()
|
/frameworks/base/core/jni/android/graphics/ |
D | BitmapFactory.cpp | 124 scaleDivRange(chunk->getXDivs(), chunk->numXDivs, scale, scaledWidth); in scaleNinePatchChunk()
|
/frameworks/base/include/androidfw/ |
D | ResourceTypes.h | 124 uint8_t numXDivs; member
|
/frameworks/base/libs/androidfw/ |
D | ResourceTypes.cpp | 139 patch->yDivsOffset = patch->xDivsOffset + (patch->numXDivs * sizeof(int32_t)); in fill9patchOffsets() 154 for (int i = 0; i < numXDivs; i++) { in deviceToFile() 174 for (int i = 0; i < numXDivs; i++) { in fileToDevice() 198 + numXDivs * sizeof(int32_t) in serializedSize() 221 memcpy(data, xDivs, patch.numXDivs * sizeof(int32_t)); in serialize() 222 data += patch.numXDivs * sizeof(int32_t); in serialize()
|