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

12

/frameworks/base/core/java/com/android/internal/widget/
H A DPasswordEntryKeyboardView.java43 int[] indices = getKeyboard().getShiftKeyIndices();
44 for (int index : indices) {
/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/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/opengl/libs/GLES2_dbg/src/
H A Dvertex.cpp109 static inline void FetchIndexed(const unsigned count, const T * indices, argument
114 data->append((const char *)(indices + i), sizeof(*indices));
116 ctx->Fetch(indices[i], data);
120 void Debug_glDrawElements(GLenum mode, GLsizei count, GLenum type, const GLvoid* indices) argument
132 msg.set_arg3(reinterpret_cast<int>(indices));
139 (unsigned long)indices, data, dbg);
141 FetchIndexed(count, (unsigned char *)indices, data, dbg);
146 (unsigned long)indices), data, dbg);
148 FetchIndexed(count, (unsigned short *)indices, dat
[all...]
/frameworks/base/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...]
H A Ddtx.h186 int16 * indice /* output: quantization indices */
212 int16 * indice, /* input: quantization indices */
218 int16 indices[],
223 int16 indices[],
/frameworks/base/tools/aapt/
H A DStringPool.h44 entry(const entry& o) : value(o.value), offset(o.offset), indices(o.indices) { }
48 Vector<size_t> indices; member in struct:StringPool::entry
132 // Array of indices into mEntries, in the order they were
140 // Mapping from indices in mEntryArray to indices in mValues.
146 // pool, mapping to indices in mEntries.
H A DStringPool.cpp103 ent.indices.add(pos);
374 ent.indices.clear();
375 ent.indices.add(i);
405 const Vector<size_t>* indices = offsetsForString(val); local
406 ssize_t res = indices != NULL && indices->size() > 0 ? indices->itemAt(0) : -1;
418 return &mEntries[mEntryArray[pos]].indices;
H A DXMLNode.cpp1287 const Vector<size_t>* indices = outPool->offsetsForString(attr.name);
1289 if (indices != NULL) {
1290 const int NJ = indices->size();
1293 size_t strIdx = indices->itemAt(j);
/frameworks/base/opengl/tests/tritex/
H A Dtritex.cpp249 GLushort* indices = (GLushort*)malloc(quads*sizeof(quadIndices)); local
251 memcpy(indices+(sizeof(quadIndices)/sizeof(indices[0]))*i, quadIndices, sizeof(quadIndices));
271 glDrawElements(GL_TRIANGLES, nelem*quads, GL_UNSIGNED_SHORT, indices);
275 free(indices);
/frameworks/base/libs/hwui/
H A DLayerRenderer.cpp149 uint16_t* indices = mLayer->meshIndices; local
167 indices[index ] = quad; // top-left
168 indices[index + 1] = quad + 1; // top-right
169 indices[index + 2] = quad + 2; // bottom-left
170 indices[index + 3] = quad + 2; // bottom-left
171 indices[index + 4] = quad + 1; // top-right
172 indices[index + 5] = quad + 3; // bottom-right
/frameworks/base/opengl/libagl/
H A Darray.cpp761 GLsizei count, const GLvoid *indices)
767 vertex_t * v = fetch_vertex(c, read_index(type, indices));
778 GLsizei count, const GLvoid *indices)
788 c->arrays.compileElement(c, v0, read_index(type, indices));
791 v1 = fetch_vertex(c, read_index(type, indices));
803 GLsizei count, const GLvoid *indices)
806 drawIndexedPrimitivesLines(c, count, indices);
815 c->arrays.compileElement(c, v0, read_index(type, indices));
818 v1 = fetch_vertex(c, read_index(type, indices));
835 GLsizei count, const GLvoid *indices)
760 drawIndexedPrimitivesPoints(ogles_context_t* c, GLsizei count, const GLvoid *indices) argument
777 drawIndexedPrimitivesLineStrip(ogles_context_t* c, GLsizei count, const GLvoid *indices) argument
802 drawIndexedPrimitivesLineLoop(ogles_context_t* c, GLsizei count, const GLvoid *indices) argument
834 drawIndexedPrimitivesLines(ogles_context_t* c, GLsizei count, const GLvoid *indices) argument
856 drawIndexedPrimitivesTriangleFanOrStrip(ogles_context_t* c, GLsizei count, const GLvoid *indices, int winding) argument
892 drawIndexedPrimitivesTriangleStrip(ogles_context_t* c, GLsizei count, const GLvoid *indices) argument
897 drawIndexedPrimitivesTriangleFan(ogles_context_t* c, GLsizei count, const GLvoid *indices) argument
902 drawIndexedPrimitivesTriangles(ogles_context_t* c, GLsizei count, const GLvoid *indices) argument
1385 glDrawElements( GLenum mode, GLsizei count, GLenum type, const GLvoid *indices) argument
[all...]
/frameworks/base/opengl/tests/gl_basic/
H A Dgl_basic.cpp355 const GLushort indices[] = { 0, 1, 2, 0, 2, 3 };
360 int nelem = sizeof(indices)/sizeof(indices[0]);
362 glDrawElements(GL_TRIANGLES, nelem, GL_UNSIGNED_SHORT, indices);
/frameworks/base/media/java/android/media/videoeditor/
H A DMediaItem.java567 * @param indices The indices of the thumbnails wanted
575 int[] indices,
589 int[] indices = new int[thumbnailCount];
591 indices[i] = i;
594 thumbnailCount, indices, new GetThumbnailListCallback() {
572 getThumbnailList(int width, int height, long startMs, long endMs, int thumbnailCount, int[] indices, GetThumbnailListCallback callback) argument
H A DMediaImageItem.java622 int[] indices,
628 for (int i = 0; i < indices.length; i++) {
629 callback.onThumbnail(thumbnail, indices[i]);
641 height, startMs, endMs, thumbnailCount, indices, callback, 0);
619 getThumbnailList(int width, int height, long startMs, long endMs, int thumbnailCount, int[] indices, GetThumbnailListCallback callback) argument
H A DMediaVideoItem.java313 int[] indices,
335 startMs, endMs, thumbnailCount, indices, callback,
310 getThumbnailList(int width, int height, long startMs, long endMs, int thumbnailCount, int[] indices, GetThumbnailListCallback callback) argument
/frameworks/base/core/jni/
H A Dandroid_util_AssetManager.cpp916 jint* indices = NULL; local
920 indices = (jint*)env->GetPrimitiveArrayCritical(outIndices, 0);
1091 if (indices != NULL && value.dataType != Res_value::TYPE_NULL) {
1093 indices[indicesIdx] = ii;
1101 if (indices != NULL) {
1102 indices[0] = indicesIdx;
1103 env->ReleasePrimitiveArrayCritical(outIndices, indices, 0);
1158 jint* indices = NULL; local
1162 indices = (jint*)env->GetPrimitiveArrayCritical(outIndices, 0);
1234 if (indices !
[all...]
/frameworks/base/core/jni/android/graphics/
H A DCanvas.cpp572 indices [ptCount * sizeof(uint16_t)]
578 storageSize += indexCount * sizeof(uint16_t); // indices[]
583 uint16_t* indices; local
586 indices = (uint16_t*)(texs + ptCount);
589 indices = (uint16_t*)(verts + ptCount);
600 // cons up texture coordinates and indices
626 // cons up indices
628 uint16_t* indexPtr = indices;
646 SkASSERT(indexPtr - indices == indexCount);
650 // double-check that we have legal indices
718 const uint16_t* indices = NULL; local
[all...]
/frameworks/base/core/jni/android/opengl/
H A Dutil.cpp97 // 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);
/frameworks/base/graphics/java/android/graphics/
H A DCanvas.java1297 * colors from the shader and the color-gradient together. The indices array
1313 * @param indices If not null, array of indices to reference into the
1315 * @param indexCount number of entries in the indices array (if not null).
1322 short[] indices, int indexOffset,
1331 if (indices != null) {
1332 checkRange(indices.length, indexOffset, indexCount);
1336 indices, indexOffset, indexCount, paint.mNativePaint);
1742 int[] colors, int colorOffset, short[] indices,
1318 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
1740 nativeDrawVertices(int nCanvas, int mode, int n, float[] verts, int vertOffset, float[] texs, int texOffset, int[] colors, int colorOffset, short[] indices, int indexOffset, int indexCount, int nPaint) argument
/frameworks/base/core/java/android/view/
H A DGLES20RecordingCanvas.java301 float[] texs, int texOffset, int[] colors, int colorOffset, short[] indices,
304 colorOffset, indices, indexOffset, indexCount, paint);
300 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/opengl/tools/glgen/specs/gles11/
H A Dchecks.spec7 glDrawElements check_AIOOBE indices count
/frameworks/base/core/java/android/content/res/
H A DTypedArray.java35 * The indices used to retrieve values from this structure correspond to
55 * Return the number of indices in the array that actually have data.
730 /*package*/ TypedArray(Resources resources, int[] data, int[] indices, int len) { argument
733 mIndices = indices;
/frameworks/base/core/java/android/inputmethodservice/
H A DKeyboard.java729 int[] indices = new int[mKeys.size()];
742 indices[count++] = i;
746 System.arraycopy(indices, 0, cell, 0, count);
753 * Returns the indices of the keys that are closest to the given point.
756 * @return the array of integer indices for the nearest keys to the given point. If the given
/frameworks/base/opengl/include/GLES2/
H A Dgl2ext.h627 GL_APICALL void GL_APIENTRY glMultiDrawElementsEXT (GLenum mode, const GLsizei *count, GLenum type, const GLvoid* *indices, GLsizei primcount);
630 typedef void (GL_APIENTRYP PFNGLMULTIDRAWELEMENTSEXTPROC) (GLenum mode, const GLsizei *count, GLenum type, const GLvoid* *indices, GLsizei primcount);

Completed in 441 milliseconds

12