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

  /external/libgdx/gdx/src/com/badlogic/gdx/graphics/g2d/
PolygonSprite.java 215 final float[] regionVertices = region.vertices;
225 for (int i = 0, v = 0, n = regionVertices.length; i < n; i += 2, v += 5) {
226 fx = (regionVertices[i] * sX - originX) * scaleX;
227 fy = (regionVertices[i + 1] * sY - originY) * scaleY;
334 float[] regionVertices = region.vertices;
337 if (vertices == null || regionVertices.length != vertices.length) vertices = new float[(regionVertices.length / 2) * 5];
341 for (int i = 0, v = 2, n = regionVertices.length; i < n; i += 2, v += 5) {
PolygonSpriteBatch.java 211 final float[] regionVertices = region.vertices;
212 final int regionVerticesLength = regionVertices.length;
233 vertices[vertexIndex++] = regionVertices[i] + x;
234 vertices[vertexIndex++] = regionVertices[i + 1] + y;
249 final float[] regionVertices = region.vertices;
250 final int regionVerticesLength = regionVertices.length;
274 vertices[vertexIndex++] = regionVertices[i] * sX + x;
275 vertices[vertexIndex++] = regionVertices[i + 1] * sY + y;
294 final float[] regionVertices = region.vertices;
295 final int regionVerticesLength = regionVertices.length;
    [all...]
  /frameworks/base/libs/hwui/
BakedOpRenderer.cpp 281 std::vector<Vertex> regionVertices;
285 regionVertices.push_back(Vertex{(float)r.fLeft, (float)r.fTop});
286 regionVertices.push_back(Vertex{(float)r.fRight, (float)r.fTop});
287 regionVertices.push_back(Vertex{(float)r.fLeft, (float)r.fBottom});
288 regionVertices.push_back(Vertex{(float)r.fRight, (float)r.fBottom});
291 setupStencilQuads(regionVertices, 0);

Completed in 135 milliseconds