Searched refs:stretchSize (Results 1 - 4 of 4) sorted by relevance

/external/chromium_org/third_party/skia/src/utils/
H A DSkNinePatch.cpp156 int stretchSize = 0; local
158 stretchSize += xDivs[i] - xDivs[i-1];
160 const SkScalar fixed = SkIntToScalar(bitmap.width() - stretchSize);
162 stretchX = (bounds.width() - fixed) / stretchSize;
168 int stretchSize = 0; local
170 stretchSize += yDivs[i] - yDivs[i-1];
172 const SkScalar fixed = SkIntToScalar(bitmap.height() - stretchSize);
174 stretchY = (bounds.height() - fixed) / stretchSize;
/external/skia/src/utils/
H A DSkNinePatch.cpp156 int stretchSize = 0; local
158 stretchSize += xDivs[i] - xDivs[i-1];
160 const SkScalar fixed = SkIntToScalar(bitmap.width() - stretchSize);
162 stretchX = (bounds.width() - fixed) / stretchSize;
168 int stretchSize = 0; local
170 stretchSize += yDivs[i] - yDivs[i-1];
172 const SkScalar fixed = SkIntToScalar(bitmap.height() - stretchSize);
174 stretchY = (bounds.height() - fixed) / stretchSize;
/external/chromium_org/third_party/skia/src/effects/
H A DSkBlurMaskFilter.cpp344 const SkScalar stretchSize = SkIntToScalar(3); local
346 const SkScalar totalSmallWidth = leftUnstretched + rightUnstretched + stretchSize;
355 const SkScalar totalSmallHeight = topUnstretched + bottomUnstretched + stretchSize;
/external/skia/src/effects/
H A DSkBlurMaskFilter.cpp341 const SkScalar stretchSize = SkIntToScalar(3); local
343 const SkScalar totalSmallWidth = leftUnstretched + rightUnstretched + stretchSize;
352 const SkScalar totalSmallHeight = topUnstretched + bottomUnstretched + stretchSize;

Completed in 490 milliseconds