HomeSort by relevance Sort by last modified time
    Searched full:stretchsize (Results 1 - 3 of 3) sorted by null

  /frameworks/base/libs/hwui/
Patch.cpp 76 uint32_t stretchSize = 0;
78 stretchSize += xDivs[i] - xDivs[i - 1];
80 const float xStretchTex = stretchSize;
81 const float fixed = bitmapWidth - stretchSize;
88 uint32_t stretchSize = 0;
90 stretchSize += yDivs[i] - yDivs[i - 1];
92 const float yStretchTex = stretchSize;
93 const float fixed = bitmapHeight - stretchSize;
  /external/skia/src/utils/
SkNinePatch.cpp 156 int stretchSize = 0;
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;
170 stretchSize += yDivs[i] - yDivs[i-1];
172 const SkScalar fixed = SkIntToScalar(bitmap.height() - stretchSize);
174 stretchY = (bounds.height() - fixed) / stretchSize;
  /external/skia/src/effects/
SkBlurMaskFilter.cpp 386 const SkScalar stretchSize = SkIntToScalar(3);
388 const SkScalar totalSmallWidth = leftUnstretched + rightUnstretched + stretchSize;
397 const SkScalar totalSmallHeight = topUnstretched + bottomUnstretched + stretchSize;
    [all...]

Completed in 261 milliseconds