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

  /external/skia/src/utils/
SkNinePatch.cpp 66 // stretchy areas and scale the fixed areas to fit within the target bounds.
160 SkScalar stretchX = 0, stretchY = 0;
181 stretchY = (bounds.height() - fixed) / stretchSize;
183 stretchY = SkScalarDiv(-bounds.height(), fixed);
191 SkScalarToFloat(stretchX), SkScalarToFloat(stretchY));
227 vy += computeVertexDelta(y & 1, ty, prev, stretchY);
  /frameworks/base/libs/hwui/
Patch.cpp 123 float stretchY = 0.0;
146 stretchY = yStretch / yStretchTex;
163 y2 = y1 + floorf(segment * stretchY + 0.5f);

Completed in 301 milliseconds