/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/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...] |
/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/com/android/internal/widget/ |
H A D | PasswordEntryKeyboardView.java | 48 int[] indices = getKeyboard().getShiftKeyIndices(); 49 for (int index : indices) {
|
/frameworks/base/tests/AccessoryDisplay/source/src/com/android/accessorydisplay/source/presentation/ |
H A D | Cube.java | 55 byte indices[] = { 84 mIndexBuffer = ByteBuffer.allocateDirect(indices.length); 85 mIndexBuffer.put(indices);
|
/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...] |
H A D | dtx.h | 186 int16 * indice /* output: quantization indices */ 212 int16 * indice, /* input: quantization indices */ 218 int16 indices[], 223 int16 indices[],
|
/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/native/opengl/tests/tritex/ |
H A D | tritex.cpp | 250 GLushort* indices = (GLushort*)malloc(quads*sizeof(quadIndices)); local 252 memcpy(indices+(sizeof(quadIndices)/sizeof(indices[0]))*i, quadIndices, sizeof(quadIndices)); 272 glDrawElements(GL_TRIANGLES, nelem*quads, GL_UNSIGNED_SHORT, indices); 276 free(indices);
|
/frameworks/base/tools/aapt/ |
H A D | StringPool.h | 48 hasStyles(o.hasStyles), indices(o.indices), 54 Vector<size_t> indices; member in struct:StringPool::entry 155 // Array of indices into mEntries, in the order they were
|
H A D | StringPool.cpp | 193 ent.indices.add(pos); 312 newEntries.editItemAt(newOffset).indices.clear(); 318 // Update the indices to include this new position. 319 newEntries.editItemAt(newOffset).indices.add(i); 352 mValues.add(ent.value, ent.indices[0]); 580 const Vector<size_t>* indices = offsetsForString(val); local 581 ssize_t res = indices != NULL && indices->size() > 0 ? indices->itemAt(0) : -1; 593 return &mEntries[mEntryArray[pos]].indices; [all...] |
/frameworks/native/opengl/libagl/ |
H A D | array.cpp | 765 GLsizei count, const GLvoid *indices) 771 vertex_t * v = fetch_vertex(c, read_index(type, indices)); 782 GLsizei count, const GLvoid *indices) 792 c->arrays.compileElement(c, v0, read_index(type, indices)); 795 v1 = fetch_vertex(c, read_index(type, indices)); 807 GLsizei count, const GLvoid *indices) 810 drawIndexedPrimitivesLines(c, count, indices); 819 c->arrays.compileElement(c, v0, read_index(type, indices)); 822 v1 = fetch_vertex(c, read_index(type, indices)); 839 GLsizei count, const GLvoid *indices) 764 drawIndexedPrimitivesPoints(ogles_context_t* c, GLsizei count, const GLvoid *indices) argument 781 drawIndexedPrimitivesLineStrip(ogles_context_t* c, GLsizei count, const GLvoid *indices) argument 806 drawIndexedPrimitivesLineLoop(ogles_context_t* c, GLsizei count, const GLvoid *indices) argument 838 drawIndexedPrimitivesLines(ogles_context_t* c, GLsizei count, const GLvoid *indices) argument 860 drawIndexedPrimitivesTriangleFanOrStrip(ogles_context_t* c, GLsizei count, const GLvoid *indices, int winding) argument 896 drawIndexedPrimitivesTriangleStrip(ogles_context_t* c, GLsizei count, const GLvoid *indices) argument 901 drawIndexedPrimitivesTriangleFan(ogles_context_t* c, GLsizei count, const GLvoid *indices) argument 906 drawIndexedPrimitivesTriangles(ogles_context_t* c, GLsizei count, const GLvoid *indices) argument 1389 glDrawElements( GLenum mode, GLsizei count, GLenum type, const GLvoid *indices) argument [all...] |
/frameworks/native/opengl/tests/gl_basic/ |
H A D | gl_basic.cpp | 356 const GLushort indices[] = { 0, 1, 2, 0, 2, 3 }; 361 int nelem = sizeof(indices)/sizeof(indices[0]); 363 glDrawElements(GL_TRIANGLES, nelem, GL_UNSIGNED_SHORT, indices);
|
/frameworks/opt/timezonepicker/src/com/android/timezonepicker/ |
H A D | TimeZoneResultAdapter.java | 162 ArrayList<Integer> indices = mTimeZoneData.getTimeZonesByOffset(time); 163 if (indices != null) { 164 for (Integer i : indices) {
|
/frameworks/native/opengl/libs/GLES_trace/src/ |
H A D | gltrace_fixup.cpp | 611 void findMinAndMaxIndices(GLvoid *indices, GLsizei count, GLenum type, argument 617 if (indices == NULL) { 623 index = *((GLubyte*) indices + i); 625 index = *((GLushort*) indices + i); 677 GLvoid *indices) { 683 /* void glDrawElements(GLenum mode, GLsizei count, GLenum type, const GLvoid* indices) */ 698 indexBuffer = indices; 701 // Rather than sending vertex attribute data that corresponds to the indices 703 // indices being drawn, including the ones not drawn. The min & max indices 676 trace_VertexAttribPointerDataForGlDrawElements(GLTraceContext *context, GLMessage *glmsg, GLvoid *indices) argument 726 GLvoid *indices = pointersToFixup[0]; local [all...] |
/frameworks/base/core/jni/ |
H A D | android_util_AssetManager.cpp | 1079 jint* indices = NULL; local 1083 indices = (jint*)env->GetPrimitiveArrayCritical(outIndices, 0); 1196 if (indices != NULL && value.dataType != Res_value::TYPE_NULL) { 1198 indices[indicesIdx] = ii; 1206 if (indices != NULL) { 1207 indices[0] = indicesIdx; 1208 env->ReleasePrimitiveArrayCritical(outIndices, indices, 0); 1267 jint* indices = NULL; local 1271 indices = (jint*)env->GetPrimitiveArrayCritical(outIndices, 0); 1434 if (indices ! 1501 jint* indices = NULL; local [all...] |
/frameworks/base/core/jni/android/graphics/ |
H A D | SkiaCanvas.cpp | 109 const uint16_t* indices, int indexCount, const SkPaint& paint); 547 const uint16_t* indices, int indexCount, const SkPaint& paint) { 553 (SkColor*)colors, NULL, indices, indexCount, paint); 586 indices [ptCount * sizeof(uint16_t)] 589 storageSize += indexCount * sizeof(uint16_t); // indices[] 597 uint16_t* indices = (uint16_t*)(texs + ptCount); local 599 // cons up texture coordinates and indices 625 // cons up indices 627 uint16_t* indexPtr = indices; 645 SkASSERT(indexPtr - indices 545 drawVertices(SkCanvas::VertexMode vertexMode, int vertexCount, const float* verts, const float* texs, const int* colors, const uint16_t* indices, int indexCount, const SkPaint& paint) argument [all...] |
/frameworks/base/tests/CanvasCompare/src/com/android/test/hwuicompare/ |
H A D | ManualActivity.java | 201 int[] indices = DisplayModifier.getIndices(); 203 mSpinners[i].setSelection(indices[i]);
|
/frameworks/base/include/private/graphics/ |
H A D | Canvas.h | 110 const uint16_t* indices, int indexCount, const SkPaint& paint) = 0;
|
/frameworks/base/libs/hwui/font/ |
H A D | CacheTexture.h | 149 uint16_t* indices() const { function in class:android::uirenderer::CacheTexture
|
/frameworks/native/opengl/tools/glgen/specs/gles11/ |
H A D | checks.spec | 34 glDrawElements check_AIOOBE indices count
|
H A D | GLES30.spec | 2 void glDrawRangeElements ( GLenum mode, GLuint start, GLuint end, GLsizei count, GLenum type, const GLvoid *indices ) 76 void glDrawElementsInstanced ( GLenum mode, GLsizei count, GLenum type, const GLvoid *indices, GLsizei instanceCount )
|
/frameworks/base/core/jni/android/opengl/ |
H A D | util.cpp | 97 // We transform every vertex between the min and max indices, inclusive. 435 char[] indices, int indicesOffset, int indexCount); 446 UnsignedShortArrayHelper indices(env, indices_ref, indicesOffset, 0); 448 bool checkOK = ws.check() && positions.check() && indices.check(); 454 if (indices.mLength < indexCount) { 461 indices.bind(); 465 indices.mData, indexCount);
|