Home
last modified time | relevance | path

Searched refs:stretchSize (Results 1 – 2 of 2) sorted by relevance

/external/skia/src/utils/
DSkNinePatch.cpp156 int stretchSize = 0; in DrawMesh() local
158 stretchSize += xDivs[i] - xDivs[i-1]; in DrawMesh()
160 const SkScalar fixed = SkIntToScalar(bitmap.width() - stretchSize); in DrawMesh()
162 stretchX = (bounds.width() - fixed) / stretchSize; in DrawMesh()
168 int stretchSize = 0; in DrawMesh() local
170 stretchSize += yDivs[i] - yDivs[i-1]; in DrawMesh()
172 const SkScalar fixed = SkIntToScalar(bitmap.height() - stretchSize); in DrawMesh()
174 stretchY = (bounds.height() - fixed) / stretchSize; in DrawMesh()
/external/skia/src/effects/
DSkBlurMaskFilter.cpp386 const SkScalar stretchSize = SkIntToScalar(3); in filterRRectToNine() local
388 const SkScalar totalSmallWidth = leftUnstretched + rightUnstretched + stretchSize; in filterRRectToNine()
397 const SkScalar totalSmallHeight = topUnstretched + bottomUnstretched + stretchSize; in filterRRectToNine()