Searched refs:yDivs (Results 1 – 6 of 6) sorted by relevance
/frameworks/base/tools/aapt/ |
D | Images.cpp | 48 free(info9Patch.yDivs); in ~image_info() 434 vpatch, image->info9Patch.yDivs[0], image->info9Patch.yDivs[1], in get_color() 454 int32_t* yDivs = (int32_t*) malloc(maxSizeYDivs); in do_9patch() local 465 memset(yDivs, -1, maxSizeYDivs); in do_9patch() 504 if (get_vertical_ticks(image->rows, 0, H, transparent, true, &yDivs[0], in do_9patch() 505 &yDivs[1], &errorMsg, &numYDivs, true) != NO_ERROR) { in do_9patch() 506 errorPixel = yDivs[0]; in do_9patch() 550 image->info9Patch.yDivs = yDivs; in do_9patch() 561 image->info9Patch.paddingTop = yDivs[0]; in do_9patch() 562 image->info9Patch.paddingBottom = H - 2 - yDivs[1]; in do_9patch() [all …]
|
/frameworks/base/core/jni/android/graphics/ |
D | NinePatchImpl.cpp | 124 chunk.yDivs, chunk.numYDivs, in NinePatch_Draw() 149 ALOGV("======== ninepatch yDivs [%d,%d]\n", chunk.yDivs[0], chunk.yDivs[1]); in NinePatch_Draw() 175 const int32_t y0 = chunk.yDivs[0]; in NinePatch_Draw() 199 numStretchyYPixelsRemaining += chunk.yDivs[i + 1] - chunk.yDivs[i]; in NinePatch_Draw() 238 src.fBottom = chunk.yDivs[j]; in NinePatch_Draw()
|
D | BitmapFactory.cpp | 118 chunk->yDivs[i] = int(chunk->yDivs[i] * scale + 0.5f); in scaleNinePatchChunk() 119 if (i > 0 && chunk->yDivs[i] == chunk->yDivs[i - 1]) { in scaleNinePatchChunk() 120 chunk->yDivs[i]++; in scaleNinePatchChunk()
|
/frameworks/base/libs/hwui/ |
D | Patch.cpp | 83 const int32_t* yDivs = patch->yDivs; in createMesh() local 109 stretchSize += yDivs[i] - yDivs[i - 1]; in createMesh() 129 float stepY = yDivs[i]; in createMesh()
|
/frameworks/base/include/androidfw/ |
D | ResourceTypes.h | 107 yDivs(NULL), colors(NULL) { } in Res_png_9patch() 120 int32_t* yDivs; member
|
/frameworks/base/libs/androidfw/ |
D | ResourceTypes.cpp | 141 yDivs[i] = htonl(yDivs[i]); in deviceToFile() 158 yDivs[i] = ntohl(yDivs[i]); in fileToDevice() 199 memmove(data, this->yDivs, numYDivs * sizeof(int32_t)); in serialize() 215 outData->yDivs = (int32_t*) data; in deserializeInternal()
|