/frameworks/base/libs/hwui/ |
H A D | PatchCache.cpp | 84 const int32_t* xDivs, const int32_t* yDivs, const uint32_t* colors, 120 mesh->copy(xDivs, yDivs); 129 } else if (!mesh->matches(xDivs, yDivs, colorKey, transparentQuads)) { 82 get(const uint32_t bitmapWidth, const uint32_t 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)); 75 bool Patch::matches(const int32_t* xDivs, const int32_t* yDivs, argument 96 if (memcmp(mYDivs, yDivs, mYCount * sizeof(int32_t))) { 97 memcpy(mYDivs, yDivs, mYCount * sizeof(int32_t));
|
H A D | DisplayListRenderer.cpp | 317 const int32_t* yDivs, const uint32_t* colors, uint32_t width, uint32_t height, 325 yDivs = refBuffer<int>(yDivs, height); 328 addDrawOp(new (alloc()) DrawPatchOp(bitmap, xDivs, yDivs, colors, width, height, numColors, 316 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 | DisplayListOp.h | 908 const int32_t* yDivs, const uint32_t* colors, uint32_t width, uint32_t height, 912 mBitmap(bitmap), mxDivs(xDivs), myDivs(yDivs), 907 DrawPatchOp(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, int alpha, SkXfermode::Mode mode) argument
|
H A D | OpenGLRenderer.cpp | 2298 status_t OpenGLRenderer::drawPatch(SkBitmap* bitmap, const int32_t* xDivs, const int32_t* yDivs, argument 2305 return drawPatch(bitmap, xDivs, yDivs, colors, width, height, numColors, 2309 status_t OpenGLRenderer::drawPatch(SkBitmap* bitmap, const int32_t* xDivs, const int32_t* yDivs, argument 2319 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
|