Home | History | Annotate | Download | only in utils

Lines Matching refs:yDivs

113                            const int32_t yDivs[], int numYDivs,
130 for (i = 0; i < numYDivs && yDivs[i] == 0; i++) {
134 yDivs += zeros;
135 for (i = numYDivs - 1; i >= 0 && yDivs[i] == bitmap.height(); --i) {
156 SkDebugf("--- ydivs[%d] %d\n", i, yDivs[i]);
177 stretchSize += yDivs[i] - yDivs[i-1];
209 // we use <= for YDivs, since the prebuild indices work for 3x2 and 3x1 too
226 const SkScalar ty = SkIntToScalar(yDivs[y]);
311 int32_t yDivs[2];
315 yDivs[0] = margins.fTop;
316 yDivs[1] = bitmap.height() - margins.fBottom;
323 if (yDivs[0] > yDivs[1]) {
324 yDivs[0] = bitmap.height() * margins.fTop /
326 yDivs[1] = yDivs[0];
330 xDivs, 2, yDivs, 2, paint);