Searched refs:numXDivs (Results 1 – 7 of 7) sorted by relevance
/frameworks/base/libs/androidfw/ |
D | Png.cpp | 160 assert(outPatch->numXDivs == inPatch->numXDivs); in checkNinePatchSerialization() 936 uint8_t numXDivs = 0; in do9Patch() local 977 if (!getHorizontalTicks(p, W, transparent, true, &xDivs[0], &xDivs[1], &errorMsg, &numXDivs, in do9Patch() 993 image->info9Patch.numXDivs = numXDivs; in do9Patch() 1073 numCols = numXDivs + 1; in do9Patch() 1077 if (xDivs[numXDivs - 1] == W) { in do9Patch() 1129 for (i = xDivs[0] == 0 ? 1 : 0; i <= numXDivs && left < W; i++) { in do9Patch() 1130 if (i == numXDivs) { in do9Patch()
|
D | NinePatch.cpp | 590 data.numXDivs = static_cast<uint8_t>(horizontal_stretch_regions.size()) * 2; in SerializeBase()
|
D | ResourceTypes.cpp | 151 patch->yDivsOffset = patch->xDivsOffset + (patch->numXDivs * sizeof(int32_t)); in fill9patchOffsets() 166 for (int i = 0; i < numXDivs; i++) { in deviceToFile() 186 for (int i = 0; i < numXDivs; i++) { in fileToDevice() 210 + numXDivs * sizeof(int32_t) in serializedSize() 233 memcpy(data, xDivs, patch.numXDivs * sizeof(int32_t)); in serialize() 234 data += patch.numXDivs * sizeof(int32_t); in serialize()
|
/frameworks/base/tools/aapt/ |
D | Images.cpp | 554 uint8_t numXDivs = 0; in do_9patch() local 597 &xDivs[1], &errorMsg, &numXDivs, true) != NO_ERROR) { in do_9patch() 612 image->info9Patch.numXDivs = numXDivs; in do_9patch() 692 numCols = numXDivs + 1; in do_9patch() 696 if (xDivs[numXDivs - 1] == W) { in do_9patch() 751 i <= numXDivs && left < W; in do_9patch() 753 if (i == numXDivs) { in do_9patch() 805 assert(outPatch->numXDivs == inPatch->numXDivs); in checkNinePatchSerialization() 811 for (int i = 0; i < outPatch->numXDivs; i++) { in checkNinePatchSerialization()
|
/frameworks/base/libs/hwui/jni/ |
D | NinePatchPeeker.cpp | 85 scaleDivRange(mPatch->getXDivs(), mPatch->numXDivs, scaleX, scaledWidth - 1); in scale()
|
/frameworks/base/libs/hwui/ |
D | NinePatchUtils.h | 24 lattice->fXCount = chunk.numXDivs; in SetLatticeDivs()
|
/frameworks/base/libs/androidfw/include/androidfw/ |
D | ResourceTypes.h | 148 uint8_t numXDivs; member
|