Home
last modified time | relevance | path

Searched refs:triangleVertices (Results 1 – 2 of 2) sorted by relevance

/cts/tests/tests/opengl/src/android/opengl/cts/
DEglConfigGLSurfaceView.java83 float[] triangleVertices = { in onSurfaceCreated() local
89 ByteBuffer byteBuffer = ByteBuffer.allocateDirect(triangleVertices.length * 4); in onSurfaceCreated()
92 mFloatBuffer = ByteBuffer.allocateDirect(triangleVertices.length * 4) in onSurfaceCreated()
95 mFloatBuffer.put(triangleVertices).position(0); in onSurfaceCreated()
149 float[] triangleVertices = { in onSurfaceCreated() local
155 mFloatBuffer = ByteBuffer.allocateDirect(triangleVertices.length * 4) in onSurfaceCreated()
158 mFloatBuffer.put(triangleVertices).position(0); in onSurfaceCreated()
/cts/tests/tests/media/src/android/media/cts/
DDecodeAccuracyTestBase.java987 private FloatBuffer triangleVertices; field in GLSurfaceViewFactory.GLSurfaceViewThread
1040 triangleVertices = ByteBuffer in run()
1043 triangleVertices.put(triangleVerticesData).position(0); in run()
1189 triangleVertices.position(TRIANGLE_VERTICES_DATA_POS_OFFSET); in drawFrame()
1191 TRIANGLE_VERTICES_DATA_STRIDE_BYTES, triangleVertices); in drawFrame()
1196 triangleVertices.position(TRIANGLE_VERTICES_DATA_UV_OFFSET); in drawFrame()
1198 TRIANGLE_VERTICES_DATA_STRIDE_BYTES, triangleVertices); in drawFrame()