Home
last modified time | relevance | path

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

/development/samples/ApiDemos/src/com/example/android/apis/graphics/
DCube.java33 int vertices[] = { in Cube() local
72 ByteBuffer vbb = ByteBuffer.allocateDirect(vertices.length*4); in Cube()
75 mVertexBuffer.put(vertices); in Cube()
/development/samples/ApiDemos/src/com/example/android/apis/os/
DRotationVectorDemo.java163 final float vertices[] = { in Cube() local
186 ByteBuffer vbb = ByteBuffer.allocateDirect(vertices.length*4); in Cube()
189 mVertexBuffer.put(vertices); in Cube()
/development/samples/Compass/src/com/example/android/compass/
DCompassActivity.java165 float vertices[] = { in onSurfaceCreated() local
188 vbb = ByteBuffer.allocateDirect(vertices.length*4); in onSurfaceCreated()
191 mVertexBuffer.put(vertices); in onSurfaceCreated()
/development/ndk/platforms/android-4/samples/san-angeles/jni/
Ddemo.c116 static GLOBJECT * newGLObject(long vertices, int vertexComponents, in newGLObject() argument
123 result->count = vertices; in newGLObject()
125 result->vertexArray = (GLfixed *)malloc(vertices * vertexComponents * in newGLObject()
127 result->colorArray = (GLubyte *)malloc(vertices * 4 * sizeof(GLubyte)); in newGLObject()
130 result->normalArray = (GLfixed *)malloc(vertices * 3 * in newGLObject()
207 const long vertices = triangleCount * 3; in createSuperShape() local
213 result = newGLObject(vertices, 3, 1); in createSuperShape()
351 const long vertices = triangleCount * 3; in createGroundPlane() local
356 result = newGLObject(vertices, 2, 0); in createGroundPlane()