HomeSort by relevance Sort by last modified time
    Searched refs:xDivs (Results 1 - 17 of 17) sorted by null

  /external/skia/include/utils/
SkNinePatch.h 28 const int32_t xDivs[], int numXDivs,
  /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/
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 475 int32_t* xDivs = NULL;
482 xDivs = getInts(xDivsCount);
    [all...]
OpenGLRenderer.h 123 virtual status_t drawPatch(SkBitmap* bitmap, const int32_t* xDivs, const int32_t* yDivs,
DisplayListRenderer.h 588 virtual status_t 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 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 101 chunk->xDivs[i] = int(chunk->xDivs[i] * scale + 0.5f);
102 if (i > 0 && chunk->xDivs[i] == chunk->xDivs[i - 1]) {
103 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...]
  /external/webkit/Source/WebKit/android/
RenderSkinNinePatch.cpp 99 data->xDivs, data->numXDivs,
  /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 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 408 renderer->drawPatch(bitmap, &patch->xDivs[0], &patch->yDivs[0],
    [all...]

Completed in 7742 milliseconds