Searched refs:numYDivs (Results 1 – 7 of 7) sorted by relevance
/frameworks/base/libs/hwui/utils/ |
D | NinePatchImpl.cpp | 119 yDivs, chunk.numYDivs, in Draw() 170 const uint8_t numYDivs = chunk.numYDivs; in Draw() local 193 for (i = 0; i < numYDivs; i += 2) { in Draw() 203 numXDivs, numYDivs); in Draw() 225 j <= numYDivs && src.fTop < bitmapHeight; in Draw() 229 if (j == numYDivs) { in Draw()
|
/frameworks/base/tools/aapt2/compile/ |
D | Png.cpp | 162 assert(outPatch->numYDivs == inPatch->numYDivs); in checkNinePatchSerialization() 952 uint8_t numYDivs = 0; in do9Patch() local 1002 &errorMsg, &numYDivs, true)) { in do9Patch() 1010 image->info9Patch.numYDivs = numYDivs; in do9Patch() 1098 numRows = numYDivs + 1; in do9Patch() 1102 if (yDivs[numYDivs - 1] == H) { in do9Patch() 1138 for (j = (yDivs[0] == 0 ? 1 : 0); j <= numYDivs && top < H; j++) { in do9Patch() 1139 if (j == numYDivs) { in do9Patch()
|
/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/libs/hwui/ |
D | Patch.cpp | 55 uint32_t yCount = patch->numYDivs; in Patch()
|
/frameworks/base/core/jni/android/graphics/ |
D | BitmapFactory.cpp | 125 scaleDivRange(chunk->getYDivs(), chunk->numYDivs, scale, scaledHeight); in scaleNinePatchChunk()
|
/frameworks/base/include/androidfw/ |
D | ResourceTypes.h | 125 uint8_t numYDivs; member
|
/frameworks/base/libs/androidfw/ |
D | ResourceTypes.cpp | 140 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()
|