/frameworks/base/libs/hwui/ |
H A D | PatchCache.cpp | 55 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 D | Patch.cpp | 66 void Patch::copy(const int32_t* xDivs, const int32_t* yDivs) { argument 68 memcpy(mYDivs, yDivs, mYCount * sizeof(int32_t)); 71 void Patch::copy(const int32_t* yDivs) { argument 72 memcpy(mYDivs, yDivs, mYCount * sizeof(int32_t)); 79 bool Patch::matches(const int32_t* xDivs, const int32_t* yDivs, const uint32_t colorKey) { argument 82 copy(xDivs, yDivs); 89 copy(xDivs, yDivs); 95 if (mYDivs[i] != yDivs[i]) { 97 copy(yDivs);
|
H A D | DisplayListRenderer.cpp | 503 int32_t* yDivs = NULL; local 510 yDivs = getInts(yDivsCount); 1125 int32_t* yDivs = NULL; local 1134 yDivs = getInts(yDivsCount); 1146 drawGlStatus |= renderer.drawPatch(bitmap, xDivs, yDivs, colors, 1645 const int32_t* yDivs, const uint32_t* colors, uint32_t width, uint32_t height, 1655 addInts(yDivs, height); 1644 drawPatch(SkBitmap* bitmap, const int32_t* xDivs, const int32_t* yDivs, const uint32_t* colors, uint32_t width, uint32_t height, int8_t numColors, float left, float top, float right, float bottom, SkPaint* paint) argument
|
H A D | OpenGLRenderer.cpp | 1862 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 D | Images.cpp | 48 free(info9Patch.yDivs); 434 vpatch, image->info9Patch.yDivs[0], image->info9Patch.yDivs[1], 454 int32_t* yDivs = (int32_t*) malloc(maxSizeYDivs); local 465 memset(yDivs, -1, maxSizeYDivs); 504 if (get_vertical_ticks(image->rows, 0, H, transparent, true, &yDivs[0], 505 &yDivs[1], &errorMsg, &numYDivs, true) != NO_ERROR) { 506 errorPixel = yDivs[0]; 550 image->info9Patch.yDivs = yDivs; [all...] |
/frameworks/base/include/androidfw/ |
H A D | ResourceTypes.h | 82 * xDivs and yDivs point to arrays of horizontal and vertical pixel 107 yDivs(NULL), colors(NULL) { } 120 int32_t* yDivs; member in struct:android::Res_png_9patch
|