Searched refs:index (Results 501 - 525 of 901) sorted by relevance

<<21222324252627282930>>

/frameworks/base/libs/hwui/
H A DCaches.cpp503 int index = i * 6; local
504 regionIndices[index ] = quad; // top-left
505 regionIndices[index + 1] = quad + 1; // top-right
506 regionIndices[index + 2] = quad + 2; // bottom-left
507 regionIndices[index + 3] = quad + 2; // bottom-left
508 regionIndices[index + 4] = quad + 1; // top-right
509 regionIndices[index + 5] = quad + 3; // bottom-right
/frameworks/wilhelm/tests/mimeUri/
H A DslesTestSlowDownUri.cpp306 SLuint8 index; local
307 for (index = 0; ; ++index) {
310 res = (*rateItf)->GetRateRange(rateItf, index, &minRate, &maxRate, &stepSize, &capabilities);
312 if (index == 0) {
318 if (index == 255) {
322 printf("range[%u]: min=%d, max=%d, capabilities=", index, minRate, maxRate);
/frameworks/base/media/jni/mediaeditor/
H A DVideoEditorPropertiesMain.cpp86 M4OSA_UInt32 index = 0; local
336 M4OSA_UInt32 index = 0; local
349 for (index = 0; index < extLength ; index++)
351 extension[index] = tolower((int)pExtension[index]);
/frameworks/av/cmds/stagefright/
H A DSimplePlayer.cpp353 size_t index; local
354 err = state->mCodec->dequeueInputBuffer(&index, -1ll);
357 const sp<ABuffer> &dstBuffer = state->mBuffers[0].itemAt(index);
364 index,
423 size_t index; local
424 err = state->mCodec->dequeueInputBuffer(&index);
430 state->mAvailInputBufferIndices.push_back(index);
480 size_t index = *state->mAvailInputBufferIndices.begin(); local
485 state->mBuffers[0].itemAt(index);
494 index,
[all...]
/frameworks/av/media/libstagefright/codecs/on2/h264dec/omxdl/arm11/vc/m4p2/src/
H A DomxVCM4P2_PredictReconCoefIntra_s.s109 index RN 12 label
133 LDR index, =armVCM4P2_DCScaler
134 ADD index,index,videoComp,LSL #5
135 LDRB dcScaler,[index,QP]
/frameworks/av/media/libstagefright/rtsp/
H A DAMPEG4ElementaryAssembler.cpp98 for (size_t index = 0; index < kNumSampleRates; ++index) {
99 if (sampleRate == kSampleRateTable[index]) {
100 *tableIndex = index;
/frameworks/compile/mclinker/lib/LD/
H A DELFObjectReader.cpp124 for (size_t index = 1; index < size; ++index)
125 pInput.context()->getSectionTable()[value[index]] = NULL;
134 size_t link_index = (*section)->getLink()->index();
/frameworks/wilhelm/src/android/
H A Dandroid_StreamPlayer.cpp75 void StreamSourceAppProxy::onBufferAvailable(size_t index) { argument
76 //SL_LOGD("StreamSourceAppProxy::onBufferAvailable(%d)", index);
84 CHECK_LT(index, mBuffers.size());
86 sp<IMemory> mem = mBuffers.itemAt(index);
89 mAvailableBuffers.push_back(index);
230 mAndroidBufferQueue->mState.index++;
/frameworks/av/media/libstagefright/mpeg2ts/
H A DATSParser.cpp205 ssize_t index = mStreams.indexOfKey(pid); local
206 if (index < 0) {
210 *err = mStreams.editValueAt(index)->parse(
330 ssize_t index = mStreams.indexOfKey(info.mPID); local
332 if (index >= 0 && mStreams.editValueAt(index)->type() != info.mType) {
399 ssize_t index = mStreams.indexOfKey(info.mPID); local
401 if (index < 0) {
413 size_t index = (type == AUDIO) ? 0 : 0; local
418 if (index
[all...]
/frameworks/base/tools/aidl/
H A Dgenerate_java_rpc.cpp500 void AddMethod(int index, const string& name, Method** method, Variable** param);
574 ResultDispatcherClass::AddMethod(int index, const string& name, Method** method, Variable** param) argument
587 Case* c = new Case(format_int(index));
678 ResultDispatcherClass* resultsDispatcherClass, Type* resultsInterfaceType, int index)
720 new LiteralExpression(format_int(index)), resultListener);
741 ResultDispatcherClass* resultsDispatcherClass, Type* resultsInterfaceType, int index)
746 resultsDispatcherClass->AddMethod(index, method->name.data, &dispatchMethod, &dispatchParam);
798 int index)
807 generate_proxy_method(method, proxyClass, resultsDispatcherClass, resultsInterfaceType, index);
812 index);
677 generate_proxy_method(const method_type* method, RpcProxyClass* proxyClass, ResultDispatcherClass* resultsDispatcherClass, Type* resultsInterfaceType, int index) argument
740 generate_result_dispatcher_method(const method_type* method, ResultDispatcherClass* resultsDispatcherClass, Type* resultsInterfaceType, int index) argument
796 generate_regular_method(const method_type* method, RpcProxyClass* proxyClass, EndpointBaseClass* serviceBaseClass, ResultDispatcherClass* resultsDispatcherClass, int index) argument
841 generate_event_method(const method_type* method, RpcProxyClass* proxyClass, EndpointBaseClass* serviceBaseClass, ListenerClass* listenerClass, EventListenerClass* presenterClass, int index) argument
974 int index = 0; local
[all...]
/frameworks/base/opengl/java/android/opengl/
H A DGLES20.java345 // C function void glBindAttribLocation ( GLuint program, GLuint index, const char *name )
349 int index,
659 // C function void glDisableVertexAttribArray ( GLuint index )
662 int index
697 // C function void glEnableVertexAttribArray ( GLuint index )
700 int index
804 // C function void glGetActiveAttrib ( GLuint program, GLuint index, GLsizei bufsize, GLsizei *length, GLint *size, GLenum *type, char *name )
808 int index,
820 // C function void glGetActiveAttrib ( GLuint program, GLuint index, GLsizei bufsize, GLsizei *length, GLint *size, GLenum *type, char *name )
824 int index,
347 glBindAttribLocation( int program, int index, String name ) argument
806 glGetActiveAttrib( int program, int index, int bufsize, int[] length, int lengthOffset, int[] size, int sizeOffset, int[] type, int typeOffset, byte[] name, int nameOffset ) argument
822 glGetActiveAttrib( int program, int index, int bufsize, java.nio.IntBuffer length, java.nio.IntBuffer size, java.nio.IntBuffer type, byte name ) argument
834 glGetActiveAttrib( int program, int index, int[] size, int sizeOffset, int[] type, int typeOffset ) argument
845 glGetActiveAttrib( int program, int index, java.nio.IntBuffer size, java.nio.IntBuffer type ) argument
853 glGetActiveUniform( int program, int index, int bufsize, int[] length, int lengthOffset, int[] size, int sizeOffset, int[] type, int typeOffset, byte[] name, int nameOffset ) argument
869 glGetActiveUniform( int program, int index, int bufsize, java.nio.IntBuffer length, java.nio.IntBuffer size, java.nio.IntBuffer type, byte name ) argument
880 glGetActiveUniform( int program, int index, int[] size, int sizeOffset, int[] type, int typeOffset ) argument
891 glGetActiveUniform( int program, int index, java.nio.IntBuffer size, java.nio.IntBuffer type ) argument
1248 glGetVertexAttribfv( int index, int pname, float[] params, int offset ) argument
1257 glGetVertexAttribfv( int index, int pname, java.nio.FloatBuffer params ) argument
1265 glGetVertexAttribiv( int index, int pname, int[] params, int offset ) argument
1274 glGetVertexAttribiv( int index, int pname, java.nio.IntBuffer params ) argument
[all...]
/frameworks/base/tools/aapt/
H A DXMLNode.cpp754 status_t XMLNode::insertChildAt(const sp<XMLNode>& child, size_t index)
761 mChildren.insertAt(child, index);
775 e.index = mNextAttributeIndex++;
780 mAttributeOrder.add(e.index, mAttributes.size()-1);
791 mAttributeOrder.removeItem(e.index);
1373 node.comment.index = htodl(
1379 node.comment.index = htodl((uint32_t)-1);
1387 attrExt.ns.index = htodl(strings.offsetForString(mNamespaceUri));
1389 attrExt.ns.index = htodl((uint32_t)-1);
1391 attrExt.name.index
[all...]
/frameworks/base/core/java/android/widget/
H A DLinearLayout.java89 * use the child at this index as the baseline.
181 int index = a.getInt(com.android.internal.R.styleable.LinearLayout_orientation, -1);
182 if (index >= 0) {
183 setOrientation(index);
186 index = a.getInt(com.android.internal.R.styleable.LinearLayout_gravity, -1);
187 if (index >= 0) {
188 setGravity(index);
462 + "set to an index that is out of bounds.");
473 // the user picked an index that points to something that doesn't
508 * @return The index o
540 getVirtualChildAt(int index) argument
1373 getChildrenSkipCount(View child, int index) argument
[all...]
H A DStackView.java313 private void transformViewAtIndex(int index, final View view, boolean animate) { argument
318 index = mMaxNumActiveViews - index - 1;
319 if (index == mMaxNumActiveViews - 1) index--;
321 index--;
322 if (index < 0) index++;
325 float r = (index * 1.0f) / (mMaxNumActiveViews - 2);
423 int index
[all...]
H A DScroller.java300 final int index = (int) (NB_SAMPLES * t);
303 if (index < NB_SAMPLES) {
304 final float t_inf = (float) index / NB_SAMPLES;
305 final float t_sup = (float) (index + 1) / NB_SAMPLES;
306 final float d_inf = SPLINE_POSITION[index];
307 final float d_sup = SPLINE_POSITION[index + 1];
/frameworks/av/media/libstagefright/codecs/m4v_h263/enc/
H A DSoftMPEG4Encoder.cpp299 OMX_INDEXTYPE index, OMX_PTR params) {
300 switch (index) {
424 return SimpleSoftOMXComponent::internalGetParameter(index, params);
429 OMX_INDEXTYPE index, const OMX_PTR params) {
430 int32_t indexFull = index;
477 OMX_ERRORTYPE err = SimpleSoftOMXComponent::internalSetParameter(index, params);
619 return SimpleSoftOMXComponent::internalSetParameter(index, params);
761 const char *name, OMX_INDEXTYPE *index) {
762 if (!strcmp(name, "OMX.google.android.index.storeMetaDataInBuffers")) {
763 *(int32_t*)index
298 internalGetParameter( OMX_INDEXTYPE index, OMX_PTR params) argument
428 internalSetParameter( OMX_INDEXTYPE index, const OMX_PTR params) argument
760 getExtensionIndex( const char *name, OMX_INDEXTYPE *index) argument
[all...]
/frameworks/av/media/libstagefright/codecs/aacenc/src/
H A Dtns.c72 static void Parcor2Index(const Word32 parcor[], Word16 index[], Word16 order,
75 static void Index2Parcor(const Word16 index[], Word32 parcor[], Word16 order,
88 * description: Retrieve index of nearest band border
89 * returnt: index
774 Word32 index = 0; local
781 index=i;
783 return extract_l(index - 4);
788 Word32 index = 0; local
796 index=i;
798 return extract_l(index
809 Parcor2Index(const Word32 parcor[], Word16 index[], Word16 order, Word16 bitsPerCoeff) argument
833 Index2Parcor(const Word16 index[], Word32 parcor[], Word16 order, Word16 bitsPerCoeff) argument
[all...]
/frameworks/av/media/libstagefright/codecs/aacdec/
H A DSoftAAC2.cpp155 OMX_INDEXTYPE index, OMX_PTR params) {
156 switch (index) {
225 return SimpleSoftOMXComponent::internalGetParameter(index, params);
230 OMX_INDEXTYPE index, const OMX_PTR params) {
231 switch (index) {
280 return SimpleSoftOMXComponent::internalSetParameter(index, params);
154 internalGetParameter( OMX_INDEXTYPE index, OMX_PTR params) argument
229 internalSetParameter( OMX_INDEXTYPE index, const OMX_PTR params) argument
/frameworks/av/media/libstagefright/codecs/aacenc/
H A DSoftAACEncoder2.cpp116 OMX_INDEXTYPE index, OMX_PTR params) {
117 switch (index) {
186 return SimpleSoftOMXComponent::internalGetParameter(index, params);
191 OMX_INDEXTYPE index, const OMX_PTR params) {
192 switch (index) {
272 return SimpleSoftOMXComponent::internalSetParameter(index, params);
115 internalGetParameter( OMX_INDEXTYPE index, OMX_PTR params) argument
190 internalSetParameter( OMX_INDEXTYPE index, const OMX_PTR params) argument
/frameworks/av/media/libstagefright/codecs/amrwbenc/
H A DSoftAMRWBEncoder.cpp151 OMX_INDEXTYPE index, OMX_PTR params) {
152 switch (index) {
217 return SimpleSoftOMXComponent::internalGetParameter(index, params);
222 OMX_INDEXTYPE index, const OMX_PTR params) {
223 switch (index) {
316 return SimpleSoftOMXComponent::internalSetParameter(index, params);
150 internalGetParameter( OMX_INDEXTYPE index, OMX_PTR params) argument
221 internalSetParameter( OMX_INDEXTYPE index, const OMX_PTR params) argument
/frameworks/av/media/libstagefright/codecs/on2/dec/
H A DSoftVPX.cpp149 OMX_INDEXTYPE index, OMX_PTR params) {
150 switch (index) {
180 return SimpleSoftOMXComponent::internalGetParameter(index, params);
185 OMX_INDEXTYPE index, const OMX_PTR params) {
186 switch (index) {
218 return SimpleSoftOMXComponent::internalSetParameter(index, params);
148 internalGetParameter( OMX_INDEXTYPE index, OMX_PTR params) argument
184 internalSetParameter( OMX_INDEXTYPE index, const OMX_PTR params) argument
/frameworks/av/media/libstagefright/codecs/vorbis/dec/
H A DSoftVorbis.cpp124 OMX_INDEXTYPE index, OMX_PTR params) {
125 switch (index) {
186 return SimpleSoftOMXComponent::internalGetParameter(index, params);
191 OMX_INDEXTYPE index, const OMX_PTR params) {
192 switch (index) {
220 return SimpleSoftOMXComponent::internalSetParameter(index, params);
123 internalGetParameter( OMX_INDEXTYPE index, OMX_PTR params) argument
190 internalSetParameter( OMX_INDEXTYPE index, const OMX_PTR params) argument
/frameworks/base/services/java/com/android/server/
H A DVibratorService.java473 int index = 0;
481 if (index < len) {
482 duration += pattern[index++];
491 if (index < len) {
494 duration = pattern[index++];
502 index = repeat;
/frameworks/base/core/jni/android/graphics/
H A DPaint.cpp386 static jfloat measureText_CII(JNIEnv* env, jobject jpaint, jcharArray text, int index, int count) { argument
391 if ((index | count) < 0 || (size_t)(index + count) > textLength) {
403 TextLayout::getTextRunAdvances(paint, textArray, index, count, textLength,
481 static int getTextWidths___CII_F(JNIEnv* env, jobject clazz, SkPaint* paint, jcharArray text, int index, int count, jfloatArray widths) { argument
483 count = dotextwidths(env, paint, textArray + index, count, widths);
603 jcharArray text, jint index, jint count, jint contextIndex, jint contextCount,
607 doTextRunAdvances(env, paint, textArray + contextIndex, index - contextIndex,
609 doTextRunAdvancesICU(env, paint, textArray + contextIndex, index - contextIndex,
696 jcharArray text, int index, in
602 getTextRunAdvances___CIIIII_FII(JNIEnv* env, jobject clazz, SkPaint* paint, jcharArray text, jint index, jint count, jint contextIndex, jint contextCount, jint flags, jfloatArray advances, jint advancesIndex, jint reserved) argument
695 getTextPath___C(JNIEnv* env, jobject clazz, SkPaint* paint, jint bidiFlags, jcharArray text, int index, int count, jfloat x, jfloat y, SkPath* path) argument
746 breakTextC(JNIEnv* env, jobject jpaint, jcharArray jtext, int index, int count, float maxWidth, jfloatArray jmeasuredWidth) argument
816 getCharArrayBounds(JNIEnv* env, jobject, const SkPaint* paint, jcharArray text, int index, int count, jobject bounds) argument
[all...]
/frameworks/base/core/java/android/content/
H A DContentService.java690 private String getUriSegment(Uri uri, int index) { argument
692 if (index == 0) {
695 return uri.getPathSegments().get(index - 1);
717 private void addObserverLocked(Uri uri, int index, IContentObserver observer, argument
721 if (index == countUriSegments(uri)) {
728 String segment = getUriSegment(uri, index);
736 node.addObserverLocked(uri, index + 1, observer, notifyForDescendants,
745 node.addObserverLocked(uri, index + 1, observer, notifyForDescendants,
808 public void collectObserversLocked(Uri uri, int index, IContentObserver observer, argument
813 if (index >
[all...]

Completed in 204 milliseconds

<<21222324252627282930>>