Searched defs:indices (Results 1 - 25 of 40) sorted by relevance

12

/frameworks/native/opengl/tools/glgen/stubs/gles11/
H A DglDrawElementsInstanced.java1 // 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 DglDrawElementsInstancedBaseVertex.java1 // 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 DglDrawElementsInstanced.cpp1 /* 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 DglDrawElementsInstancedBaseVertex.cpp1 /* 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/support/v17/leanback/src/android/support/v17/leanback/widget/
H A DStaggeredGridDefault.java103 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;
H A DSingleRow.java143 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 DGrid.java220 * 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...]
/frameworks/base/opengl/java/android/opengl/
H A DVisibility.java35 * @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/ml/bordeaux/learning/multiclass_pa/jni/
H A Djni_multiclass_pa.cpp26 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 DDynamicLayoutBlocksTest.java39 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 DStringPool.h46 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
/frameworks/av/media/libstagefright/codecs/amrwb/src/
H A Ddtx_decoder_amr_wb.cpp669 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 Ddtx.c39 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/libs/hwui/
H A DGlop.h100 const void* indices; member in struct:android::uirenderer::Glop::Mesh::Indices
101 } indices; member in struct:android::uirenderer::Glop::Mesh
H A DGlopBuilder.cpp77 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...]
H A DSkiaCanvasProxy.cpp142 const SkPoint texs[], const SkColor colors[], SkXfermode*, const uint16_t indices[],
153 mCanvas->drawVertices(mode, floatCount, vArray, tArray, cArray, indices, indexCount, paint);
371 // It automatically adjusts lodX and lodY in case it exceeds the number of indices.
141 onDrawVertices(VertexMode mode, int vertexCount, const SkPoint vertices[], const SkPoint texs[], const SkColor colors[], SkXfermode*, const uint16_t indices[], int indexCount, const SkPaint& paint) argument
/frameworks/base/libs/hwui/renderstate/
H A DRenderState.cpp241 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/tools/aapt2/
H A DStringPool.cpp205 // Assign the indices.
245 // Reassign the indices.
259 // Assign the indices.
307 uint32_t* indices = pool.size() != 0 ? out->nextBlock<uint32_t>(pool.size()) : nullptr; local
319 *indices = out->size() - beforeStringsIndex;
320 indices++;
/frameworks/native/opengl/tests/tritex/
H A Dtritex.cpp250 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/core/java/android/content/res/
H A DTypedArray.java41 * The indices used to retrieve values from this structure correspond to
98 * Return the number of indices in the array that actually have data.
1220 /*package*/ TypedArray(Resources resources, int[] data, int[] indices, int len) { argument
1225 mIndices = indices;
/frameworks/base/libs/hwui/font/
H A DCacheTexture.h153 uint16_t* indices() const { function in class:android::uirenderer::CacheTexture
/frameworks/base/tools/aapt2/flatten/
H A DTableFlattener.cpp319 uint32_t* indices = typeWriter.nextBlock<uint32_t>(entryCount); local
322 memset(indices, 0xff, entryCount * sizeof(uint32_t));
329 indices[flatEntry.entry->id.value()] = util::hostToDevice32(
/frameworks/base/tools/layoutlib/bridge/src/com/android/layoutlib/bridge/android/graphics/
H A DNopCanvas.java245 float[] texs, int texOffset, int[] colors, int colorOffset, short[] indices,
244 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/native/opengl/libagl/
H A Darray.cpp765 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/base/core/jni/
H A Dandroid_graphics_Canvas.cpp324 const uint16_t* indices = NULL; local
330 indices = (const uint16_t*)(indexA.ptr() + indexIndex);
336 indices, indexCount, *paint);

Completed in 394 milliseconds

12