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

/frameworks/base/libs/hwui/
H A DPatch.cpp62 const int32_t* xDivs = patch->getXDivs(); local
77 stretchSize += xDivs[i] - xDivs[i - 1];
123 generateRow(xDivs, xCount, vertex, y1, y2, v1, v2, stretchX, rescaleX, width,
135 generateRow(xDivs, xCount, vertex, y1, y2, v1, 1.0f, stretchX, rescaleX, width, bitmapWidth,
146 void Patch::generateRow(const int32_t* xDivs, uint32_t xCount, TextureVertex*& vertex, float y1, argument
157 float stepX = xDivs[i];
/frameworks/base/tools/aapt/
H A DImages.cpp40 xDivs(NULL), yDivs(NULL), colors(NULL), allocRows(NULL) { }
52 free(xDivs);
58 void* serialized = Res_png_9patch::serialize(info9Patch, xDivs, yDivs, colors);
70 int32_t* xDivs; member in struct:image_info
551 int32_t* xDivs = image->xDivs = (int32_t*) malloc(maxSizeXDivs); local
563 memset(xDivs, -1, maxSizeXDivs);
595 if (get_horizontal_ticks(p, W, transparent, true, &xDivs[0],
596 &xDivs[1], &errorMsg, &numXDivs, true) != NO_ERROR) {
597 errorPixel = xDivs[
[all...]
/frameworks/base/tools/aapt2/compile/
H A DPng.cpp45 delete[] xDivs;
50 void* serialized = android::Res_png_9patch::serialize(info9Patch, xDivs,
62 int32_t* xDivs = nullptr; member in struct:aapt::PngInfo
985 int32_t* xDivs = image->xDivs = new int32_t[W]; local
997 memset(xDivs, -1, maxSizeXDivs);
1029 if (!getHorizontalTicks(p, W, transparent, true, &xDivs[0], &xDivs[1],
1031 errorPixel = xDivs[0];
1094 image->info9Patch.paddingLeft = xDivs[
[all...]
/frameworks/base/libs/androidfw/
H A DResourceTypes.cpp152 int32_t* xDivs = getXDivs(); local
154 xDivs[i] = htonl(xDivs[i]);
172 int32_t* xDivs = getXDivs(); local
174 xDivs[i] = ntohl(xDivs[i]);
202 void* Res_png_9patch::serialize(const Res_png_9patch& patch, const int32_t* xDivs, argument
208 serialize(patch, xDivs, yDivs, colors, newData);
212 void Res_png_9patch::serialize(const Res_png_9patch& patch, const int32_t* xDivs, argument
220 memcpy(data, xDivs, patc
[all...]

Completed in 2751 milliseconds