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/base/libs/androidfw/tests/
H A DAttributeResolution_test.cpp180 std::array<uint32_t, attrs.size() + 1> indices; local
183 attrs.size(), values.data(), indices.data());
235 // The first element of indices contains the number of indices.
237 EXPECT_EQ(expected_indices, indices);
/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.java175 protected final int findRowMin(boolean findLarge, int indexLimit, int[] indices) { argument
176 if (indices != null) {
177 indices[0] = 0;
178 indices[1] = indexLimit;
185 protected final int findRowMax(boolean findLarge, int indexLimit, int[] indices) { argument
186 if (indices != null) {
187 indices[0] = 0;
188 indices[1] = indexLimit;
H A DGrid.java239 * Reset visible indices and keep cache (if exists)
285 * the row index is returned in indices[0], the item index is returned in indices[1].
287 public final int findRowMin(boolean findLarge, @Nullable int[] indices) { argument
289 indices);
294 * indexLimit, the row index is returned in indices[0], the item index is returned in indices[1].
300 * indices[0], the item index is returned in indices[1].
302 public final int findRowMax(boolean findLarge, @Nullable int[] indices) { argument
311 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.java45 private void defineInitialState(int[] ends, int[] indices) { argument
47 initialBlockIndices = indices;
75 private void assertState(int[] sizes, int[] indices) { argument
79 assertEquals(indices.length, dl.getNumberOfBlocks());
88 assertEquals(indices[i], dl.getBlockIndices()[i]);
/frameworks/base/tools/aapt/
H A DStringPool.h45 hasStyles(o.hasStyles), indices(o.indices),
51 Vector<size_t> indices; member in struct:StringPool::entry
159 // 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.h98 const void* indices; member in struct:android::uirenderer::Glop::Mesh::Indices
99 } indices; member in struct:android::uirenderer::Glop::Mesh
H A DGlopBuilder.cpp80 mOutGlop->mesh.indices = { mRenderState.meshState().getQuadListIBO(), nullptr };
94 mOutGlop->mesh.indices = { 0, nullptr };
113 mOutGlop->mesh.indices = { 0, nullptr };
133 mOutGlop->mesh.indices = { 0, nullptr };
147 mOutGlop->mesh.indices = { mRenderState.meshState().getQuadListIBO(), nullptr };
161 mOutGlop->mesh.indices = { mRenderState.meshState().getQuadListIBO(), nullptr };
175 mOutGlop->mesh.indices = { 0, nullptr };
191 bool indices = flags & VertexBuffer::kIndices; local
194 mOutGlop->mesh.indices = { 0, vertexBuffer.getIndices() };
200 mOutGlop->mesh.elementCount = indices
[all...]
/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/libs/hwui/font/
H A DCacheTexture.h153 uint16_t* indices() const { function in class:android::uirenderer::CacheTexture
/frameworks/base/libs/hwui/renderstate/
H A DRenderState.cpp263 const Glop::Mesh::Indices& indices = mesh.indices; local
320 // indices
321 meshState().bindIndicesBuffer(indices.bufferObject);
416 if (indices.bufferObject == meshState().getQuadListIBO()) {
433 } else if (indices.bufferObject || indices.indices) {
434 glDrawElements(mesh.primitiveMode, mesh.elementCount, GL_UNSIGNED_SHORT, indices.indices);
[all...]
/frameworks/base/tools/aapt2/
H A DStringPool.cpp240 // Assign the indices.
280 // Reassign the indices.
294 // Assign the indices.
341 uint32_t* indices = local
354 *indices = out->size() - before_strings_index;
355 indices++;
/frameworks/base/tools/aapt2/flatten/
H A DTableFlattener.cpp361 ResTable_sparseTypeEntry* indices = local
366 indices->idx = util::HostToDevice16(i);
367 indices->offset = util::HostToDevice16(offsets[i] / 4u);
368 indices++;
373 uint32_t* indices = type_writer.NextBlock<uint32_t>(num_total_entries); variable
375 indices[i] = util::HostToDevice32(offsets[i]);
/frameworks/base/tools/layoutlib/bridge/src/com/android/layoutlib/bridge/android/graphics/
H A DNopCanvas.java249 float[] texs, int texOffset, int[] colors, int colorOffset, short[] indices,
248 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/java/android/view/
H A DRecordingCanvas.java515 @Nullable int[] colors, int colorOffset, @Nullable short[] indices, int indexOffset,
527 if (indices != null) {
528 checkRange(indices.length, indexOffset, indexCount);
532 indices, indexOffset, indexCount, paint.getNativeInstance());
613 short[] indices, int indexOffset, int indexCount, long nativePaint);
513 drawVertices(@onNull VertexMode mode, int vertexCount, @NonNull float[] verts, int vertOffset, @Nullable float[] texs, int texOffset, @Nullable int[] colors, int colorOffset, @Nullable short[] indices, int indexOffset, int indexCount, @NonNull Paint paint) argument
611 nDrawVertices(long nativeCanvas, int mode, int n, float[] verts, int vertOffset, float[] texs, int texOffset, int[] colors, int colorOffset, short[] indices, int indexOffset, int indexCount, long nativePaint) argument
/frameworks/base/graphics/java/android/graphics/
H A DBaseCanvas.java494 int colorOffset, @Nullable short[] indices, int indexOffset, int indexCount,
506 if (indices != null) {
507 checkRange(indices.length, indexOffset, indexCount);
512 indices, indexOffset, indexCount, paint.getNativeInstance());
614 short[] indices, int indexOffset, int indexCount, long nativePaint);
492 drawVertices(@onNull VertexMode mode, int vertexCount, @NonNull float[] verts, int vertOffset, @Nullable float[] texs, int texOffset, @Nullable int[] colors, int colorOffset, @Nullable short[] indices, int indexOffset, int indexCount, @NonNull Paint paint) argument
612 nDrawVertices(long nativeCanvas, int mode, int n, float[] verts, int vertOffset, float[] texs, int texOffset, int[] colors, int colorOffset, short[] indices, int indexOffset, int indexCount, long nativePaint) argument
/frameworks/base/tools/layoutlib/bridge/src/android/graphics/
H A DBaseCanvas_Delegate.java472 short[] indices, int indexOffset,
468 nDrawVertices(long nCanvas, int mode, int n, float[] verts, int vertOffset, float[] texs, int texOffset, int[] colors, int colorOffset, short[] indices, int indexOffset, int indexCount, long nPaint) argument

Completed in 3984 milliseconds

12