Lines Matching refs:yDivs
106 const int32_t yDivs[], int numYDivs, in DrawMesh() argument
123 for (i = 0; i < numYDivs && yDivs[i] == 0; i++) { in DrawMesh()
127 yDivs += zeros; in DrawMesh()
128 for (i = numYDivs - 1; i >= 0 && yDivs[i] == bitmap.height(); --i) { in DrawMesh()
149 SkDebugf("--- ydivs[%d] %d\n", i, yDivs[i]); in DrawMesh()
170 stretchSize += yDivs[i] - yDivs[i-1]; in DrawMesh()
217 const SkScalar ty = SkIntToScalar(yDivs[y]); in DrawMesh()
312 int32_t yDivs[2]; in DrawNine() local
316 yDivs[0] = margins.fTop; in DrawNine()
317 yDivs[1] = bitmap.height() - margins.fBottom; in DrawNine()
324 if (yDivs[0] > yDivs[1]) { in DrawNine()
325 yDivs[0] = bitmap.height() * margins.fTop / in DrawNine()
327 yDivs[1] = yDivs[0]; in DrawNine()
331 xDivs, 2, yDivs, 2, paint); in DrawNine()