Home
last modified time | relevance | path

Searched refs:vbb (Results 1 – 6 of 6) sorted by relevance

/development/samples/Compass/src/com/example/android/compass/
DCompassActivity.java187 ByteBuffer vbb; in onSurfaceCreated() local
188 vbb = ByteBuffer.allocateDirect(vertices.length*4); in onSurfaceCreated()
189 vbb.order(ByteOrder.nativeOrder()); in onSurfaceCreated()
190 mVertexBuffer = vbb.asFloatBuffer(); in onSurfaceCreated()
194 vbb = ByteBuffer.allocateDirect(colors.length*4); in onSurfaceCreated()
195 vbb.order(ByteOrder.nativeOrder()); in onSurfaceCreated()
196 mColorBuffer = vbb.asFloatBuffer(); in onSurfaceCreated()
/development/samples/ApiDemos/src/com/example/android/apis/graphics/
DCube.java72 ByteBuffer vbb = ByteBuffer.allocateDirect(vertices.length*4); in Cube() local
73 vbb.order(ByteOrder.nativeOrder()); in Cube()
74 mVertexBuffer = vbb.asIntBuffer(); in Cube()
DStaticTriangleRenderer.java218 ByteBuffer vbb = ByteBuffer.allocateDirect(VERTS * 3 * 4); in Triangle() local
219 vbb.order(ByteOrder.nativeOrder()); in Triangle()
220 mFVertexBuffer = vbb.asFloatBuffer(); in Triangle()
DTriangleRenderer.java186 ByteBuffer vbb = ByteBuffer.allocateDirect(VERTS * 3 * 4); in Triangle() local
187 vbb.order(ByteOrder.nativeOrder()); in Triangle()
188 mFVertexBuffer = vbb.asFloatBuffer(); in Triangle()
/development/samples/ApiDemos/src/com/example/android/apis/os/
DRotationVectorDemo.java186 ByteBuffer vbb = ByteBuffer.allocateDirect(vertices.length*4); in Cube() local
187 vbb.order(ByteOrder.nativeOrder()); in Cube()
188 mVertexBuffer = vbb.asFloatBuffer(); in Cube()
/development/samples/ApiDemos/src/com/example/android/apis/graphics/spritetext/
DSpriteTextRenderer.java292 ByteBuffer vbb = ByteBuffer.allocateDirect(VERTS * 3 * 4); in Triangle() local
293 vbb.order(ByteOrder.nativeOrder()); in Triangle()
294 mFVertexBuffer = vbb.asFloatBuffer(); in Triangle()