Lines Matching refs:numXDivs
58 const SkRect& bounds, const int32_t xDivs[], int numXDivs, in fillRow() argument
63 for (int x = 0; x < numXDivs; x++) { in fillRow()
86 const int32_t xDivs[], int numXDivs, in DrawMesh() argument
116 const int numXStretch = (numXDivs + 1) >> 1; in DrawMesh()
128 for (i = 0; i < numXDivs; i++) { in DrawMesh()
140 for (int i = 1; i < numXDivs; i += 2) { in DrawMesh()
166 numXDivs + 1, numYDivs + 1, in DrawMesh()
170 const int vCount = (numXDivs + 2) * (numYDivs + 2); in DrawMesh()
172 const int indexCount = (numXDivs + 1) * (numYDivs + 1) * 2 * 3; in DrawMesh()
186 if (numXDivs == 2 && numYDivs <= 2) { in DrawMesh()
189 SkDEBUGCODE(int n =) fillIndices(indices, numXDivs + 1, numYDivs + 1); in DrawMesh()
195 fillRow(verts, texs, vy, 0, bounds, xDivs, numXDivs, in DrawMesh()
197 verts += numXDivs + 2; in DrawMesh()
198 texs += numXDivs + 2; in DrawMesh()
206 fillRow(verts, texs, vy, ty, bounds, xDivs, numXDivs, in DrawMesh()
208 verts += numXDivs + 2; in DrawMesh()
209 texs += numXDivs + 2; in DrawMesh()
212 bounds, xDivs, numXDivs, stretchX, bitmap.width()); in DrawMesh()