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

/frameworks/base/libs/hwui/
H A DPatch.cpp82 const int32_t* xDivs = patch->xDivs; local
97 stretchSize += xDivs[i] - xDivs[i - 1];
143 generateRow(xDivs, xCount, vertex, y1, y2, v1, v2, stretchX, rescaleX,
155 generateRow(xDivs, xCount, vertex, y1, y2, v1, 1.0f, stretchX, rescaleX,
170 void Patch::generateRow(const int32_t* xDivs, uint32_t xCount, TextureVertex*& vertex, argument
181 float stepX = xDivs[i];
/frameworks/base/tools/aapt/
H A DImages.cpp47 free(info9Patch.xDivs);
431 hpatch, image->info9Patch.xDivs[0], image->info9Patch.xDivs[1],
453 int32_t* xDivs = (int32_t*) malloc(maxSizeXDivs); local
464 memset(xDivs, -1, maxSizeXDivs);
496 if (get_horizontal_ticks(p, W, transparent, true, &xDivs[0],
497 &xDivs[1], &errorMsg, &numXDivs, true) != NO_ERROR) {
498 errorPixel = xDivs[0];
549 image->info9Patch.xDivs = xDivs;
[all...]
/frameworks/base/include/androidfw/
H A DResourceTypes.h82 * xDivs and yDivs point to arrays of horizontal and vertical pixel
106 Res_png_9patch() : wasDeserialized(false), xDivs(NULL),
116 // 0 to xDivs[0]-1 and the second patch includes the pixels
117 // from xDivs[0] to xDivs[1]-1.
119 int32_t* xDivs; member in struct:android::Res_png_9patch

Completed in 104 milliseconds