Home | History | Annotate | Download | only in aapt

Lines Matching refs:yDivs

48         free(info9Patch.yDivs);
321 vpatch, image->info9Patch.yDivs[0], image->info9Patch.yDivs[1],
341 int32_t* yDivs = (int32_t*) malloc(maxSizeYDivs);
352 memset(yDivs, -1, maxSizeYDivs);
388 if (get_vertical_ticks(image->rows, 0, H, transparent, true, &yDivs[0],
389 &yDivs[1], &errorMsg, &numYDivs, true) != NO_ERROR) {
390 errorPixel = yDivs[0];
415 image->info9Patch.yDivs = yDivs;
426 image->info9Patch.paddingTop = yDivs[0];
427 image->info9Patch.paddingBottom = H - 2 - yDivs[1];
435 image->info9Patch.yDivs[0], image->info9Patch.yDivs[1]));
460 if (yDivs[0] == 0) { // Row 1 is strechable
463 if (yDivs[numYDivs - 1] == H) {
484 // being either yDivs[1] (if yDivs[0]=0) of yDivs[0]. In the former case
487 // being either yDivs[numYDivs-2] (if yDivs[numYDivs-1]=bitmap.height) or
488 // yDivs[numYDivs-1]. In the former case the last row is stretchable along
499 for (j = (yDivs[0] == 0 ? 1 : 0);
505 bottom = yDivs[j];
580 assert(outPatch->yDivs[i] == inPatch->yDivs[i]);
609 if (patch1.yDivs[i] != patch2.yDivs[i]) {