Searched refs:vertices (Results 1 – 9 of 9) sorted by relevance
/cts/tests/tests/uirendering/src/android/uirendering/cts/testclasses/ |
D | ExactCanvasTests.java | 274 float[] vertices = new float[6]; in testBlackTriangleVertices() local 275 vertices[0] = width / 2.0f; in testBlackTriangleVertices() 276 vertices[1] = 0; in testBlackTriangleVertices() 277 vertices[2] = width; in testBlackTriangleVertices() 278 vertices[3] = height; in testBlackTriangleVertices() 279 vertices[4] = 0; in testBlackTriangleVertices() 280 vertices[5] = height; in testBlackTriangleVertices() 282 canvas.drawVertices(Canvas.VertexMode.TRIANGLES, vertices.length, vertices, 0, in testBlackTriangleVertices() 335 float[] vertices = new float[6]; in testBlackTriangleVertices2() local 336 vertices[0] = 40; in testBlackTriangleVertices2() [all …]
|
/cts/apps/CtsVerifier/src/com/android/cts/verifier/sensors/sixdof/Renderer/RenderUtils/ |
D | ObjImporter.java | 84 ArrayList<Float> vertices = new ArrayList<Float>(); in parse() local 101 vertices.add(Float.parseFloat(parts.nextToken())); in parse() 102 vertices.add(Float.parseFloat(parts.nextToken())); in parse() 103 vertices.add(Float.parseFloat(parts.nextToken())); in parse() 128 if (idx < 0) idx = (vertices.size() / 3) + idx; in parse() 185 aVertices[vertexIndex] = vertices.get(faceIndex); in parse() 186 aVertices[vertexIndex + 1] = vertices.get(faceIndex + 1); in parse() 187 aVertices[vertexIndex + 2] = vertices.get(faceIndex + 2); in parse()
|
/cts/tests/openglperf2/jni/graphics/ |
D | Mesh.cpp | 16 Mesh::Mesh(const float* vertices, const float* normals, const float* texCoords, in Mesh() argument 18 : mVertices(vertices), in Mesh()
|
D | GLUtils.cpp | 101 float* vertices = new float[numVertices * 3]; in loadMesh() local 107 vertices[vIndex + 0] = readFloat(buffer + index); in loadMesh() 109 vertices[vIndex + 1] = readFloat(buffer + index); in loadMesh() 111 vertices[vIndex + 2] = readFloat(buffer + index); in loadMesh() 127 return new Mesh(vertices, normals, texCoords, numVertices); in loadMesh()
|
D | Mesh.h | 23 Mesh(const float* vertices, const float* normals, const float* texCoords,
|
/cts/apps/CtsVerifier/src/com/android/cts/verifier/projection/cube/ |
D | Cube.java | 33 int vertices[] = { in Cube() local 72 ByteBuffer vbb = ByteBuffer.allocateDirect(vertices.length*4); in Cube() 75 mVertexBuffer.put(vertices); in Cube()
|
/cts/tests/openglperf2/ |
D | cob_exporter.py | 47 for vertex_index, vertex_itself in enumerate(mesh.data.faces[uv_index].vertices): 49 vertex = mesh.data.vertices[vertex_itself]
|
/cts/tests/tests/openglperf/src/android/openglperf/cts/ |
D | PlanetsRenderer.java | 401 FloatBuffer vertices = mSpheres[i].getVertices(); in createVbo() local 402 GLES20.glBufferData(GLES20.GL_ARRAY_BUFFER, vertices.limit() in createVbo() 403 * Sphere.FLOAT_SIZE, vertices, GLES20.GL_STATIC_DRAW); in createVbo()
|
/cts/tests/tests/media/src/android/media/cts/ |
D | EncodeVirtualDisplayWithCompositionTest.java | 1047 float[] vertices = new float[] { in GlWindow() local 1057 vertices.length * FLOAT_SIZE_BYTES) in GlWindow() 1059 mVerticesData.put(vertices).position(0); in GlWindow()
|