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

  /external/chromium_org/third_party/skia/src/utils/
SkNinePatch.cpp 59 // stretchy areas and scale the fixed areas to fit within the target bounds.
153 SkScalar stretchX = 0, stretchY = 0;
174 stretchY = (bounds.height() - fixed) / stretchSize;
176 stretchY = SkScalarDiv(-bounds.height(), fixed);
184 SkScalarToFloat(stretchX), SkScalarToFloat(stretchY));
218 if (stretchY >= 0) {
220 vy += stretchY;
224 } else { // shrink fixed sections, and collaps stretchy sections
228 vy += SkScalarMul(ty, -stretchY);
  /external/skia/src/utils/
SkNinePatch.cpp 59 // stretchy areas and scale the fixed areas to fit within the target bounds.
153 SkScalar stretchX = 0, stretchY = 0;
174 stretchY = (bounds.height() - fixed) / stretchSize;
176 stretchY = SkScalarDiv(-bounds.height(), fixed);
184 SkScalarToFloat(stretchX), SkScalarToFloat(stretchY));
218 if (stretchY >= 0) {
220 vy += stretchY;
224 } else { // shrink fixed sections, and collaps stretchy sections
228 vy += SkScalarMul(ty, -stretchY);
  /frameworks/base/libs/hwui/
Patch.cpp 90 float stretchY = 0.0f;
115 stretchY = yStretch / yStretchTex;
134 y2 = y1 + floorf(segment * stretchY + 0.5f);

Completed in 319 milliseconds