Searched refs:mColorBuffer (Results 1 – 4 of 4) sorted by relevance
/development/samples/ApiDemos/src/com/example/android/apis/graphics/ |
D | Cube.java | 80 mColorBuffer = cbb.asIntBuffer(); in Cube() 81 mColorBuffer.put(colors); in Cube() 82 mColorBuffer.position(0); in Cube() 93 gl.glColorPointer(4, GL10.GL_FIXED, 0, mColorBuffer); in draw() 98 private IntBuffer mColorBuffer; field in Cube
|
/development/samples/ApiDemos/src/com/example/android/apis/graphics/kube/ |
D | GLWorld.java | 38 mColorBuffer = bb.asIntBuffer(); in generate() 51 vertex.put(mVertexBuffer, mColorBuffer); in generate() 74 mColorBuffer.position(0); in draw() 81 gl.glColorPointer(4, GL10.GL_FIXED, 0, mColorBuffer); in draw() 96 private IntBuffer mColorBuffer; field in GLWorld
|
/development/samples/ApiDemos/src/com/example/android/apis/os/ |
D | RotationVectorDemo.java | 159 private FloatBuffer mColorBuffer; field in RotationVectorDemo.MyRenderer.Cube 194 mColorBuffer = cbb.asFloatBuffer(); in Cube() 195 mColorBuffer.put(colors); in Cube() 196 mColorBuffer.position(0); in Cube() 208 gl.glColorPointer(4, GL10.GL_FLOAT, 0, mColorBuffer); in draw()
|
/development/samples/Compass/src/com/example/android/compass/ |
D | CompassActivity.java | 52 private FloatBuffer mColorBuffer; field in CompassActivity 122 gl.glColorPointer(4, GL_FLOAT, 0, mColorBuffer); in onDrawFrame() 196 mColorBuffer = vbb.asFloatBuffer(); in onSurfaceCreated() 197 mColorBuffer.put(colors); in onSurfaceCreated() 198 mColorBuffer.position(0); in onSurfaceCreated()
|