Home | History | Annotate | Download | only in hwui

Lines Matching refs:y2

123     float y2 = 0.0f;
133 y2 = y1 + floorf(segment * stretchY + 0.5f);
135 y2 = y1 + segment * rescaleY;
138 float vOffset = y1 == y2 ? 0.0f : 0.5 - (0.5 * segment / (y2 - y1));
143 generateRow(xDivs, xCount, vertex, y1, y2, v1, v2, stretchX, rescaleX,
147 y1 = y2;
154 y2 = height;
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,
195 generateQuad(vertex, x1, y1, x2, y2, u1, v1, u2, v2, quadCount);
206 generateQuad(vertex, x1, y1, x2, y2, u1, v1, 1.0f, v2, quadCount);
210 void Patch::generateQuad(TextureVertex*& vertex, float x1, float y1, float x2, float y2,
218 if (y2 < 0.0f) y2 = 0.0f;
221 if ((mColors[oldQuadCount] == 0) || x1 >= x2 || y1 >= y2) {
225 PATCH_LOGD(" right, bottom = %.2f, %.2f\t\tu2, v2 = %.8f, %.8f", x2, y2, u2, v2);
232 Rect bounds(x1, y1, x2, y2);
240 TextureVertex::set(vertex++, x1, y2, u1, v2);
241 TextureVertex::set(vertex++, x2, y2, u2, v2);
249 PATCH_LOGD(" right, bottom = %.2f, %.2f\t\tu2, v2 = %.8f, %.8f", x2, y2, u2, v2);