Searched refs:triangleCoords (Results 1 – 4 of 4) sorted by relevance
/development/samples/OpenGL/HelloOpenGLES10/src/com/example/android/opengl/ |
D | Triangle.java | 33 static float triangleCoords[] = { field in Triangle 49 triangleCoords.length * 4); in Triangle() 56 vertexBuffer.put(triangleCoords); in Triangle() 79 triangleCoords.length / COORDS_PER_VERTEX); in draw()
|
/development/samples/OpenGL/HelloOpenGLES20/src/com/example/android/opengl/ |
D | Triangle.java | 56 static float triangleCoords[] = { field in Triangle 62 private final int vertexCount = triangleCoords.length / COORDS_PER_VERTEX; 74 triangleCoords.length * 4); in Triangle() 81 vertexBuffer.put(triangleCoords); in Triangle()
|
/development/samples/browseable/WatchFace/Wearable/src/com.example.android.wearable.watchface/ |
D | OpenGLWatchFaceService.java | 259 float[] triangleCoords = new float[]{ in createHand() local 265 return new Gles2ColoredTriangleList(program, triangleCoords, color); in createHand() 278 float[] triangleCoords = getMajorTickTriangleCoords(i); in createMajorTicks() local 279 System.arraycopy(triangleCoords, 0, trianglesCoords, i * 9, triangleCoords.length); in createMajorTicks() 307 float[] triangleCoords = getMinorTickTriangleCoords(i); in createMinorTicks() local 308 System.arraycopy(triangleCoords, 0, trianglesCoords, index, triangleCoords.length); in createMinorTicks()
|
D | Gles2ColoredTriangleList.java | 82 public Gles2ColoredTriangleList(Program program, float[] triangleCoords, float[] color) { in Gles2ColoredTriangleList() argument 83 if (triangleCoords.length % (VERTICE_PER_TRIANGLE * COORDS_PER_VERTEX) != 0) { in Gles2ColoredTriangleList() 93 ByteBuffer bb = ByteBuffer.allocateDirect(triangleCoords.length * BYTES_PER_FLOAT); in Gles2ColoredTriangleList() 102 mVertexBuffer.put(triangleCoords); in Gles2ColoredTriangleList() 107 mNumCoords = triangleCoords.length / COORDS_PER_VERTEX; in Gles2ColoredTriangleList()
|