Home | History | Annotate | Download | only in aapt

Lines Matching refs:info9Patch

58         void* serialized = Res_png_9patch::serialize(info9Patch, xDivs, yDivs, colors);
69 Res_png_9patch info9Patch;
565 image->info9Patch.paddingLeft = image->info9Patch.paddingRight =
566 image->info9Patch.paddingTop = image->info9Patch.paddingBottom = -1;
611 image->info9Patch.numXDivs = numXDivs;
612 image->info9Patch.numYDivs = numYDivs;
615 if (get_horizontal_ticks(image->rows[H-1], W, transparent, false, &image->info9Patch.paddingLeft,
616 &image->info9Patch.paddingRight, &errorMsg, NULL, false) != NO_ERROR) {
617 errorPixel = image->info9Patch.paddingLeft;
623 if (get_vertical_ticks(image->rows, (W-1)*4, H, transparent, false, &image->info9Patch.paddingTop,
624 &image->info9Patch.paddingBottom, &errorMsg, NULL, false) != NO_ERROR) {
625 errorPixel = image->info9Patch.paddingTop;
655 if (image->info9Patch.paddingLeft < 0) {
656 image->info9Patch.paddingLeft = xDivs[0];
657 image->info9Patch.paddingRight = W - 2 - xDivs[1];
660 image->info9Patch.paddingRight = W - 2 - image->info9Patch.paddingRight;
662 if (image->info9Patch.paddingTop < 0) {
663 image->info9Patch.paddingTop = yDivs[0];
664 image->info9Patch.paddingBottom = H - 2 - yDivs[1];
667 image->info9Patch.paddingBottom = H - 2 - image->info9Patch.paddingBottom;
675 image->info9Patch.paddingLeft, image->info9Patch.paddingRight,
676 image->info9Patch.paddingTop, image->info9Patch.paddingBottom);
714 image->info9Patch.numColors = numColors;
1251 unknowns[p_index].size = imageInfo.info9Patch.serializedSize();
1253 checkNinePatchSerialization(&imageInfo.info9Patch, unknowns[p_index].data);