/development/samples/GlobalTime/src/com/android/globaltime/ |
PointCloud.java | 30 * @param vertices an array of (x, y, z) positions given in fixed-point. 32 public PointCloud(int[] vertices) { 33 this(vertices, 0, vertices.length); 39 * @param vertices an array of (x, y, z) positions given in fixed-point. 40 * @param off the starting offset of the vertices array 41 * @param len the number of elements of the vertices array to use 43 public PointCloud(int[] vertices, int off, int len) { 53 allocateBuffers(vertices, null, null, null, indices);
|
Annulus.java | 57 int[] vertices = new int[2 * 3 * radii]; local 70 vertices[vidx++] = toFixed(centerX + innerRadius * cosTheta); 71 vertices[vidx++] = toFixed(centerY + innerRadius * sinTheta); 72 vertices[vidx++] = toFixed(Z); 74 vertices[vidx++] = toFixed(centerX + outerRadius * cosTheta); 75 vertices[vidx++] = toFixed(centerY + outerRadius * sinTheta); 76 vertices[vidx++] = toFixed(Z); 99 allocateBuffers(vertices, null, null, colors, indices);
|
LatLongSphere.java | 31 int[] vertices = new int[3 * lats * longs]; local 65 // Place vertices onto a flat projection 66 vertices[vidx++] = toFixed(2.0f * fi - 1.0f); 67 vertices[vidx++] = toFixed(0.5f - fj); 68 vertices[vidx++] = toFixed(0.0f); 70 // Place vertices onto the surface of a sphere 72 vertices[vidx++] = toFixed(x * radius + centerX); 73 vertices[vidx++] = toFixed(y * radius + centerY); 74 vertices[vidx++] = toFixed(z * radius + centerZ); 116 allocateBuffers(vertices, texcoords, normals, colors, indices) [all...] |
Shape.java | 30 * containing vertices, texture coordinates, colors, normals, and indices. 150 * @param vertices an array of fixed-point vertex coordinates 156 public void allocateBuffers(int[] vertices, int[] texcoords, int[] normals, 158 allocate(vertices, texcoords, normals, colors); 174 * @param vertices an array of fixed-point vertex coordinates 180 public void allocateBuffers(int[] vertices, int[] texcoords, int[] normals, 182 allocate(vertices, texcoords, normals, colors); 196 private void allocate(int[] vertices, int[] texcoords, int[] normals, 199 ByteBuffer.allocateDirect(vertices.length * INT_BYTES); 202 mVertexBuffer.put(vertices); [all...] |
/development/samples/ApiDemos/src/com/example/android/apis/graphics/ |
Cube.java | 33 int vertices[] = { local 72 ByteBuffer vbb = ByteBuffer.allocateDirect(vertices.length*4); 75 mVertexBuffer.put(vertices);
|
/development/samples/BrowserPlugin/src/com/android/sampleplugin/graphics/ |
Cube.java | 33 int vertices[] = { local 72 ByteBuffer vbb = ByteBuffer.allocateDirect(vertices.length*4); 75 mVertexBuffer.put(vertices);
|
/frameworks/base/services/surfaceflinger/ |
LayerDim.cpp | 83 const GLshort vertices[4][2] = { local 89 glVertexPointer(2, GL_SHORT, 0, vertices);
|
/development/samples/ApiDemos/src/com/example/android/apis/os/ |
RotationVectorDemo.java | 163 final float vertices[] = { local 186 ByteBuffer vbb = ByteBuffer.allocateDirect(vertices.length*4); 189 mVertexBuffer.put(vertices);
|
/packages/apps/Gallery3D/src/com/cooliris/media/ |
LoadingLayer.java | 152 int[] vertices = { -dimension, -dimension, 0, dimension, -dimension, 0, -dimension, dimension, 0, dimension, dimension, 0 }; local 153 ByteBuffer vertexByteBuffer = ByteBuffer.allocateDirect(vertices.length * 4); 156 mVertexBuffer.put(vertices);
|
/frameworks/base/opengl/tests/linetex/ |
linetex.cpp | 84 const GLfloat vertices[4][2] = { local 103 glVertexPointer(2, GL_FLOAT, 0, vertices);
|
/frameworks/base/opengl/tests/fillrate/ |
fillrate.cpp | 93 const GLfloat vertices[4][2] = { local 116 glVertexPointer(2, GL_FLOAT, 0, vertices);
|
/development/samples/Compass/src/com/example/android/compass/ |
CompassActivity.java | 165 float vertices[] = { local 188 vbb = ByteBuffer.allocateDirect(vertices.length*4); 191 mVertexBuffer.put(vertices);
|
/development/ndk/platforms/android-4/samples/san-angeles/jni/ |
demo.c | 116 static GLOBJECT * newGLObject(long vertices, int vertexComponents, 123 result->count = vertices; 125 result->vertexArray = (GLfixed *)malloc(vertices * vertexComponents * 127 result->colorArray = (GLubyte *)malloc(vertices * 4 * sizeof(GLubyte)); 130 result->normalArray = (GLfixed *)malloc(vertices * 3 * 207 const long vertices = triangleCount * 3; local 213 result = newGLObject(vertices, 3, 1); 338 // Set number of vertices in object to the actual amount created. 351 const long vertices = triangleCount * 3; local 356 result = newGLObject(vertices, 2, 0) [all...] |
/external/skia/include/core/ |
SkDraw.h | 61 const SkPoint vertices[], const SkPoint textures[],
|
/external/skia/include/utils/ |
SkNWayCanvas.h | 62 const SkPoint vertices[], const SkPoint texs[],
|
SkDumpCanvas.h | 102 const SkPoint vertices[], const SkPoint texs[],
|
SkProxyCanvas.h | 74 const SkPoint vertices[], const SkPoint texs[],
|
/frameworks/base/opengl/tests/angeles/ |
demo.c | 116 static GLOBJECT * newGLObject(long vertices, int vertexComponents, 123 result->count = vertices; 125 result->vertexArray = (GLfixed *)malloc(vertices * vertexComponents * 127 result->colorArray = (GLubyte *)malloc(vertices * 4 * sizeof(GLubyte)); 130 result->normalArray = (GLfixed *)malloc(vertices * 3 * 207 const long vertices = triangleCount * 3; local 213 result = newGLObject(vertices, 3, 1); 338 // Set number of vertices in object to the actual amount created. 351 const long vertices = triangleCount * 3; local 356 result = newGLObject(vertices, 2, 0) [all...] |
/external/skia/src/utils/ |
SkProxyCanvas.cpp | 146 const SkPoint vertices[], const SkPoint texs[], 150 fProxy->drawVertices(vmode, vertexCount, vertices, texs, colors,
|
SkNWayCanvas.cpp | 259 const SkPoint vertices[], const SkPoint texs[], 265 iter->drawVertices(vmode, vertexCount, vertices, texs, colors, xmode,
|
SkDumpCanvas.cpp | 386 const SkPoint vertices[], const SkPoint texs[], 391 toString(vmode), vertexCount, SkScalarToFloat(vertices[0].fX), 392 SkScalarToFloat(vertices[0].fY));
|
/frameworks/base/opengl/tests/filter/ |
filter.cpp | 141 const GLfloat vertices[4][2] = { 176 glVertexPointer(2, GL_FLOAT, 0, vertices);
|
/frameworks/base/opengl/tests/gl_jni/jni/ |
gl_code.cpp | 151 const GLfloat vertices[] = { local 166 glVertexPointer(3, GL_FLOAT, 0, vertices);
|
/frameworks/base/opengl/tests/tritex/ |
tritex.cpp | 232 const GLfloat vertices[] = {
local 253 glVertexPointer(3, GL_FLOAT, 0, vertices);
|
/frameworks/base/opengl/tests/gl_basic/ |
gl_basic.cpp | 341 const GLfloat vertices[] = { 357 glVertexPointer(3, GL_FLOAT, 0, vertices);
|