Searched refs:yDivs (Results 1 – 6 of 6) sorted by relevance
/frameworks/base/libs/hwui/utils/ |
D | NinePatchImpl.cpp | 113 const int32_t* yDivs = chunk.getYDivs(); in Draw() local 119 yDivs, chunk.numYDivs, in Draw() 142 ALOGV("======== ninepatch yDivs [%d,%d]\n", yDivs[0], yDivs[1]); in Draw() 167 const int32_t y0 = yDivs[0]; in Draw() 194 numStretchyYPixelsRemaining += yDivs[i + 1] - yDivs[i]; in Draw() 233 src.fBottom = yDivs[j]; in Draw()
|
/frameworks/base/tools/aapt/ |
D | Images.cpp | 40 xDivs(NULL), yDivs(NULL), colors(NULL), allocRows(NULL) { } in image_info() 53 free(yDivs); in ~image_info() 58 void* serialized = Res_png_9patch::serialize(info9Patch, xDivs, yDivs, colors); in serialize9patch() 71 int32_t* yDivs; member 552 int32_t* yDivs = image->yDivs = (int32_t*) malloc(maxSizeYDivs); in do_9patch() local 564 memset(yDivs, -1, maxSizeYDivs); in do_9patch() 603 if (get_vertical_ticks(image->rows, 0, H, transparent, true, &yDivs[0], in do_9patch() 604 &yDivs[1], &errorMsg, &numYDivs, true) != NO_ERROR) { in do_9patch() 605 errorPixel = yDivs[0]; in do_9patch() 663 image->info9Patch.paddingTop = yDivs[0]; in do_9patch() [all …]
|
/frameworks/base/tools/aapt2/compile/ |
D | Png.cpp | 44 delete[] yDivs; in ~PngInfo() 48 void* serialized = android::Res_png_9patch::serialize(info9Patch, xDivs, yDivs, in serialize9Patch() 61 int32_t* yDivs = nullptr; member 950 int32_t* yDivs = image->yDivs = new int32_t[H]; in do9Patch() local 962 memset(yDivs, -1, maxSizeYDivs); in do9Patch() 1001 if (!getVerticalTicks(image->rows.data(), 0, H, transparent, true, &yDivs[0], &yDivs[1], in do9Patch() 1003 errorPixel = yDivs[0]; in do9Patch() 1061 image->info9Patch.paddingTop = yDivs[0]; in do9Patch() 1062 image->info9Patch.paddingBottom = H - 2 - yDivs[1]; in do9Patch() 1099 if (yDivs[0] == 0) { // Row 1 is strechable in do9Patch() [all …]
|
/frameworks/base/libs/hwui/ |
D | Patch.cpp | 64 const int32_t* yDivs = patch->getYDivs(); in Patch() local 90 stretchSize += yDivs[i] - yDivs[i - 1]; in Patch() 110 float stepY = yDivs[i]; in Patch()
|
/frameworks/base/include/androidfw/ |
D | ResourceTypes.h | 158 const int32_t* yDivs, const uint32_t* colors); 161 const int32_t* yDivs, const uint32_t* colors, void* outData);
|
/frameworks/base/libs/androidfw/ |
D | ResourceTypes.cpp | 157 int32_t* yDivs = getYDivs(); in deviceToFile() local 159 yDivs[i] = htonl(yDivs[i]); in deviceToFile() 177 int32_t* yDivs = getYDivs(); in fileToDevice() local 179 yDivs[i] = ntohl(yDivs[i]); in fileToDevice() 204 const int32_t* yDivs, const uint32_t* colors) in serialize() argument 209 serialize(patch, xDivs, yDivs, colors, newData); in serialize() 214 const int32_t* yDivs, const uint32_t* colors, void* outData) in serialize() argument 223 memcpy(data, yDivs, patch.numYDivs * sizeof(int32_t)); in serialize()
|