Searched refs:yDivs (Results 1 - 5 of 5) sorted by relevance

/frameworks/base/core/jni/android/graphics/
H A DNinePatchImpl.cpp120 const int32_t* yDivs = chunk.getYDivs(); local
126 yDivs, chunk.numYDivs,
151 ALOGV("======== ninepatch yDivs [%d,%d]\n", yDivs[0], yDivs[1]);
177 const int32_t y0 = yDivs[0];
201 numStretchyYPixelsRemaining += yDivs[i + 1] - yDivs[i];
216 // being either yDivs[1] (if yDivs[
[all...]
/frameworks/base/tools/aapt/
H A DImages.cpp39 xDivs(NULL), yDivs(NULL), colors(NULL), allocRows(NULL) { }
52 free(yDivs);
57 void* serialized = Res_png_9patch::serialize(info9Patch, xDivs, yDivs, colors);
70 int32_t* yDivs; member in struct:image_info
562 vpatch, image->yDivs[0], image->yDivs[1],
582 int32_t* yDivs = image->yDivs = (int32_t*) malloc(maxSizeYDivs); local
594 memset(yDivs, -1, maxSizeYDivs);
633 if (get_vertical_ticks(image->rows, 0, H, transparent, true, &yDivs[
[all...]
/frameworks/base/libs/hwui/
H A DPatch.cpp84 const int32_t* yDivs = patch->getYDivs(); local
110 stretchSize += yDivs[i] - yDivs[i - 1];
130 float stepY = yDivs[i];
/frameworks/base/include/androidfw/
H A DResourceTypes.h94 * xDivs and yDivs are arrays of horizontal and vertical pixel
125 // The offset (from the start of this structure) to the xDivs & yDivs
128 // the xDivs, yDivs and colors arrays immediately after the location
155 const int32_t* yDivs, const uint32_t* colors);
158 const int32_t* yDivs, const uint32_t* colors, void* outData);
/frameworks/base/libs/androidfw/
H A DResourceTypes.cpp152 int32_t* yDivs = getYDivs(); local
154 yDivs[i] = htonl(yDivs[i]);
172 int32_t* yDivs = getYDivs(); local
174 yDivs[i] = ntohl(yDivs[i]);
199 const int32_t* yDivs, const uint32_t* colors)
204 serialize(patch, xDivs, yDivs, colors, newData);
209 const int32_t* yDivs, const uint32_t* colors, void* outData)
218 memcpy(data, yDivs, patc
198 serialize(const Res_png_9patch& patch, const int32_t* xDivs, const int32_t* yDivs, const uint32_t* colors) argument
208 serialize(const Res_png_9patch& patch, const int32_t* xDivs, const int32_t* yDivs, const uint32_t* colors, void* outData) argument
[all...]

Completed in 1335 milliseconds