Home
last modified time | relevance | path

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

/frameworks/base/tools/aapt2/compile/
DPng.cpp168 assert(outPatch->numXDivs == inPatch->numXDivs); in checkNinePatchSerialization()
982 uint8_t numXDivs = 0; in do9Patch() local
1025 &errorMsg, &numXDivs, true)) { in do9Patch()
1040 image->info9Patch.numXDivs = numXDivs; in do9Patch()
1127 numCols = numXDivs + 1; in do9Patch()
1131 if (xDivs[numXDivs - 1] == W) { in do9Patch()
1183 for (i = xDivs[0] == 0 ? 1 : 0; i <= numXDivs && left < W; i++) { in do9Patch()
1184 if (i == numXDivs) { in do9Patch()
DNinePatch.cpp608 data.numXDivs = static_cast<uint8_t>(horizontal_stretch_regions.size()) * 2; in SerializeBase()
/frameworks/base/tools/aapt/
DImages.cpp553 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/jni/
DNinePatchPeeker.cpp85 scaleDivRange(mPatch->getXDivs(), mPatch->numXDivs, scaleX, scaledWidth - 1); in scale()
/frameworks/base/libs/hwui/
DNinePatchUtils.h24 lattice->fXCount = chunk.numXDivs; in SetLatticeDivs()
/frameworks/base/libs/androidfw/include/androidfw/
DResourceTypes.h147 uint8_t numXDivs; member
/frameworks/base/libs/androidfw/
DResourceTypes.cpp149 patch->yDivsOffset = patch->xDivsOffset + (patch->numXDivs * sizeof(int32_t)); in fill9patchOffsets()
164 for (int i = 0; i < numXDivs; i++) { in deviceToFile()
184 for (int i = 0; i < numXDivs; i++) { in fileToDevice()
208 + numXDivs * sizeof(int32_t) in serializedSize()
231 memcpy(data, xDivs, patch.numXDivs * sizeof(int32_t)); in serialize()
232 data += patch.numXDivs * sizeof(int32_t); in serialize()