Home
last modified time | relevance | path

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

/frameworks/base/tools/aapt2/compile/
DPng.cpp169 assert(outPatch->numYDivs == inPatch->numYDivs); in checkNinePatchSerialization()
988 uint8_t numYDivs = 0; in do9Patch() local
1038 &yDivs[1], &errorMsg, &numYDivs, true)) { in do9Patch()
1046 image->info9Patch.numYDivs = numYDivs; in do9Patch()
1139 numRows = numYDivs + 1; in do9Patch()
1143 if (yDivs[numYDivs - 1] == H) { in do9Patch()
1179 for (j = (yDivs[0] == 0 ? 1 : 0); j <= numYDivs && top < H; j++) { in do9Patch()
1180 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/
DNinePatchUtils.h25 lattice->fYCount = chunk.numYDivs; in SetLatticeDivs()
DPatch.cpp55 uint32_t yCount = patch->numYDivs; in Patch()
/frameworks/base/core/jni/android/graphics/
DBitmapFactory.cpp130 scaleDivRange(chunk->getYDivs(), chunk->numYDivs, scale, scaledHeight); in scaleNinePatchChunk()
/frameworks/base/libs/androidfw/include/androidfw/
DResourceTypes.h124 uint8_t numYDivs; member
/frameworks/base/libs/androidfw/
DResourceTypes.cpp140 patch->colorsOffset = patch->yDivsOffset + (patch->numYDivs * sizeof(int32_t)); in fill9patchOffsets()
158 for (int i = 0; i < numYDivs; i++) { in deviceToFile()
178 for (int i = 0; i < numYDivs; i++) { in fileToDevice()
199 + numYDivs * sizeof(int32_t) in serializedSize()
223 memcpy(data, yDivs, patch.numYDivs * sizeof(int32_t)); in serialize()
224 data += patch.numYDivs * sizeof(int32_t); in serialize()