Lines Matching refs:imageWidth
181 void SetImageShader(SkPaint* paint, int imageWidth, int imageHeight, SkTileMode xTile, in SetImageShader() argument
183 auto surface = SkSurface::MakeRasterN32Premul(imageWidth, imageHeight); in SetImageShader()
230 void ImageShaderTestSetup(SkDOM* dom, SkPaint* paint, int imageWidth, int imageHeight, in ImageShaderTestSetup() argument
232 SetImageShader(paint, imageWidth, imageHeight, xTile, yTile); in ImageShaderTestSetup()
243 int imageWidth = 3, imageHeight = 3; in DEF_TEST() local
245 ImageShaderTestSetup(&dom, &paint, imageWidth, imageHeight, rectWidth, rectHeight, in DEF_TEST()
256 REPORTER_ASSERT(reporter, atoi(dom.findAttr(imageNode, "width")) == imageWidth); in DEF_TEST()
268 int imageWidth = 3, imageHeight = 3; in DEF_TEST() local
270 ImageShaderTestSetup(&dom, &paint, imageWidth, imageHeight, rectWidth, rectHeight, in DEF_TEST()
286 REPORTER_ASSERT(reporter, atoi(dom.findAttr(imageNode, "width")) == imageWidth); in DEF_TEST()
291 REPORTER_ASSERT(reporter, atoi(dom.findAttr(patternNode, "width")) == imageWidth); in DEF_TEST()
328 int imageWidth = 3, imageHeight = 3; in DEF_TEST() local
330 ImageShaderTestSetup(&dom, &paint, imageWidth, imageHeight, rectWidth, rectHeight, in DEF_TEST()
346 REPORTER_ASSERT(reporter, atoi(dom.findAttr(imageNode, "width")) == imageWidth); in DEF_TEST()
349 REPORTER_ASSERT(reporter, atoi(dom.findAttr(patternNode, "width")) == imageWidth); in DEF_TEST()