Searched defs:yDivs (Results 1 - 4 of 4) sorted by relevance

/frameworks/base/libs/hwui/
H A DPatch.cpp63 const int32_t* yDivs = patch->getYDivs(); local
89 stretchSize += yDivs[i] - yDivs[i - 1];
109 float stepY = yDivs[i];
/frameworks/base/tools/aapt/
H A DImages.cpp40 xDivs(NULL), yDivs(NULL), colors(NULL), allocRows(NULL) { }
53 free(yDivs);
58 void* serialized = Res_png_9patch::serialize(info9Patch, xDivs, yDivs, colors);
71 int32_t* yDivs; member in struct:image_info
552 int32_t* yDivs = image->yDivs = (int32_t*) malloc(maxSizeYDivs); local
564 memset(yDivs, -1, maxSizeYDivs);
603 if (get_vertical_ticks(image->rows, 0, H, transparent, true, &yDivs[0],
604 &yDivs[1], &errorMsg, &numYDivs, true) != NO_ERROR) {
605 errorPixel = yDivs[
[all...]
/frameworks/base/tools/aapt2/compile/
H A DPng.cpp46 delete[] yDivs;
51 yDivs, colors.data());
63 int32_t* yDivs = nullptr; member in struct:aapt::PngInfo
986 int32_t* yDivs = image->yDivs = new int32_t[H]; local
998 memset(yDivs, -1, maxSizeYDivs);
1037 if (!getVerticalTicks(image->rows.data(), 0, H, transparent, true, &yDivs[0],
1038 &yDivs[1], &errorMsg, &numYDivs, true)) {
1039 errorPixel = yDivs[0];
1101 image->info9Patch.paddingTop = yDivs[
[all...]
/frameworks/base/libs/androidfw/
H A DResourceTypes.cpp156 int32_t* yDivs = getYDivs(); local
158 yDivs[i] = htonl(yDivs[i]);
176 int32_t* yDivs = getYDivs(); local
178 yDivs[i] = ntohl(yDivs[i]);
203 const int32_t* yDivs, const uint32_t* colors)
208 serialize(patch, xDivs, yDivs, colors, newData);
213 const int32_t* yDivs, const uint32_t* colors, void* outData)
222 memcpy(data, yDivs, patc
202 serialize(const Res_png_9patch& patch, const int32_t* xDivs, const int32_t* yDivs, const uint32_t* colors) argument
212 serialize(const Res_png_9patch& patch, const int32_t* xDivs, const int32_t* yDivs, const uint32_t* colors, void* outData) argument
[all...]

Completed in 165 milliseconds