Searched defs:rescaleX (Results 1 - 1 of 1) sorted by relevance

/frameworks/base/libs/hwui/
H A DPatch.cpp71 float rescaleX = 1.0f; local
83 rescaleX = fixed == 0.0f ? 0.0f : std::min(std::max(width, 0.0f) / fixed, 1.0f);
123 generateRow(xDivs, xCount, vertex, y1, y2, v1, v2, stretchX, rescaleX, width,
135 generateRow(xDivs, xCount, vertex, y1, y2, v1, 1.0f, stretchX, rescaleX, width, bitmapWidth,
147 float y2, float v1, float v2, float stretchX, float rescaleX, float width,
163 x2 = x1 + segment * rescaleX;
146 generateRow(const int32_t* xDivs, uint32_t xCount, TextureVertex*& vertex, float y1, float y2, float v1, float v2, float stretchX, float rescaleX, float width, float bitmapWidth, uint32_t& quadCount) argument

Completed in 165 milliseconds