Searched refs:numYDivs (Results 1 – 7 of 7) sorted by relevance
/frameworks/base/tools/aapt2/compile/ |
D | Png.cpp | 170 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()
|
D | NinePatch.cpp | 611 data.numYDivs = static_cast<uint8_t>(vertical_stretch_regions.size()) * 2; in SerializeBase()
|
/frameworks/base/tools/aapt/ |
D | Images.cpp | 554 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/core/jni/android/graphics/ |
D | NinePatchPeeker.cpp | 91 scaleDivRange(mPatch->getYDivs(), mPatch->numYDivs, scaleY, scaledHeight - 1); in scale()
|
/frameworks/base/libs/hwui/ |
D | NinePatchUtils.h | 25 lattice->fYCount = chunk.numYDivs; in SetLatticeDivs()
|
/frameworks/base/libs/androidfw/include/androidfw/ |
D | ResourceTypes.h | 127 uint8_t numYDivs; member
|
/frameworks/base/libs/androidfw/ |
D | ResourceTypes.cpp | 142 patch->colorsOffset = patch->yDivsOffset + (patch->numYDivs * sizeof(int32_t)); in fill9patchOffsets() 160 for (int i = 0; i < numYDivs; i++) { in deviceToFile() 180 for (int i = 0; i < numYDivs; i++) { in fileToDevice() 201 + numYDivs * sizeof(int32_t) in serializedSize() 225 memcpy(data, yDivs, patch.numYDivs * sizeof(int32_t)); in serialize() 226 data += patch.numYDivs * sizeof(int32_t); in serialize()
|