Lines Matching refs:yDivs
48 free(info9Patch.yDivs); in ~image_info()
321 vpatch, image->info9Patch.yDivs[0], image->info9Patch.yDivs[1], in get_color()
341 int32_t* yDivs = (int32_t*) malloc(maxSizeYDivs); in do_9patch() local
352 memset(yDivs, -1, maxSizeYDivs); in do_9patch()
388 if (get_vertical_ticks(image->rows, 0, H, transparent, true, &yDivs[0], in do_9patch()
389 &yDivs[1], &errorMsg, &numYDivs, true) != NO_ERROR) { in do_9patch()
390 errorPixel = yDivs[0]; in do_9patch()
415 image->info9Patch.yDivs = yDivs; in do_9patch()
426 image->info9Patch.paddingTop = yDivs[0]; in do_9patch()
427 image->info9Patch.paddingBottom = H - 2 - yDivs[1]; in do_9patch()
435 image->info9Patch.yDivs[0], image->info9Patch.yDivs[1])); in do_9patch()
460 if (yDivs[0] == 0) { // Row 1 is strechable in do_9patch()
463 if (yDivs[numYDivs - 1] == H) { in do_9patch()
499 for (j = (yDivs[0] == 0 ? 1 : 0); in do_9patch()
505 bottom = yDivs[j]; in do_9patch()
580 assert(outPatch->yDivs[i] == inPatch->yDivs[i]); in checkNinePatchSerialization()
609 if (patch1.yDivs[i] != patch2.yDivs[i]) { in patch_equals()