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 | 47 delete[] yDivs; in ~PngInfo() 52 yDivs, colors.data()); in serialize9Patch() 64 int32_t* yDivs = nullptr; member 987 int32_t* yDivs = image->yDivs = new int32_t[H]; in do9Patch() local 999 memset(yDivs, -1, maxSizeYDivs); in do9Patch() 1038 if (!getVerticalTicks(image->rows.data(), 0, H, transparent, true, &yDivs[0], in do9Patch() 1039 &yDivs[1], &errorMsg, &numYDivs, true)) { in do9Patch() 1040 errorPixel = yDivs[0]; in do9Patch() 1102 image->info9Patch.paddingTop = yDivs[0]; in do9Patch() 1103 image->info9Patch.paddingBottom = H - 2 - yDivs[1]; in do9Patch() [all …]
|
/frameworks/base/libs/hwui/tests/unit/ |
D | CanvasOpTests.cpp | 520 const int yDivs[] = { 10, 40 }; in TEST() local 525 SkCanvas::Lattice lattice = { xDivs, yDivs, fillTypes[0], 2, in TEST()
|
/frameworks/base/libs/androidfw/include/androidfw/ |
D | ResourceTypes.h | 177 const int32_t* yDivs, const uint32_t* colors); 180 const int32_t* yDivs, const uint32_t* colors, void* outData);
|
/frameworks/base/libs/androidfw/ |
D | ResourceTypes.cpp | 165 int32_t* yDivs = getYDivs(); in deviceToFile() local 167 yDivs[i] = htonl(yDivs[i]); in deviceToFile() 185 int32_t* yDivs = getYDivs(); in fileToDevice() local 187 yDivs[i] = ntohl(yDivs[i]); in fileToDevice() 212 const int32_t* yDivs, const uint32_t* colors) in serialize() argument 217 serialize(patch, xDivs, yDivs, colors, newData); in serialize() 222 const int32_t* yDivs, const uint32_t* colors, void* outData) in serialize() argument 231 memcpy(data, yDivs, patch.numYDivs * sizeof(int32_t)); in serialize()
|