Lines Matching refs:yDivs
41 xDivs(NULL), yDivs(NULL), colors(NULL), allocRows(NULL) { } in image_info()
54 free(yDivs); in ~image_info()
59 void* serialized = Res_png_9patch::serialize(info9Patch, xDivs, yDivs, colors); in serialize9patch()
72 int32_t* yDivs; member
553 int32_t* yDivs = image->yDivs = (int32_t*) malloc(maxSizeYDivs); in do_9patch() local
565 memset(yDivs, -1, maxSizeYDivs); in do_9patch()
604 if (get_vertical_ticks(image->rows, 0, H, transparent, true, &yDivs[0], in do_9patch()
605 &yDivs[1], &errorMsg, &numYDivs, true) != NO_ERROR) { in do_9patch()
606 errorPixel = yDivs[0]; in do_9patch()
664 image->info9Patch.paddingTop = yDivs[0]; in do_9patch()
665 image->info9Patch.paddingBottom = H - 2 - yDivs[1]; in do_9patch()
674 yDivs[0], yDivs[1]); in do_9patch()
700 if (yDivs[0] == 0) { // Row 1 is strechable in do_9patch()
703 if (yDivs[numYDivs - 1] == H) { in do_9patch()
739 for (j = (yDivs[0] == 0 ? 1 : 0); in do_9patch()
745 bottom = yDivs[j]; in do_9patch()