Lines Matching refs:xDivs
31 static sk_sp<SkImage> make_image(SkCanvas* root, int* xDivs, int* yDivs, int padLeft, int padTop, in make_image() argument
45 xDivs[0] = kCap + padLeft; in make_image()
47 xDivs[1] = kCap + kMid + padLeft; in make_image()
49 xDivs[2] = kCap + 2 * kMid + padLeft; in make_image()
51 xDivs[3] = kCap + 3 * kMid + padLeft; in make_image()
109 int xDivs[5]; in onDrawHelper() local
111 xDivs[0] = padLeft; in onDrawHelper()
115 sk_sp<SkImage> image = make_image(canvas, xDivs + 1, yDivs + 1, padLeft, padTop, in onDrawHelper()
133 lattice.fXDivs = xDivs + 1; in onDrawHelper()
161 int srcX = xDivs[fixedColorX[rectNum]-1]; in onDrawHelper()
169 lattice.fXDivs = xDivs; in onDrawHelper()
286 int xDivs[2] = {4, 5}; in onDrawHelper() local
297 lattice.fXDivs = xDivs; in onDrawHelper()