/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 | glDrawElementsInstancedBaseVertex.java | 1 // C function void glDrawElementsInstancedBaseVertex ( GLenum mode, GLsizei count, GLenum type, const void *indices, GLsizei instanceCount, GLint basevertex ) 7 java.nio.Buffer indices, 12 // C function void glDrawElementsInstancedBaseVertex ( GLenum mode, GLsizei count, GLenum type, const void *indices, GLsizei instanceCount, GLint basevertex ) 3 glDrawElementsInstancedBaseVertex( int mode, int count, int type, java.nio.Buffer indices, int instanceCount, int basevertex ) 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 ) */
|
H A D | glDrawElementsInstancedBaseVertex.cpp | 1 /* void glDrawElementsInstancedBaseVertex ( GLenum mode, GLsizei count, GLenum type, const void *indices, GLsizei instanceCount, GLint basevertex ) */ 11 void *indices = (void *) 0; local 13 indices = (void *)getPointer(_env, indices_buf, &_array, &_remaining, &_bufferOffset); 20 if (indices == NULL) { 22 indices = (void *) (_indicesBase + _bufferOffset); 28 (void *)indices, 35 releasePointer(_env, _array, indices, JNI_FALSE); 39 /* void glDrawElementsInstancedBaseVertex ( GLenum mode, GLsizei count, GLenum type, const void *indices, GLsizei instanceCount, GLint basevertex ) */
|
/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/support/v17/leanback/src/android/support/v17/leanback/widget/ |
H A D | SingleRow.java | 143 protected final int findRowMin(boolean findLarge, int indexLimit, int[] indices) { argument 144 if (indices != null) { 145 indices[0] = 0; 146 indices[1] = indexLimit; 153 protected final int findRowMax(boolean findLarge, int indexLimit, int[] indices) { argument 154 if (indices != null) { 155 indices[0] = 0; 156 indices[1] = indexLimit;
|
H A D | Grid.java | 220 * Reset visible indices and keep cache (if exists) 261 * the row index is returned in indices[0], the item index is returned in indices[1]. 263 public final int findRowMin(boolean findLarge, int[] indices) { argument 265 indices); 270 * indexLimit, the row index is returned in indices[0], the item index is returned in indices[1]. 276 * indices[0], the item index is returned in indices[1]. 278 public final int findRowMax(boolean findLarge, int[] indices) { argument 287 findRowMax(boolean findLarge, int indexLimit, int[] indices) argument [all...] |
H A D | StaggeredGridDefault.java | 103 public int findRowMax(boolean findLarge, int indexLimit, int[] indices) { argument 143 if (indices != null) { 144 indices[0] = row; 145 indices[1] = index; 155 public int findRowMin(boolean findLarge, int indexLimit, int[] indices) { argument 195 if (indices != null) { 196 indices[0] = row; 197 indices[1] = index;
|
/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/base/libs/hwui/tests/unit/ |
H A D | GlopBuilderTests.cpp | 60 EXPECT_EQ(expectedMesh.indices.indices, builtMesh.indices.indices); 61 EXPECT_EQ(expectedMesh.indices.bufferObject, builtMesh.indices.bufferObject); 102 glop->mesh.indices.indices = nullptr; 103 glop->mesh.indices.bufferObject = GL_ZERO;
|
/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/libs/hwui/ |
H A D | Glop.h | 100 const void* indices; member in struct:android::uirenderer::Glop::Mesh::Indices 101 } indices; member in struct:android::uirenderer::Glop::Mesh
|
H A D | GlopBuilder.cpp | 77 mOutGlop->mesh.indices = { mRenderState.meshState().getQuadListIBO(), nullptr }; 91 mOutGlop->mesh.indices = { 0, nullptr }; 110 mOutGlop->mesh.indices = { 0, nullptr }; 130 mOutGlop->mesh.indices = { 0, nullptr }; 144 mOutGlop->mesh.indices = { mRenderState.meshState().getQuadListIBO(), nullptr }; 158 mOutGlop->mesh.indices = { mRenderState.meshState().getQuadListIBO(), nullptr }; 172 mOutGlop->mesh.indices = { 0, nullptr }; 186 mOutGlop->mesh.indices = { 0, nullptr }; 202 bool indices = flags & VertexBuffer::kIndices; local 205 mOutGlop->mesh.indices [all...] |
/frameworks/base/libs/hwui/renderstate/ |
H A D | RenderState.cpp | 241 const Glop::Mesh::Indices& indices = mesh.indices; local 298 // indices 299 meshState().bindIndicesBuffer(indices.bufferObject); 360 if (indices.bufferObject == meshState().getQuadListIBO()) { 377 } else if (indices.bufferObject || indices.indices) { 378 glDrawElements(mesh.primitiveMode, mesh.elementCount, GL_UNSIGNED_SHORT, indices.indices); [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/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 | 46 hasStyles(o.hasStyles), indices(o.indices), 52 Vector<size_t> indices; member in struct:StringPool::entry 160 // Array of indices into mEntries, in the order they were
|
H A D | StringPool.cpp | 204 ent.indices.add(pos); 330 newEntries.editItemAt(newOffset).indices.clear(); 336 // Update the indices to include this new position. 337 newEntries.editItemAt(newOffset).indices.add(i); 370 mValues.add(ent.value, ent.indices[0]); 602 const Vector<size_t>* indices = offsetsForString(val); 603 ssize_t res = indices != NULL && indices->size() > 0 ? indices->itemAt(0) : -1; 617 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/tools/glgen/specs/gles11/ |
H A D | GLES32.spec | 22 void glDrawElementsBaseVertex ( GLenum mode, GLsizei count, GLenum type, const void *indices, GLint basevertex ) 23 void glDrawRangeElementsBaseVertex ( GLenum mode, GLuint start, GLuint end, GLsizei count, GLenum type, const void *indices, GLint basevertex ) 24 void glDrawElementsInstancedBaseVertex ( GLenum mode, GLsizei count, GLenum type, const void *indices, GLsizei instancecount, GLint basevertex )
|
H A D | checks.spec | 36 glDrawElements check_AIOOBE indices count 37 glDrawElementsBaseVertex check_AIOOBE indices count-basevertex 38 glDrawRangeElementsBaseVertex check_AIOOBE indices count-basevertex
|