Searched refs:vertices (Results 1 – 11 of 11) sorted by relevance
/cts/tests/tests/uirendering/src/android/uirendering/cts/testclasses/ |
D | ExactCanvasTests.java | 275 float[] vertices = new float[6]; in testBlackTriangleVertices() local 276 vertices[0] = width / 2.0f; in testBlackTriangleVertices() 277 vertices[1] = 0; in testBlackTriangleVertices() 278 vertices[2] = width; in testBlackTriangleVertices() 279 vertices[3] = height; in testBlackTriangleVertices() 280 vertices[4] = 0; in testBlackTriangleVertices() 281 vertices[5] = height; in testBlackTriangleVertices() 283 canvas.drawVertices(Canvas.VertexMode.TRIANGLES, vertices.length, vertices, 0, in testBlackTriangleVertices() 336 float[] vertices = new float[6]; in testBlackTriangleVertices2() local 337 vertices[0] = 40; in testBlackTriangleVertices2() [all …]
|
D | PaintTests.kt | 180 val vertices = floatArrayOf( in <lambda>() constant 186 canvas.drawVertices(Canvas.VertexMode.TRIANGLE_FAN, vertices.size, vertices, 0, in <lambda>()
|
/cts/tests/tests/telephony/current/src/android/telephony/cts/ |
D | CbGeoUtilsTest.java | 65 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/ |
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 | EncodeVirtualDisplayWithCompositionTestImpl.java | 981 float[] vertices = new float[] { in GlWindow() local 991 vertices.length * FLOAT_SIZE_BYTES) in GlWindow() 993 mVerticesData.put(vertices).position(0); in GlWindow()
|