Lines Matching refs:xDivs
32 static sk_sp<SkImage> make_image(SkCanvas* root, int* xDivs, int* yDivs, int padLeft, int padTop, in make_image() argument
46 xDivs[0] = kCap + padLeft; in make_image()
48 xDivs[1] = kCap + kMid + padLeft; in make_image()
50 xDivs[2] = kCap + 2 * kMid + padLeft; in make_image()
52 xDivs[3] = kCap + 3 * kMid + padLeft; in make_image()
111 int xDivs[5]; in onDrawHelper() local
113 xDivs[0] = padLeft; in onDrawHelper()
117 sk_sp<SkImage> image = make_image(canvas, xDivs + 1, yDivs + 1, padLeft, padTop, in onDrawHelper()
135 lattice.fXDivs = xDivs + 1; in onDrawHelper()
163 int srcX = xDivs[fixedColorX[rectNum]-1]; in onDrawHelper()
171 lattice.fXDivs = xDivs; in onDrawHelper()
295 int xDivs[2] = {4, 5}; in onDrawHelper() local
306 lattice.fXDivs = xDivs; in onDrawHelper()