Lines Matching refs:yDivs
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()
570 image->info9Patch.yDivs[0], image->info9Patch.yDivs[1])); in do_9patch()
595 if (yDivs[0] == 0) { // Row 1 is strechable in do_9patch()
598 if (yDivs[numYDivs - 1] == H) { in do_9patch()
634 for (j = (yDivs[0] == 0 ? 1 : 0); in do_9patch()
640 bottom = yDivs[j]; in do_9patch()
715 assert(outPatch->yDivs[i] == inPatch->yDivs[i]); in checkNinePatchSerialization()
744 if (patch1.yDivs[i] != patch2.yDivs[i]) { in patch_equals()