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

  /external/skia/src/utils/
SkNinePatch.cpp 77 const SkScalar stretchX, int width) {
86 vx += computeVertexDelta(x & 1, tx, prev, stretchX);
153 SkScalar stretchX = 0, stretchY = 0;
162 stretchX = (bounds.width() - fixed) / stretchSize;
163 else // reuse stretchX, but keep it negative as a signal
164 stretchX = SkScalarDiv(-bounds.width(), fixed);
175 else // reuse stretchX, but keep it negative as a signal
184 SkScalarToFloat(stretchX), SkScalarToFloat(stretchY));
213 stretchX, bitmap.width());
232 stretchX, bitmap.width())
    [all...]
  /frameworks/base/libs/hwui/
Patch.cpp 122 float stretchX = 0.0f;
135 stretchX = xStretch / xStretchTex;
177 generateRow(vertex, y1, y2, v1, v2, stretchX, right - left,
196 generateRow(vertex, y1, y2, v1, 1.0f, stretchX, right - left, bitmapWidth, quadCount);
217 float stretchX, float width, float bitmapWidth, uint32_t& quadCount) {
230 x2 = x1 + floorf(segment * stretchX + 0.5f);

Completed in 113 milliseconds