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

/frameworks/base/libs/hwui/
H A DPatchCache.cpp55 const int32_t* xDivs, const int32_t* yDivs, const uint32_t* colors,
91 mesh->copy(xDivs, yDivs);
100 } else if (!mesh->matches(xDivs, yDivs, colorKey)) {
53 get(const float bitmapWidth, const float bitmapHeight, const float pixelWidth, const float pixelHeight, const int32_t* xDivs, const int32_t* yDivs, const uint32_t* colors, const uint32_t width, const uint32_t height, const int8_t numColors) argument
H A DPatch.cpp66 void Patch::copy(const int32_t* xDivs, const int32_t* yDivs) { argument
67 memcpy(mXDivs, xDivs, mXCount * sizeof(int32_t));
79 bool Patch::matches(const int32_t* xDivs, const int32_t* yDivs, const uint32_t colorKey) { argument
82 copy(xDivs, yDivs);
87 if (mXDivs[i] != xDivs[i]) {
89 copy(xDivs, yDivs);
H A DDisplayListRenderer.cpp502 int32_t* xDivs = NULL; local
509 xDivs = getInts(xDivsCount);
1124 int32_t* xDivs = NULL; local
1133 xDivs = getInts(xDivsCount);
1146 drawGlStatus |= renderer.drawPatch(bitmap, xDivs, yDivs, colors,
1644 status_t DisplayListRenderer::drawPatch(SkBitmap* bitmap, const int32_t* xDivs, argument
1654 addInts(xDivs, width);
H A DOpenGLRenderer.cpp1862 status_t OpenGLRenderer::drawPatch(SkBitmap* bitmap, const int32_t* xDivs, const int32_t* yDivs, argument
1869 return drawPatch(bitmap, xDivs, yDivs, colors, width, height, numColors,
1873 status_t OpenGLRenderer::drawPatch(SkBitmap* bitmap, const int32_t* xDivs, const int32_t* yDivs, argument
1890 right - left, bottom - top, xDivs, yDivs, colors, width, height, numColors);
/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 53 milliseconds