/development/samples/ApiDemos/src/com/example/android/apis/graphics/kube/ |
D | GLWorld.java | 42 mVertexBuffer = bb.asIntBuffer(); in generate() 51 vertex.put(mVertexBuffer, mColorBuffer); in generate() 68 vertex.update(mVertexBuffer, transform); in transformVertex() 75 mVertexBuffer.position(0); in draw() 80 gl.glVertexPointer(3, GL10.GL_FIXED, 0, mVertexBuffer); in draw() 95 private IntBuffer mVertexBuffer; field in GLWorld
|
/development/samples/ApiDemos/src/com/example/android/apis/graphics/ |
D | Cube.java | 74 mVertexBuffer = vbb.asIntBuffer(); in Cube() 75 mVertexBuffer.put(vertices); in Cube() 76 mVertexBuffer.position(0); in Cube() 92 gl.glVertexPointer(3, GL10.GL_FIXED, 0, mVertexBuffer); in draw() 97 private IntBuffer mVertexBuffer; field in Cube
|
D | MatrixPaletteRenderer.java | 82 private FloatBuffer mVertexBuffer; field in MatrixPaletteRenderer.Grid 106 mVertexBuffer = mVertexByteBuffer.asFloatBuffer(); in Grid() 167 mVertexBuffer.position(index * VERTEX_SIZE / FLOAT_SIZE); in set() 168 mVertexBuffer.put(x); in set() 169 mVertexBuffer.put(y); in set() 170 mVertexBuffer.put(z); in set() 171 mVertexBuffer.put(u); in set() 172 mVertexBuffer.put(v); in set() 173 mVertexBuffer.put(w0); in set() 174 mVertexBuffer.put(w1); in set() [all …]
|
D | CubeMapActivity.java | 250 private FloatBuffer mVertexBuffer; field in CubeMapActivity.Grid 274 mVertexBuffer = mVertexByteBuffer.asFloatBuffer(); in Grid() 327 mVertexBuffer.position(index * VERTEX_SIZE / FLOAT_SIZE); in set() 328 mVertexBuffer.put(x); in set() 329 mVertexBuffer.put(y); in set() 330 mVertexBuffer.put(z); in set() 331 mVertexBuffer.put(nx); in set() 332 mVertexBuffer.put(ny); in set() 333 mVertexBuffer.put(nz); in set() 355 mVertexBuffer = null; in createBufferObjects()
|
/development/samples/ApiDemos/src/com/example/android/apis/graphics/spritetext/ |
D | Grid.java | 48 mVertexBuffer = ByteBuffer.allocateDirect(FLOAT_SIZE * size * 3) in Grid() 106 mVertexBuffer.put(posIndex, x); in set() 107 mVertexBuffer.put(posIndex + 1, y); in set() 108 mVertexBuffer.put(posIndex + 2, z); in set() 117 gl.glVertexPointer(3, GL10.GL_FLOAT, 0, mVertexBuffer); in draw() 133 private FloatBuffer mVertexBuffer; field in Grid
|
/development/samples/browseable/WatchFace/Wearable/src/com.example.android.wearable.watchface/ |
D | Gles2ColoredTriangleList.java | 63 private final FloatBuffer mVertexBuffer; field in Gles2ColoredTriangleList 99 mVertexBuffer = bb.asFloatBuffer(); in Gles2ColoredTriangleList() 102 mVertexBuffer.put(triangleCoords); in Gles2ColoredTriangleList() 105 mVertexBuffer.position(0); in Gles2ColoredTriangleList() 117 mProgram.bind(mvpMatrix, mVertexBuffer, mColor); in draw()
|
/development/samples/ApiDemos/src/com/example/android/apis/os/ |
D | RotationVectorDemo.java | 158 private FloatBuffer mVertexBuffer; field in RotationVectorDemo.MyRenderer.Cube 188 mVertexBuffer = vbb.asFloatBuffer(); in Cube() 189 mVertexBuffer.put(vertices); in Cube() 190 mVertexBuffer.position(0); in Cube() 207 gl.glVertexPointer(3, GL10.GL_FLOAT, 0, mVertexBuffer); in draw()
|
/development/samples/Compass/src/com/example/android/compass/ |
D | CompassActivity.java | 51 private FloatBuffer mVertexBuffer; field in CompassActivity 121 gl.glVertexPointer(3, GL_FLOAT, 0, mVertexBuffer); in onDrawFrame() 190 mVertexBuffer = vbb.asFloatBuffer(); in onSurfaceCreated() 191 mVertexBuffer.put(vertices); in onSurfaceCreated() 192 mVertexBuffer.position(0); in onSurfaceCreated()
|