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

  /external/skia/legacy/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...]
  /frameworks/base/libs/hwui/
Patch.cpp 119 float stretchX = 0.0f;
133 stretchX = xStretch / xStretchTex;
177 generateRow(vertex, y1, y2, v1, v2, stretchX, rescaleX, right - left,
196 generateRow(vertex, y1, y2, v1, 1.0f, stretchX, rescaleX, right - left,
218 float stretchX, float rescaleX, float width, float bitmapWidth, uint32_t& quadCount) {
231 x2 = x1 + floorf(segment * stretchX + 0.5f);
Patch.h 76 float v1, float v2, float stretchX, float rescaleX,

Completed in 218 milliseconds