Searched refs:yDivs (Results 1 – 5 of 5) sorted by relevance
/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 | 46 delete[] yDivs; in ~PngInfo() 51 yDivs, colors.data()); in serialize9Patch() 63 int32_t* yDivs = nullptr; member 986 int32_t* yDivs = image->yDivs = new int32_t[H]; in do9Patch() local 998 memset(yDivs, -1, maxSizeYDivs); in do9Patch() 1037 if (!getVerticalTicks(image->rows.data(), 0, H, transparent, true, &yDivs[0], in do9Patch() 1038 &yDivs[1], &errorMsg, &numYDivs, true)) { in do9Patch() 1039 errorPixel = yDivs[0]; in do9Patch() 1101 image->info9Patch.paddingTop = yDivs[0]; in do9Patch() 1102 image->info9Patch.paddingBottom = H - 2 - yDivs[1]; 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/libs/androidfw/include/androidfw/ |
D | ResourceTypes.h | 157 const int32_t* yDivs, const uint32_t* colors); 160 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()
|