Searched refs:indices (Results 1 - 25 of 48) sorted by path

12

/frameworks/av/media/libstagefright/codecs/amrwb/src/
H A Ddtx.h186 int16 * indice /* output: quantization indices */
212 int16 * indice, /* input: quantization indices */
218 int16 indices[],
223 int16 indices[],
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/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/core/java/android/view/
H A DGLES20Canvas.java1321 float[] texs, int texOffset, int[] colors, int colorOffset, short[] indices,
1320 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
H A DGLES20RecordingCanvas.java297 float[] texs, int texOffset, int[] colors, int colorOffset, short[] indices,
300 colorOffset, indices, indexOffset, indexCount, paint);
296 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/com/android/internal/widget/
H A DPasswordEntryKeyboardView.java43 int[] indices = getKeyboard().getShiftKeyIndices();
44 for (int index : indices) {
/frameworks/base/core/jni/android/graphics/
H A DCanvas.cpp577 indices [ptCount * sizeof(uint16_t)]
583 storageSize += indexCount * sizeof(uint16_t); // indices[]
588 uint16_t* indices; local
591 indices = (uint16_t*)(texs + ptCount);
594 indices = (uint16_t*)(verts + ptCount);
605 // cons up texture coordinates and indices
631 // cons up indices
633 uint16_t* indexPtr = indices;
651 SkASSERT(indexPtr - indices == indexCount);
655 // double-check that we have legal indices
723 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/core/jni/
H A Dandroid_opengl_GLES10.cpp564 /* void glDrawElements ( GLenum mode, GLsizei count, GLenum type, const GLvoid *indices ) */
574 GLvoid *indices = (GLvoid *) 0; local
576 indices = (GLvoid *)getPointer(_env, indices_buf, &_array, &_remaining, &_bufferOffset);
583 if (indices == NULL) {
585 indices = (GLvoid *) (_indicesBase + _bufferOffset);
591 (GLvoid *)indices
596 releasePointer(_env, _array, indices, JNI_FALSE);
H A Dandroid_opengl_GLES20.cpp949 /* void glDrawElements ( GLenum mode, GLsizei count, GLenum type, const GLvoid *indices ) */
959 GLvoid *indices = (GLvoid *) 0; local
961 indices = (GLvoid *)getPointer(_env, indices_buf, &_array, &_remaining, &_bufferOffset);
968 if (indices == NULL) {
970 indices = (GLvoid *) (_indicesBase + _bufferOffset);
976 (GLvoid *)indices
981 releasePointer(_env, _array, indices, JNI_FALSE);
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...]
H A Dcom_google_android_gles_jni_GLImpl.cpp692 /* void glDrawElements ( GLenum mode, GLsizei count, GLenum type, const GLvoid *indices ) */
702 GLvoid *indices = (GLvoid *) 0; local
704 indices = (GLvoid *)getPointer(_env, indices_buf, &_array, &_remaining, &_bufferOffset);
711 if (indices == NULL) {
713 indices = (GLvoid *) (_indicesBase + _bufferOffset);
719 (GLvoid *)indices
724 releasePointer(_env, _array, indices, JNI_FALSE);
/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/graphics/java/android/graphics/
H A DCanvas.java1278 * colors from the shader and the color-gradient together. The indices array
1294 * @param indices If not null, array of indices to reference into the
1296 * @param indexCount number of entries in the indices array (if not null).
1301 short[] indices, int indexOffset, int indexCount, Paint paint) {
1309 if (indices != null) {
1310 checkRange(indices.length, indexOffset, indexCount);
1314 indices, indexOffset, indexCount, paint.mNativePaint);
1726 int[] colors, int colorOffset, short[] indices,
1299 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
1724 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/libs/hwui/
H A DLayerRenderer.cpp165 uint16_t* indices = mLayer->meshIndices; local
183 indices[index ] = quad; // top-left
184 indices[index + 1] = quad + 1; // top-right
185 indices[index + 2] = quad + 2; // bottom-left
186 indices[index + 3] = quad + 2; // bottom-left
187 indices[index + 4] = quad + 1; // top-right
188 indices[index + 5] = quad + 3; // bottom-right
/frameworks/base/media/java/android/media/videoeditor/
H A DMediaArtistNativeHelper.java3790 * @param indices The indices of thumbnails wanted
3797 long startMs, long endMs, int thumbnailCount, int[] indices,
3826 thumbnailCount, startMs, endMs, indices,
3981 long endTimeMs, int[] indices, NativeGetPixelsListCallback callback);
3796 getPixelsList(String filename, final int width, final int height, long startMs, long endMs, int thumbnailCount, int[] indices, final MediaItem.GetThumbnailListCallback callback, final int videoRotation) argument
3979 nativeGetPixelsList(String fileName, int[] pixelArray, int width, int height, int nosofTN, long startTimeMs, long endTimeMs, int[] indices, NativeGetPixelsListCallback 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 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 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/media/jni/mediaeditor/
H A DVideoEditorMain.cpp2319 jint* indices = env->GetIntArrayElements(indexArray, NULL); local
2326 int k = indices[i];
2342 env->ReleaseIntArrayElements(indexArray, indices, 0);
/frameworks/base/opengl/java/android/opengl/
H A DGLES10.java534 // C function void glDrawElements ( GLenum mode, GLsizei count, GLenum type, const GLvoid *indices )
540 java.nio.Buffer indices
H A DGLES20.java682 // C function void glDrawElements ( GLenum mode, GLsizei count, GLenum type, const GLvoid *indices )
688 java.nio.Buffer indices
H A DGLErrorWrapper.java261 public void glDrawElements(int mode, int count, int type, Buffer indices) { argument
263 mgl.glDrawElements(mode, count, type, indices);

Completed in 2318 milliseconds

12