Lines Matching refs:xDivs
40 xDivs(NULL), yDivs(NULL), colors(NULL), allocRows(NULL) { } in image_info()
52 free(xDivs); in ~image_info()
58 void* serialized = Res_png_9patch::serialize(info9Patch, xDivs, yDivs, colors); in serialize9patch()
70 int32_t* xDivs; member
551 int32_t* xDivs = image->xDivs = (int32_t*) malloc(maxSizeXDivs); in do_9patch() local
563 memset(xDivs, -1, maxSizeXDivs); in do_9patch()
595 if (get_horizontal_ticks(p, W, transparent, true, &xDivs[0], in do_9patch()
596 &xDivs[1], &errorMsg, &numXDivs, true) != NO_ERROR) { in do_9patch()
597 errorPixel = xDivs[0]; in do_9patch()
656 image->info9Patch.paddingLeft = xDivs[0]; in do_9patch()
657 image->info9Patch.paddingRight = W - 2 - xDivs[1]; in do_9patch()
672 xDivs[0], xDivs[1], in do_9patch()
692 if (xDivs[0] == 0) { // Column 1 is strechable in do_9patch()
695 if (xDivs[numXDivs - 1] == W) { in do_9patch()
749 for (i = xDivs[0] == 0 ? 1 : 0; in do_9patch()
755 right = xDivs[i]; in do_9patch()