Lines Matching refs:info9Patch
51 void* serialized = android::Res_png_9patch::serialize(info9Patch, xDivs, in serialize9Patch()
62 android::Res_png_9patch info9Patch; member
544 unknowns[pIndex].size = info->info9Patch.serializedSize(); in writePng()
546 checkNinePatchSerialization(&info->info9Patch, unknowns[pIndex].data); in writePng()
1000 image->info9Patch.paddingLeft = image->info9Patch.paddingRight = -1; in do9Patch()
1001 image->info9Patch.paddingTop = image->info9Patch.paddingBottom = -1; in do9Patch()
1046 image->info9Patch.numXDivs = numXDivs; in do9Patch()
1047 image->info9Patch.numYDivs = numYDivs; in do9Patch()
1051 &image->info9Patch.paddingLeft, in do9Patch()
1052 &image->info9Patch.paddingRight, &errorMsg, nullptr, in do9Patch()
1054 errorPixel = image->info9Patch.paddingLeft; in do9Patch()
1061 &image->info9Patch.paddingTop, in do9Patch()
1062 &image->info9Patch.paddingBottom, &errorMsg, nullptr, in do9Patch()
1064 errorPixel = image->info9Patch.paddingTop; in do9Patch()
1094 if (image->info9Patch.paddingLeft < 0) { in do9Patch()
1095 image->info9Patch.paddingLeft = xDivs[0]; in do9Patch()
1096 image->info9Patch.paddingRight = W - 2 - xDivs[1]; in do9Patch()
1099 image->info9Patch.paddingRight = W - 2 - image->info9Patch.paddingRight; in do9Patch()
1101 if (image->info9Patch.paddingTop < 0) { in do9Patch()
1102 image->info9Patch.paddingTop = yDivs[0]; in do9Patch()
1103 image->info9Patch.paddingBottom = H - 2 - yDivs[1]; in do9Patch()
1106 image->info9Patch.paddingBottom = H - 2 - image->info9Patch.paddingBottom; in do9Patch()
1156 image->info9Patch.numColors = numColors; in do9Patch()