/external/chromium_org/third_party/skia/include/utils/ |
SkNinePatch.h | 28 const int32_t xDivs[], int numXDivs,
|
/external/skia/include/utils/ |
SkNinePatch.h | 28 const int32_t xDivs[], int numXDivs,
|
/external/chromium_org/third_party/skia/src/utils/ |
SkNinePatch.cpp | 76 const SkRect& bounds, const int32_t xDivs[], int numXDivs, 85 const SkScalar tx = SkIntToScalar(xDivs[x]); 105 const int32_t xDivs[], int numXDivs, 146 SkDebugf("--- xdivs[%d] %d\n", i, xDivs[i]); 158 stretchSize += xDivs[i] - xDivs[i-1]; 212 fillRow(verts, texs, vy, 0, bounds, xDivs, numXDivs, 231 fillRow(verts, texs, vy, ty, bounds, xDivs, numXDivs, 237 bounds, xDivs, numXDivs, stretchX, bitmap.width()) [all...] |
/external/skia/src/utils/ |
SkNinePatch.cpp | 76 const SkRect& bounds, const int32_t xDivs[], int numXDivs, 85 const SkScalar tx = SkIntToScalar(xDivs[x]); 105 const int32_t xDivs[], int numXDivs, 146 SkDebugf("--- xdivs[%d] %d\n", i, xDivs[i]); 158 stretchSize += xDivs[i] - xDivs[i-1]; 212 fillRow(verts, texs, vy, 0, bounds, xDivs, numXDivs, 231 fillRow(verts, texs, vy, ty, bounds, xDivs, numXDivs, 237 bounds, xDivs, numXDivs, stretchX, bitmap.width()) [all...] |
/frameworks/base/libs/hwui/ |
Patch.cpp | 82 const int32_t* xDivs = patch->xDivs; 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, 181 float stepX = xDivs[i];
|
Patch.h | 63 void generateRow(const int32_t* xDivs, uint32_t xCount, TextureVertex*& vertex,
|
/frameworks/base/core/jni/android/graphics/ |
NinePatchImpl.cpp | 123 chunk.xDivs, chunk.numXDivs, 148 ALOGV("======== 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 | 111 chunk->xDivs[i] = int(chunk->xDivs[i] * scale + 0.5f); 112 if (i > 0 && chunk->xDivs[i] == chunk->xDivs[i - 1]) { 113 chunk->xDivs[i]++;
|
/frameworks/base/tools/aapt/ |
Images.cpp | 47 free(info9Patch.xDivs); 431 hpatch, image->info9Patch.xDivs[0], image->info9Patch.xDivs[1], 453 int32_t* xDivs = (int32_t*) malloc(maxSizeXDivs); 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/ |
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/androidfw/ |
ResourceTypes.cpp | 138 xDivs[i] = htonl(xDivs[i]); 155 xDivs[i] = ntohl(xDivs[i]); 197 memmove(data, this->xDivs, numXDivs * sizeof(int32_t)); 213 outData->xDivs = (int32_t*) data; [all...] |