Home
last modified time | relevance | path

Searched refs:vertices (Results 1 – 10 of 10) sorted by relevance

/cts/tests/tests/uirendering/src/android/uirendering/cts/testclasses/
DExactCanvasTests.java274 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/tests/tests/telephony/current/src/android/telephony/cts/
DCbGeoUtilsTest.java65 ArrayList<CbGeoUtils.LatLng> vertices = new ArrayList<>(); in testPolygon() local
66 vertices.add(p1); in testPolygon()
67 vertices.add(p2); in testPolygon()
68 vertices.add(p3); in testPolygon()
70 CbGeoUtils.Polygon polygon = new CbGeoUtils.Polygon((vertices)); in testPolygon()
71 assertEquals(vertices, polygon.getVertices()); in testPolygon()
/cts/apps/CtsVerifier/src/com/android/cts/verifier/sensors/sixdof/Renderer/RenderUtils/
DObjImporter.java84 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/
DMesh.cpp16 Mesh::Mesh(const float* vertices, const float* normals, const float* texCoords, in Mesh() argument
18 : mVertices(vertices), in Mesh()
DGLUtils.cpp101 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()
DMesh.h23 Mesh(const float* vertices, const float* normals, const float* texCoords,
/cts/apps/CtsVerifier/src/com/android/cts/verifier/projection/cube/
DCube.java33 int vertices[] = { in Cube() local
72 ByteBuffer vbb = ByteBuffer.allocateDirect(vertices.length*4); in Cube()
75 mVertexBuffer.put(vertices); in Cube()
/cts/tests/openglperf2/
Dcob_exporter.py47 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/
DPlanetsRenderer.java401 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/
DEncodeVirtualDisplayWithCompositionTest.java1047 float[] vertices = new float[] { in GlWindow() local
1057 vertices.length * FLOAT_SIZE_BYTES) in GlWindow()
1059 mVerticesData.put(vertices).position(0); in GlWindow()