Home
last modified time | relevance | path

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

/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/tests/wallpapereffectsgeneration/src/android/wallpapereffectsgeneration/cts/
DWallpaperEffectsGenerationTestUtils.java22 float[] vertices = new float[verticesNum]; in createVertices() local
24 vertices[i] = (float) i; in createVertices()
26 return vertices; in createVertices()
DTexturedMeshTest.java45 final float[] vertices = WallpaperEffectsGenerationTestUtils.createVertices(1500000); in testCreateTexturedMeshRequest() local
52 .setVertices(vertices) in testCreateTexturedMeshRequest()
59 assertThat(texturedMesh.getVertices()).isEqualTo(vertices); in testCreateTexturedMeshRequest()
73 assertThat(copy.getVertices()).isEqualTo(vertices); in testCreateTexturedMeshRequest()
DCinematicEffectResponseTest.java53 final float[] vertices = WallpaperEffectsGenerationTestUtils.createVertices(1500000); in testCreateCinematicEffectResponse() local
60 .setVertices(vertices) in testCreateCinematicEffectResponse()
121 assertThat(mesh.getVertices()).isEqualTo(vertices); in testCreateCinematicEffectResponse()
164 assertThat(meshCopy.getVertices()).isEqualTo(vertices); in testCreateCinematicEffectResponse()
/cts/tests/tests/uirendering/src/android/uirendering/cts/testclasses/
DExactCanvasTests.java296 float[] vertices = new float[6]; in testBlackTriangleVertices() local
297 vertices[0] = width / 2.0f; in testBlackTriangleVertices()
298 vertices[1] = 0; in testBlackTriangleVertices()
299 vertices[2] = width; in testBlackTriangleVertices()
300 vertices[3] = height; in testBlackTriangleVertices()
301 vertices[4] = 0; in testBlackTriangleVertices()
302 vertices[5] = height; in testBlackTriangleVertices()
304 canvas.drawVertices(Canvas.VertexMode.TRIANGLES, vertices.length, vertices, 0, in testBlackTriangleVertices()
357 float[] vertices = new float[6]; in testBlackTriangleVertices2() local
358 vertices[0] = 40; in testBlackTriangleVertices2()
[all …]
DPaintTests.kt180 val vertices = floatArrayOf( in <lambda>() constant
186 canvas.drawVertices(Canvas.VertexMode.TRIANGLE_FAN, vertices.size, vertices, 0, in <lambda>()
/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/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/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/hostsidetests/adpf/app/hintsession/src/cpp/
DModel.h61 inline Model(std::vector<Vertex> vertices, std::vector<Index> indices, in Model() argument
63 : currentVertices_(vertices), in Model()
64 startVertices_(std::move(vertices)), in Model()
DRenderer.cpp304 thread_local std::vector<Vertex> vertices = { in addHead() local
311 thread_local Model baseModel{vertices, indices, spAndroidRobotTexture}; in addHead()
/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/codec/src/android/media/codec/cts/
DEncodeVirtualDisplayWithCompositionTestImpl.java980 float[] vertices = new float[] { in GlWindow() local
990 vertices.length * FLOAT_SIZE_BYTES) in GlWindow()
992 mVerticesData.put(vertices).position(0); in GlWindow()