Home | History | Annotate | Download | only in hwui

Lines Matching defs:x1

216     float x1 = 0.0f;
226 x2 = x1 + floorf(segment * stretchX + 0.5f);
228 x2 = x1 + stepX - previousStepX;
234 x1 += i * EXPLODE_GAP;
237 generateQuad(vertex, x1, y1, x2, y2, u1, v1, u2, v2, quadCount);
243 x1 = x2;
252 x1 += mXCount * EXPLODE_GAP;
255 generateQuad(vertex, x1, y1, x2, y2, u1, v1, 1.0f, v2, quadCount);
259 void Patch::generateQuad(TextureVertex*& vertex, float x1, float y1, float x2, float y2,
265 if ((mColorKey >> oldQuadCount) & 0x1) {
268 PATCH_LOGD(" left, top = %.2f, %.2f\t\tu1, v1 = %.2f, %.2f", x1, y1, u1, v1);
277 Rect bounds(x1, y1, x2, y2);
283 TextureVertex::set(vertex++, x1, y1, u1, v1);
285 TextureVertex::set(vertex++, x1, y2, u1, v2);
288 TextureVertex::set(vertex++, x1, y2, u1, v2);
297 PATCH_LOGD(" left, top = %.2f, %.2f\t\tu1, v1 = %.2f, %.2f", x1, y1, u1, v1);