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

/frameworks/base/libs/hwui/
H A DPatch.cpp64 const int32_t* yDivs = patch->getYDivs(); local
90 stretchSize += yDivs[i] - yDivs[i - 1];
110 float stepY = yDivs[i];
/frameworks/base/libs/hwui/utils/
H A DNinePatchImpl.cpp113 const int32_t* yDivs = chunk.getYDivs(); local
119 yDivs, chunk.numYDivs,
142 ALOGV("======== ninepatch yDivs [%d,%d]\n", yDivs[0], yDivs[1]);
167 const int32_t y0 = yDivs[0];
194 numStretchyYPixelsRemaining += yDivs[i + 1] - yDivs[i];
209 // being either yDivs[1] (if yDivs[
[all...]
/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.cpp44 delete[] yDivs;
48 void* serialized = android::Res_png_9patch::serialize(info9Patch, xDivs, yDivs,
61 int32_t* yDivs = nullptr; member in struct:aapt::PngInfo
950 int32_t* yDivs = image->yDivs = new int32_t[H]; local
962 memset(yDivs, -1, maxSizeYDivs);
1001 if (!getVerticalTicks(image->rows.data(), 0, H, transparent, true, &yDivs[0], &yDivs[1],
1003 errorPixel = yDivs[0];
1061 image->info9Patch.paddingTop = yDivs[
[all...]
/frameworks/base/libs/androidfw/
H A DResourceTypes.cpp157 int32_t* yDivs = getYDivs(); local
159 yDivs[i] = htonl(yDivs[i]);
177 int32_t* yDivs = getYDivs(); local
179 yDivs[i] = ntohl(yDivs[i]);
204 const int32_t* yDivs, const uint32_t* colors)
209 serialize(patch, xDivs, yDivs, colors, newData);
214 const int32_t* yDivs, const uint32_t* colors, void* outData)
223 memcpy(data, yDivs, patc
203 serialize(const Res_png_9patch& patch, const int32_t* xDivs, const int32_t* yDivs, const uint32_t* colors) argument
213 serialize(const Res_png_9patch& patch, const int32_t* xDivs, const int32_t* yDivs, const uint32_t* colors, void* outData) argument
[all...]

Completed in 163 milliseconds