Lines Matching refs:xDivs
18 static sk_sp<SkImage> make_image(SkCanvas* root, int* xDivs, int* yDivs, int padLeft, int padTop, in make_image() argument
32 xDivs[0] = kCap + padLeft; in make_image()
34 xDivs[1] = kCap + kMid + padLeft; in make_image()
36 xDivs[2] = kCap + 2 * kMid + padLeft; in make_image()
38 xDivs[3] = kCap + 3 * kMid + padLeft; in make_image()
96 int xDivs[5]; in onDrawHelper() local
98 xDivs[0] = padLeft; in onDrawHelper()
102 sk_sp<SkImage> image = make_image(canvas, xDivs + 1, yDivs + 1, padLeft, padTop, in onDrawHelper()
120 lattice.fXDivs = xDivs + 1; in onDrawHelper()
148 int srcX = xDivs[fixedColorX[rectNum]-1]; in onDrawHelper()
156 lattice.fXDivs = xDivs; in onDrawHelper()
273 int xDivs[2] = {4, 5}; in onDrawHelper() local
284 lattice.fXDivs = xDivs; in onDrawHelper()