Searched refs:indices (Results 1 - 25 of 98) sorted by relevance

1234

/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/room/runtime/src/main/java/androidx/room/util/
H A DTableInfo.java70 public final Set<Index> indices; field in class:TableInfo
74 Set<Index> indices) {
78 this.indices = indices == null ? null : Collections.unmodifiableSet(indices);
104 if (indices == null || tableInfo.indices == null) {
109 return indices.equals(tableInfo.indices);
127 + ", indices
73 TableInfo(String name, Map<String, Column> columns, Set<ForeignKey> foreignKeys, Set<Index> indices) argument
[all...]
/frameworks/support/room/integration-tests/testapp/src/androidTest/java/androidx/room/integration/testapp/test/
H A DIndexingTest.java47 indices = {
83 List<IndexInfo> indices = db.sqlMasterDao().loadIndices();
84 assertThat(indices.size(), is(4));
85 for (IndexInfo info : indices) {
88 assertThat(indices.get(0).sql, is("CREATE INDEX `index_foo_table_field1_field2`"
90 assertThat(indices.get(1).sql, is("CREATE UNIQUE INDEX `index_foo_table_field2_mId`"
92 assertThat(indices.get(2).sql, is("CREATE UNIQUE INDEX `customIndex`"
94 assertThat(indices.get(3).sql, is("CREATE INDEX `index_foo_table_my_field`"
/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/base/cmds/statsd/src/anomaly/
H A Dindexed_priority_queue.h75 std::unordered_map<sp<const AA>, size_t, SpHash<AA>> indices; member in class:android::os::statsd::indexed_priority_queue
98 indices.insert({a, idx});
106 size_t idx = indices[a];
112 indices.erase(a);
119 indices[last_a] = idx;
120 indices.erase(a);
137 indices.erase(a);
144 indices[last_a] = idx;
145 indices.erase(a);
154 indices
[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/support/leanback/src/main/java/androidx/leanback/widget/
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.java240 * Reset visible indices and keep cache (if exists)
286 * the row index is returned in indices[0], the item index is returned in indices[1].
288 public final int findRowMin(boolean findLarge, @Nullable int[] indices) { argument
290 indices);
295 * indexLimit, the row index is returned in indices[0], the item index is returned in indices[1].
301 * indices[0], the item index is returned in indices[1].
303 public final int findRowMax(boolean findLarge, @Nullable int[] indices) { argument
312 findRowMax(boolean findLarge, int indexLimit, int[] indices) argument
[all...]
/frameworks/support/room/common/src/main/java/androidx/room/
H A DEntity.java81 * List of indices on the table.
83 * @return The list of indices on the table.
85 Index[] indices() default {};
91 * still inherit indices from it and its parents.
97 * By default, indices defined in parent classes are dropped to avoid unexpected indices.
101 * @return True if indices from parent classes should be automatically inherited by this Entity,
/frameworks/base/tests/AccessoryDisplay/source/src/com/android/accessorydisplay/source/presentation/
H A DCube.java55 byte indices[] = {
84 mIndexBuffer = ByteBuffer.allocateDirect(indices.length);
85 mIndexBuffer.put(indices);
/frameworks/base/libs/hwui/tests/unit/
H A DGlopBuilderTests.cpp63 EXPECT_EQ(expectedMesh.indices.indices, builtMesh.indices.indices);
64 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 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/base/libs/hwui/
H A DGlop.h99 const void* indices; member in struct:android::uirenderer::Glop::Mesh::Indices
100 } indices; member in struct:android::uirenderer::Glop::Mesh
/frameworks/support/room/compiler/src/main/kotlin/androidx/room/vo/
H A DEntity.kt28 val primaryKey: PrimaryKey, val indices: List<Index>,
43 identityKey.appendSorted(indices)
82 indices.map { it.toBundle() },
90 indices.any { index ->
/frameworks/base/cmds/incident_helper/tests/
H A Dih_util_test.cpp70 std::vector<int> indices = { 3, 10 }; local
72 result = parseRecordByColumns("12345", indices);
76 result = parseRecordByColumns("abc \t2345 6789 ", indices);
85 result = parseRecordByColumns(extraColumn1, indices);
90 result = parseRecordByColumns(emptyMidColm, indices);
94 result = parseRecordByColumns(longFirstClm, indices);
98 result = parseRecordByColumns(lngFrstEmpty, indices);
/frameworks/support/work/workmanager/src/main/java/androidx/work/impl/model/
H A DWorkName.java40 indices = {@Index(value = {"work_spec_id"})})
H A DWorkTag.java40 indices = {@Index(value = {"work_spec_id"})})
/frameworks/base/libs/hwui/renderstate/
H A DRenderState.cpp249 const Glop::Mesh::Indices& indices = mesh.indices; local
309 // indices
310 meshState().bindIndicesBuffer(indices.bufferObject);
411 if (indices.bufferObject == meshState().getQuadListIBO()) {
434 } else if (indices.bufferObject || indices.indices) {
439 GL_UNSIGNED_SHORT, indices.indices);
[all...]
/frameworks/support/room/compiler/src/test/kotlin/androidx/room/processor/
H A DEntityProcessorTest.kt347 "indices" to """@Index("foo")"""
356 assertThat(entity.indices, `is`(
372 assertThat(entity.indices, `is`(
383 "indices" to """@Index({"foo", "id"})"""
392 assertThat(entity.indices, `is`(
403 "indices" to """{@Index({"foo", "id"}), @Index({"bar_column", "foo"})}"""
414 assertThat(entity.indices, `is`(
428 "indices" to """@Index(value = {"foo", "id"}, unique = true)"""
437 assertThat(entity.indices, `is`(
449 "indices" t
[all...]
/frameworks/base/core/tests/coretests/src/android/text/
H A DDynamicLayoutBlocksTest.java47 private void defineInitialState(int[] ends, int[] indices) { argument
49 initialBlockIndices = indices;
80 private void assertState(int[] sizes, int[] indices) { argument
84 assertEquals(indices.length, dl.getNumberOfBlocks());
93 assertEquals(indices[i], dl.getBlockIndices()[i]);
/frameworks/native/opengl/tests/tritex/
H A Dtritex.cpp246 GLushort* indices = (GLushort*)malloc(quads*sizeof(quadIndices)); local
248 memcpy(indices+(sizeof(quadIndices)/sizeof(indices[0]))*i, quadIndices, sizeof(quadIndices));
268 glDrawElements(GL_TRIANGLES, nelem*quads, GL_UNSIGNED_SHORT, indices);
272 free(indices);
/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

Completed in 2343 milliseconds

1234