/frameworks/native/opengl/tools/glgen/stubs/gles11/ |
H A D | glDrawElementsInstanced.java | 1 // C function void glDrawElementsInstanced ( GLenum mode, GLsizei count, GLenum type, const GLvoid *indices, GLsizei instanceCount ) 7 java.nio.Buffer indices, 11 // C function void glDrawElementsInstanced ( GLenum mode, GLsizei count, GLenum type, const GLvoid *indices, GLsizei instanceCount ) 3 glDrawElementsInstanced( int mode, int count, int type, java.nio.Buffer indices, int instanceCount ) argument
|
H A D | glDrawElementsInstanced.cpp | 1 /* void glDrawElementsInstanced ( GLenum mode, GLsizei count, GLenum type, const GLvoid *indices, GLsizei instanceCount ) */ 8 GLvoid *indices = (GLvoid *) 0; local 10 indices = (GLvoid *)getPointer(_env, indices_buf, &_array, &_remaining, &_bufferOffset); 11 if (indices == NULL) { 13 indices = (GLvoid *) (_indicesBase + _bufferOffset); 19 (GLvoid *)indices, 23 releasePointer(_env, _array, indices, JNI_FALSE); 27 /* void glDrawElementsInstanced ( GLenum mode, GLsizei count, GLenum type, const GLvoid *indices, GLsizei instanceCount ) */
|
/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);
|
/frameworks/ml/bordeaux/learning/multiclass_pa/jni/ |
H A D | jni_multiclass_pa.cpp | 26 void CreateIndexValuePairs(const int* indices, const float* values, argument 31 pair<int, float> new_pair(indices[i], values[i]); 67 jint* indices = env->GetIntArrayElements(index_array, NULL); local 71 if (values && indices && value_len == index_len) { 74 CreateIndexValuePairs(indices, values, value_len, &inputs); 76 env->ReleaseIntArrayElements(index_array, indices, JNI_ABORT); 81 env->ReleaseIntArrayElements(index_array, indices, JNI_ABORT); 100 jint* indices = env->GetIntArrayElements(index_array, NULL); local 104 if (values && indices && value_len == index_len) { 106 CreateIndexValuePairs(indices, value [all...] |
/frameworks/base/core/tests/coretests/src/android/text/ |
H A D | DynamicLayoutBlocksTest.java | 39 private void defineInitialState(int[] ends, int[] indices) { argument 41 initialBlockIndices = indices; 69 private void assertState(int[] sizes, int[] indices) { argument 73 assertEquals(indices.length, dl.getNumberOfBlocks()); 82 assertEquals(indices[i], dl.getBlockIndices()[i]);
|
/frameworks/base/tools/aapt/ |
H A D | StringPool.h | 45 hasStyles(o.hasStyles), indices(o.indices), 51 Vector<size_t> indices; member in struct:StringPool::entry 152 // Array of indices into mEntries, in the order they were
|
H A D | StringPool.cpp | 173 ent.indices.add(pos); 292 newEntries.editItemAt(newOffset).indices.clear(); 298 // Update the indices to include this new position. 299 newEntries.editItemAt(newOffset).indices.add(i); 332 mValues.add(ent.value, ent.indices[0]); 560 const Vector<size_t>* indices = offsetsForString(val); local 561 ssize_t res = indices != NULL && indices->size() > 0 ? indices->itemAt(0) : -1; 573 return &mEntries[mEntryArray[pos]].indices; [all...] |
/frameworks/av/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/av/media/libstagefright/codecs/amrwbenc/src/ |
H A D | dtx.c | 39 Word16 indices[], 45 Word16 indices[], 381 Word16 indices[], 393 if ((indices[k] + 1) != 0) 397 isf_tmp[k * M + i] = isf_old[indices[k] * M + i]; 398 isf_old[indices[k] * M + i] = isf_old[indices[2] * M + i]; 418 if ((indices[k] + 1) != 0) 422 isf_old[indices[k] * M + i] = isf_tmp[k * M + i]; 432 Word16 indices[], 379 aver_isf_history( Word16 isf_old[], Word16 indices[], Word32 isf_aver[] ) argument 430 find_frame_indices( Word16 isf_old_tx[], Word16 indices[], dtx_encState * st ) argument [all...] |
/frameworks/base/core/java/android/content/res/ |
H A D | TypedArray.java | 36 * The indices used to retrieve values from this structure correspond to 56 * Return the number of indices in the array that actually have data. 731 /*package*/ TypedArray(Resources resources, int[] data, int[] indices, int len) { argument 734 mIndices = indices;
|
/frameworks/native/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/libs/hwui/font/ |
H A D | CacheTexture.h | 149 uint16_t* indices() const { function in class:android::uirenderer::CacheTexture
|
/frameworks/base/media/java/android/media/videoeditor/ |
H A D | MediaImageItem.java | 622 int[] indices, 628 for (int i = 0; i < indices.length; i++) { 629 callback.onThumbnail(thumbnail, indices[i]); 641 height, startMs, endMs, thumbnailCount, indices, callback, 0); 619 getThumbnailList(int width, int height, long startMs, long endMs, int thumbnailCount, int[] indices, GetThumbnailListCallback callback) argument
|
H A D | MediaItem.java | 567 * @param indices The indices of the thumbnails wanted 575 int[] indices, 589 int[] indices = new int[thumbnailCount]; 591 indices[i] = i; 594 thumbnailCount, indices, new GetThumbnailListCallback() { 572 getThumbnailList(int width, int height, long startMs, long endMs, int thumbnailCount, int[] indices, GetThumbnailListCallback callback) argument
|
H A D | MediaVideoItem.java | 313 int[] indices, 335 startMs, endMs, thumbnailCount, indices, callback, 310 getThumbnailList(int width, int height, long startMs, long endMs, int thumbnailCount, int[] indices, GetThumbnailListCallback callback) argument
|
/frameworks/native/opengl/libagl/ |
H A D | array.cpp | 761 GLsizei count, const GLvoid *indices) 767 vertex_t * v = fetch_vertex(c, read_index(type, indices)); 778 GLsizei count, const GLvoid *indices) 788 c->arrays.compileElement(c, v0, read_index(type, indices)); 791 v1 = fetch_vertex(c, read_index(type, indices)); 803 GLsizei count, const GLvoid *indices) 806 drawIndexedPrimitivesLines(c, count, indices); 815 c->arrays.compileElement(c, v0, read_index(type, indices)); 818 v1 = fetch_vertex(c, read_index(type, indices)); 835 GLsizei count, const GLvoid *indices) 760 drawIndexedPrimitivesPoints(ogles_context_t* c, GLsizei count, const GLvoid *indices) argument 777 drawIndexedPrimitivesLineStrip(ogles_context_t* c, GLsizei count, const GLvoid *indices) argument 802 drawIndexedPrimitivesLineLoop(ogles_context_t* c, GLsizei count, const GLvoid *indices) argument 834 drawIndexedPrimitivesLines(ogles_context_t* c, GLsizei count, const GLvoid *indices) argument 856 drawIndexedPrimitivesTriangleFanOrStrip(ogles_context_t* c, GLsizei count, const GLvoid *indices, int winding) argument 892 drawIndexedPrimitivesTriangleStrip(ogles_context_t* c, GLsizei count, const GLvoid *indices) argument 897 drawIndexedPrimitivesTriangleFan(ogles_context_t* c, GLsizei count, const GLvoid *indices) argument 902 drawIndexedPrimitivesTriangles(ogles_context_t* c, GLsizei count, const GLvoid *indices) argument 1385 glDrawElements( GLenum mode, GLsizei count, GLenum type, const GLvoid *indices) argument [all...] |
/frameworks/native/opengl/libs/GLES_trace/src/ |
H A D | gltrace_fixup.cpp | 544 void findMinAndMaxIndices(GLvoid *indices, GLsizei count, GLenum type, argument 550 if (indices == NULL) { 556 index = *((GLubyte*) indices + i); 558 index = *((GLushort*) indices + i); 610 GLvoid *indices) { 616 /* void glDrawElements(GLenum mode, GLsizei count, GLenum type, const GLvoid* indices) */ 631 indexBuffer = indices; 634 // Rather than sending vertex attribute data that corresponds to the indices 636 // indices being drawn, including the ones not drawn. The min & max indices 609 trace_VertexAttribPointerDataForGlDrawElements(GLTraceContext *context, GLMessage *glmsg, GLvoid *indices) argument 659 GLvoid *indices = pointersToFixup[0]; local [all...] |
/frameworks/base/core/jni/android/graphics/ |
H A D | Canvas.cpp | 586 indices [ptCount * sizeof(uint16_t)] 592 storageSize += indexCount * sizeof(uint16_t); // indices[] 597 uint16_t* indices; local 600 indices = (uint16_t*)(texs + ptCount); 603 indices = (uint16_t*)(verts + ptCount); 614 // cons up texture coordinates and indices 640 // cons up indices 642 uint16_t* indexPtr = indices; 660 SkASSERT(indexPtr - indices == indexCount); 664 // double-check that we have legal indices 732 const uint16_t* indices = NULL; local [all...] |
/frameworks/base/core/jni/ |
H A D | android_util_AssetManager.cpp | 929 jint* indices = NULL; local 933 indices = (jint*)env->GetPrimitiveArrayCritical(outIndices, 0); 1104 if (indices != NULL && value.dataType != Res_value::TYPE_NULL) { 1106 indices[indicesIdx] = ii; 1114 if (indices != NULL) { 1115 indices[0] = indicesIdx; 1116 env->ReleasePrimitiveArrayCritical(outIndices, indices, 0); 1171 jint* indices = NULL; local 1175 indices = (jint*)env->GetPrimitiveArrayCritical(outIndices, 0); 1247 if (indices ! [all...] |
H A D | android_opengl_GLES10.cpp | 758 /* void glDrawElements ( GLenum mode, GLsizei count, GLenum type, const GLvoid *indices ) */ 768 GLvoid *indices = (GLvoid *) 0; local 770 indices = (GLvoid *)getPointer(_env, indices_buf, &_array, &_remaining, &_bufferOffset); 777 if (indices == NULL) { 779 indices = (GLvoid *) (_indicesBase + _bufferOffset); 785 (GLvoid *)indices 790 releasePointer(_env, _array, indices, JNI_FALSE);
|
/frameworks/base/graphics/java/android/graphics/ |
H A D | Canvas.java | 1352 * colors from the shader and the color-gradient together. The indices array 1368 * @param indices If not null, array of indices to reference into the 1370 * @param indexCount number of entries in the indices array (if not null). 1375 short[] indices, int indexOffset, int indexCount, Paint paint) { 1383 if (indices != null) { 1384 checkRange(indices.length, indexOffset, indexCount); 1388 indices, indexOffset, indexCount, paint.mNativePaint); 1812 int[] colors, int colorOffset, short[] indices, 1373 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 1810 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
|
/frameworks/base/tools/layoutlib/bridge/src/android/graphics/ |
H A D | Canvas_Delegate.java | 969 short[] indices, int indexOffset, 965 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
|
/frameworks/base/core/java/android/view/ |
H A D | GLES20Canvas.java | 1393 float[] texs, int texOffset, int[] colors, int colorOffset, short[] indices, 1392 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/media/jni/mediaeditor/ |
H A D | VideoEditorMain.cpp | 2275 jint* indices = env->GetIntArrayElements(indexArray, NULL); local 2282 int k = indices[i]; 2298 env->ReleaseIntArrayElements(indexArray, indices, 0);
|