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

  /frameworks/base/libs/hwui/
Patch.cpp 88 float stretchX = 0.0f;
102 stretchX = xStretch / xStretchTex;
143 generateRow(xDivs, xCount, vertex, y1, y2, v1, v2, stretchX, rescaleX,
155 generateRow(xDivs, xCount, vertex, y1, y2, v1, 1.0f, stretchX, rescaleX,
171 float y1, float y2, float v1, float v2, float stretchX, float rescaleX,
185 x2 = x1 + floorf(segment * stretchX + 0.5f);
Patch.h 64 float y1, float y2, float v1, float v2, float stretchX, float rescaleX,
  /external/chromium_org/third_party/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...]
  /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...]

Completed in 115 milliseconds