Home
last modified time | relevance | path

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

/frameworks/base/tools/aapt2/compile/
DPng.cpp170 assert(outPatch->numYDivs == inPatch->numYDivs); in checkNinePatchSerialization()
989 uint8_t numYDivs = 0; in do9Patch() local
1039 &yDivs[1], &errorMsg, &numYDivs, true)) { in do9Patch()
1047 image->info9Patch.numYDivs = numYDivs; in do9Patch()
1140 numRows = numYDivs + 1; in do9Patch()
1144 if (yDivs[numYDivs - 1] == H) { in do9Patch()
1180 for (j = (yDivs[0] == 0 ? 1 : 0); j <= numYDivs && top < H; j++) { in do9Patch()
1181 if (j == numYDivs) { in do9Patch()
DNinePatch.cpp611 data.numYDivs = static_cast<uint8_t>(vertical_stretch_regions.size()) * 2; in SerializeBase()
/frameworks/base/tools/aapt/
DImages.cpp554 uint8_t numYDivs = 0; in do_9patch() local
604 &yDivs[1], &errorMsg, &numYDivs, true) != NO_ERROR) { in do_9patch()
612 image->info9Patch.numYDivs = numYDivs; in do_9patch()
698 numRows = numYDivs + 1; in do_9patch()
702 if (yDivs[numYDivs - 1] == H) { in do_9patch()
739 j <= numYDivs && top < H; in do_9patch()
741 if (j == numYDivs) { in do_9patch()
805 assert(outPatch->numYDivs == inPatch->numYDivs); in checkNinePatchSerialization()
813 for (int i = 0; i < outPatch->numYDivs; i++) { in checkNinePatchSerialization()
/frameworks/base/libs/hwui/jni/
DNinePatchPeeker.cpp91 scaleDivRange(mPatch->getYDivs(), mPatch->numYDivs, scaleY, scaledHeight - 1); in scale()
/frameworks/base/libs/hwui/
DNinePatchUtils.h25 lattice->fYCount = chunk.numYDivs; in SetLatticeDivs()
/frameworks/base/libs/androidfw/include/androidfw/
DResourceTypes.h144 uint8_t numYDivs; member
/frameworks/base/libs/androidfw/
DResourceTypes.cpp148 patch->colorsOffset = patch->yDivsOffset + (patch->numYDivs * sizeof(int32_t)); in fill9patchOffsets()
166 for (int i = 0; i < numYDivs; i++) { in deviceToFile()
186 for (int i = 0; i < numYDivs; i++) { in fileToDevice()
207 + numYDivs * sizeof(int32_t) in serializedSize()
231 memcpy(data, yDivs, patch.numYDivs * sizeof(int32_t)); in serialize()
232 data += patch.numYDivs * sizeof(int32_t); in serialize()