Searched refs:numXDivs (Results 1 – 8 of 8) sorted by relevance
/frameworks/base/tools/aapt2/compile/ |
D | Png.cpp | 168 assert(outPatch->numXDivs == inPatch->numXDivs); in checkNinePatchSerialization() 987 uint8_t numXDivs = 0; in do9Patch() local 1030 &errorMsg, &numXDivs, true)) { in do9Patch() 1045 image->info9Patch.numXDivs = numXDivs; in do9Patch() 1132 numCols = numXDivs + 1; in do9Patch() 1136 if (xDivs[numXDivs - 1] == W) { in do9Patch() 1188 for (i = xDivs[0] == 0 ? 1 : 0; i <= numXDivs && left < W; i++) { in do9Patch() 1189 if (i == numXDivs) { in do9Patch()
|
D | NinePatch.cpp | 610 data.numXDivs = static_cast<uint8_t>(horizontal_stretch_regions.size()) * 2; in SerializeBase()
|
/frameworks/base/tools/aapt/ |
D | Images.cpp | 553 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/ |
D | NinePatchUtils.h | 24 lattice->fXCount = chunk.numXDivs; in SetLatticeDivs()
|
D | Patch.cpp | 54 uint32_t xCount = patch->numXDivs; in Patch()
|
/frameworks/base/core/jni/android/graphics/ |
D | BitmapFactory.cpp | 129 scaleDivRange(chunk->getXDivs(), chunk->numXDivs, scale, scaledWidth); in scaleNinePatchChunk()
|
/frameworks/base/libs/androidfw/include/androidfw/ |
D | ResourceTypes.h | 123 uint8_t numXDivs; member
|
/frameworks/base/libs/androidfw/ |
D | ResourceTypes.cpp | 139 patch->yDivsOffset = patch->xDivsOffset + (patch->numXDivs * sizeof(int32_t)); in fill9patchOffsets() 154 for (int i = 0; i < numXDivs; i++) { in deviceToFile() 174 for (int i = 0; i < numXDivs; i++) { in fileToDevice() 198 + numXDivs * sizeof(int32_t) in serializedSize() 221 memcpy(data, xDivs, patch.numXDivs * sizeof(int32_t)); in serialize() 222 data += patch.numXDivs * sizeof(int32_t); in serialize()
|