/external/skia/include/utils/ |
SkNinePatch.h | 35 const int32_t xDivs[], int numXDivs,
|
/external/skia/src/utils/ |
SkNinePatch.cpp | 83 const SkRect& bounds, const int32_t xDivs[], int numXDivs, 92 const SkScalar tx = SkIntToScalar(xDivs[x]); 112 const int32_t xDivs[], int numXDivs, 153 SkDebugf("--- xdivs[%d] %d\n", i, xDivs[i]); 165 stretchSize += xDivs[i] - xDivs[i-1]; 219 fillRow(verts, texs, vy, 0, bounds, xDivs, numXDivs, 230 fillRow(verts, texs, vy, ty, bounds, xDivs, numXDivs, 236 bounds, xDivs, numXDivs, stretchX, bitmap.width()) [all...] |
/frameworks/base/libs/hwui/ |
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)) {
|
Patch.h | 55 void copy(const int32_t* xDivs, const int32_t* yDivs); 56 bool matches(const int32_t* xDivs, const int32_t* yDivs, const uint32_t colorKey);
|
Patch.cpp | 66 void Patch::copy(const int32_t* xDivs, const int32_t* yDivs) { 67 memcpy(mXDivs, xDivs, mXCount * sizeof(int32_t)); 79 bool Patch::matches(const int32_t* xDivs, const int32_t* yDivs, const uint32_t colorKey) { 82 copy(xDivs, yDivs); 87 if (mXDivs[i] != xDivs[i]) { 89 copy(xDivs, yDivs);
|
PatchCache.h | 52 const int32_t* xDivs, const int32_t* yDivs, const uint32_t* colors,
|
DisplayListRenderer.cpp | 375 int32_t* xDivs = NULL; 382 xDivs = getInts(xDivsCount); 720 int32_t* xDivs = NULL; 729 xDivs = getInts(xDivsCount); 740 renderer.drawPatch(bitmap, xDivs, yDivs, colors, xDivsCount, yDivsCount, [all...] |
OpenGLRenderer.h | 109 virtual void drawPatch(SkBitmap* bitmap, const int32_t* xDivs, const int32_t* yDivs,
|
DisplayListRenderer.h | 276 void drawPatch(SkBitmap* bitmap, const int32_t* xDivs, const int32_t* yDivs,
|
OpenGLRenderer.cpp | [all...] |
/frameworks/base/core/jni/android/graphics/ |
NinePatchImpl.cpp | 123 chunk.xDivs, chunk.numXDivs, 148 LOGV("======== ninepatch xDivs [%d,%d]\n", chunk.xDivs[0], chunk.xDivs[1]); 174 const int32_t x0 = chunk.xDivs[0]; 194 numStretchyXPixelsRemaining += chunk.xDivs[i + 1] - chunk.xDivs[i]; 263 src.fRight = chunk.xDivs[i];
|
BitmapFactory.cpp | 415 chunk->xDivs[i] = int(chunk->xDivs[i] * scale + 0.5f); 416 if (i > 0 && chunk->xDivs[i] == chunk->xDivs[i - 1]) { 417 chunk->xDivs[i]++;
|
/frameworks/base/tools/aapt/ |
Images.cpp | 47 free(info9Patch.xDivs); 318 hpatch, image->info9Patch.xDivs[0], image->info9Patch.xDivs[1], 340 int32_t* xDivs = (int32_t*) malloc(maxSizeXDivs); 351 memset(xDivs, -1, maxSizeXDivs); 380 if (get_horizontal_ticks(p, W, transparent, true, &xDivs[0], 381 &xDivs[1], &errorMsg, &numXDivs, true) != NO_ERROR) { 382 errorPixel = xDivs[0]; 414 image->info9Patch.xDivs = xDivs; [all...] |
/external/webkit/Source/WebKit/android/ |
RenderSkinNinePatch.cpp | 99 data->xDivs, data->numXDivs,
|
/frameworks/base/include/utils/ |
ResourceTypes.h | 82 * 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; [all...] |
/frameworks/base/libs/utils/ |
ResourceTypes.cpp | 139 xDivs[i] = htonl(xDivs[i]); 156 xDivs[i] = ntohl(xDivs[i]); 198 memmove(data, this->xDivs, numXDivs * sizeof(int32_t)); 214 outData->xDivs = (int32_t*) data; [all...] |
/frameworks/base/core/jni/ |
android_view_GLES20Canvas.cpp | 375 renderer->drawPatch(bitmap, &patch->xDivs[0], &patch->yDivs[0], [all...] |