/frameworks/base/opengl/java/android/opengl/ |
H A D | Visibility.java | 35 * @param indices the indices of the triangle list. The indices are 37 * @param indicesOffset the index in the indices array where the index data 39 * @param indexCount the number of indices in use. Typically a multiple of 40 * three. If not a multiple of three, the remaining one or two indices will 46 * positions is null, positionsOffset < 0, indices is null, 47 * indicesOffset < 0, indicesOffset > indices.length - indexCount 50 float[] positions, int positionsOffset, char[] indices, 86 * @param results an integer array containing the indices o 49 visibilityTest(float[] ws, int wsOffset, float[] positions, int positionsOffset, char[] indices, int indicesOffset, int indexCount) argument [all...] |
H A D | GLErrorWrapper.java | 261 public void glDrawElements(int mode, int count, int type, Buffer indices) { argument 263 mgl.glDrawElements(mode, count, type, indices);
|
H A D | GLLogWrapper.java | 1026 private char[] toCharIndices(int count, int type, Buffer indices) { argument 1030 ByteBuffer byteBuffer = toByteBuffer(count, indices); 1040 if (indices instanceof CharBuffer) { 1041 charBuffer = (CharBuffer) indices; 1043 ByteBuffer byteBuffer = toByteBuffer(count * 2, indices); 1529 public void glDrawElements(int mode, int count, int type, Buffer indices) { argument 1534 char[] indexArray = toCharIndices(count, type, indices); 1543 mgl.glDrawElements(mode, count, type, indices);
|
/frameworks/base/tools/aapt/ |
H A D | StringPool.h | 44 entry(const entry& o) : value(o.value), offset(o.offset), indices(o.indices) { } 48 Vector<size_t> indices; member in struct:StringPool::entry 132 // Array of indices into mEntries, in the order they were 140 // Mapping from indices in mEntryArray to indices in mValues. 146 // pool, mapping to indices in mEntries.
|
H A D | StringPool.cpp | 95 ent.indices.add(pos); 366 ent.indices.clear(); 367 ent.indices.add(i); 397 const Vector<size_t>* indices = offsetsForString(val); local 398 ssize_t res = indices != NULL && indices->size() > 0 ? indices->itemAt(0) : -1; 410 return &mEntries[mEntryArray[pos]].indices;
|
/frameworks/base/graphics/java/android/graphics/utils/ |
H A D | BoundaryPatch.java | 171 float[] verts, short[] indices); 169 nativeComputeCubicPatch(float[] cubicPoints, int texW, int texH, int rows, int cols, float[] verts, short[] indices) argument
|
/frameworks/base/core/java/android/content/res/ |
H A D | TypedArray.java | 35 * The indices used to retrieve values from this structure correspond to 55 * Return the number of indices in the array that actually have data. 732 /*package*/ TypedArray(Resources resources, int[] data, int[] indices, int len) { argument 735 mIndices = indices;
|
/frameworks/base/media/libstagefright/codecs/amrwb/src/ |
H A D | dtx_decoder_amr_wb.cpp | 669 int16 indices[], 682 if (indices[k] + 1 != 0) 686 isf_tmp[k * M + i] = isf_old[indices[k] * M + i]; 687 isf_old[indices[k] * M + i] = isf_old[indices[2] * M + i]; 708 if (indices[k] + 1 != 0) 712 isf_old[indices[k] * M + i] = isf_tmp[k * M + i]; 727 int16 indices[], 803 indices[0] = 0; 804 indices[ 667 aver_isf_history( int16 isf_old[], int16 indices[], int32 isf_aver[] ) argument 725 find_frame_indices( int16 isf_old_tx[], int16 indices[], dtx_encState * st ) argument [all...] |
/frameworks/base/opengl/tests/tritex/ |
H A D | tritex.cpp | 249 GLushort* indices = (GLushort*)malloc(quads*sizeof(quadIndices)); local 251 memcpy(indices+(sizeof(quadIndices)/sizeof(indices[0]))*i, quadIndices, sizeof(quadIndices)); 271 glDrawElements(GL_TRIANGLES, nelem*quads, GL_UNSIGNED_SHORT, indices); 275 free(indices);
|
/frameworks/base/opengl/libagl/ |
H A D | array.cpp | 770 GLsizei count, const GLvoid *indices) 776 vertex_t * v = fetch_vertex(c, read_index(type, indices)); 787 GLsizei count, const GLvoid *indices) 797 c->arrays.compileElement(c, v0, read_index(type, indices)); 800 v1 = fetch_vertex(c, read_index(type, indices)); 812 GLsizei count, const GLvoid *indices) 815 drawIndexedPrimitivesLines(c, count, indices); 824 c->arrays.compileElement(c, v0, read_index(type, indices)); 827 v1 = fetch_vertex(c, read_index(type, indices)); 844 GLsizei count, const GLvoid *indices) 769 drawIndexedPrimitivesPoints(ogles_context_t* c, GLsizei count, const GLvoid *indices) argument 786 drawIndexedPrimitivesLineStrip(ogles_context_t* c, GLsizei count, const GLvoid *indices) argument 811 drawIndexedPrimitivesLineLoop(ogles_context_t* c, GLsizei count, const GLvoid *indices) argument 843 drawIndexedPrimitivesLines(ogles_context_t* c, GLsizei count, const GLvoid *indices) argument 865 drawIndexedPrimitivesTriangleFanOrStrip(ogles_context_t* c, GLsizei count, const GLvoid *indices, int winding) argument 901 drawIndexedPrimitivesTriangleStrip(ogles_context_t* c, GLsizei count, const GLvoid *indices) argument 906 drawIndexedPrimitivesTriangleFan(ogles_context_t* c, GLsizei count, const GLvoid *indices) argument 911 drawIndexedPrimitivesTriangles(ogles_context_t* c, GLsizei count, const GLvoid *indices) argument 1394 glDrawElements( GLenum mode, GLsizei count, GLenum type, const GLvoid *indices) argument [all...] |
/frameworks/base/tools/layoutlib/bridge/src/android/graphics/ |
H A D | Canvas.java | 1160 float[] texs, int texOffset, int[] colors, int colorOffset, short[] indices, 1164 indices, indexOffset, indexCount, paint); 1159 drawVertices(VertexMode mode, int vertexCount, float[] verts, int vertOffset, float[] texs, int texOffset, int[] colors, int colorOffset, short[] indices, int indexOffset, int indexCount, Paint paint) argument
|
/frameworks/base/core/jni/android/graphics/ |
H A D | Canvas.cpp | 589 indices [ptCount * sizeof(uint16_t)] 595 storageSize += indexCount * sizeof(uint16_t); // indices[] 600 uint16_t* indices; local 603 indices = (uint16_t*)(texs + ptCount); 606 indices = (uint16_t*)(verts + ptCount); 617 // cons up texture coordinates and indices 643 // cons up indices 645 uint16_t* indexPtr = indices; 663 SkASSERT(indexPtr - indices == indexCount); 667 // double-check that we have legal indices 735 const uint16_t* indices = NULL; local [all...] |
/frameworks/base/core/jni/ |
H A D | android_opengl_GLES10.cpp | 553 /* void glDrawElements ( GLenum mode, GLsizei count, GLenum type, const GLvoid *indices ) */ 559 GLvoid *indices = (GLvoid *) 0; local 561 indices = (GLvoid *)getPointer(_env, indices_buf, &_array, &_remaining); 570 (GLvoid *)indices 575 releasePointer(_env, _array, indices, JNI_FALSE);
|
H A D | android_util_AssetManager.cpp | 955 jint* indices = NULL; local 959 indices = (jint*)env->GetPrimitiveArrayCritical(outIndices, 0); 1129 if (indices != NULL && value.dataType != Res_value::TYPE_NULL) { 1131 indices[indicesIdx] = ii; 1139 if (indices != NULL) { 1140 indices[0] = indicesIdx; 1141 env->ReleasePrimitiveArrayCritical(outIndices, indices, 0); 1190 jint* indices = NULL; local 1194 indices = (jint*)env->GetPrimitiveArrayCritical(outIndices, 0); 1266 if (indices ! [all...] |
H A D | android_opengl_GLES20.cpp | 826 /* void glDrawElements ( GLenum mode, GLsizei count, GLenum type, const GLvoid *indices ) */ 832 GLvoid *indices = (GLvoid *) 0; local 834 indices = (GLvoid *)getPointer(_env, indices_buf, &_array, &_remaining); 843 (GLvoid *)indices 848 releasePointer(_env, _array, indices, JNI_FALSE);
|
H A D | com_google_android_gles_jni_GLImpl.cpp | 679 /* void glDrawElements ( GLenum mode, GLsizei count, GLenum type, const GLvoid *indices ) */ 685 GLvoid *indices = (GLvoid *) 0; local 687 indices = (GLvoid *)getPointer(_env, indices_buf, &_array, &_remaining); 696 (GLvoid *)indices 701 releasePointer(_env, _array, indices, JNI_FALSE);
|
/frameworks/base/graphics/java/android/graphics/ |
H A D | Canvas.java | 1192 * colors from the shader and the color-gradient together. The indices array 1208 * @param indices If not null, array of indices to reference into the 1210 * @param indexCount number of entries in the indices array (if not null). 1217 short[] indices, int indexOffset, 1226 if (indices != null) { 1227 checkRange(indices.length, indexOffset, indexCount); 1231 indices, indexOffset, indexCount, paint.mNativePaint); 1553 int[] colors, int colorOffset, short[] indices, 1213 drawVertices(VertexMode mode, int vertexCount, float[] verts, int vertOffset, float[] texs, int texOffset, int[] colors, int colorOffset, short[] indices, int indexOffset, int indexCount, Paint paint) argument 1551 nativeDrawVertices(int nCanvas, int mode, int n, float[] verts, int vertOffset, float[] texs, int texOffset, int[] colors, int colorOffset, short[] indices, int indexOffset, int indexCount, int nPaint) argument
|