/frameworks/av/media/libstagefright/codecs/raw/ |
H A D | SoftRaw.cpp | 99 OMX_INDEXTYPE index, OMX_PTR params) { 100 switch (index) { 125 return SimpleSoftOMXComponent::internalGetParameter(index, params); 130 OMX_INDEXTYPE index, const OMX_PTR params) { 131 switch (index) { 162 return SimpleSoftOMXComponent::internalSetParameter(index, params); 98 internalGetParameter( OMX_INDEXTYPE index, OMX_PTR params) argument 129 internalSetParameter( OMX_INDEXTYPE index, const OMX_PTR params) argument
|
/frameworks/av/media/libstagefright/matroska/ |
H A D | MatroskaExtractor.cpp | 120 const sp<MatroskaExtractor> &extractor, size_t index); 159 const sp<MatroskaExtractor> &extractor, size_t index) 161 mTrackIndex(index), 165 mExtractor->mTracks.itemAt(index).mTrackNum), 167 sp<MetaData> meta = mExtractor->mTracks.itemAt(index).mMeta; 342 for (size_t index = 0; index < count; index++) { 343 pEntry = pSH->GetEntry(index); 375 // The Cue index i 158 MatroskaSource( const sp<MatroskaExtractor> &extractor, size_t index) argument 692 getTrack(size_t index) argument 700 getTrackMetaData( size_t index, uint32_t flags) argument [all...] |
/frameworks/base/core/java/android/hardware/display/ |
H A D | DisplayManagerGlobal.java | 194 int index = findDisplayListenerLocked(listener); 195 if (index < 0) { 208 int index = findDisplayListenerLocked(listener); 209 if (index >= 0) { 210 DisplayListenerDelegate d = mDisplayListeners.get(index); 212 mDisplayListeners.remove(index);
|
/frameworks/base/core/java/android/preference/ |
H A D | MultiCheckPreference.java | 74 * Each entry must have a corresponding index in 146 public boolean getValue(int index) { argument 147 return mSetValues[index]; 153 public void setValue(int index, boolean state) { argument 154 mSetValues[index] = state; 215 * Returns the index of the given value (in the entry values array). 217 * @param value The value whose index should be returned. 218 * @return The index of the value, or -1 if not found. 263 protected Object onGetDefaultValue(TypedArray a, int index) { argument 264 return a.getString(index); [all...] |
/frameworks/base/core/jni/ |
H A D | android_media_AudioSystem.cpp | 190 jint index, 195 index, 205 int index; local 207 &index, 210 index = -1; 212 return index; 187 android_media_AudioSystem_setStreamVolumeIndex(JNIEnv *env, jobject thiz, jint stream, jint index, jint device) argument
|
/frameworks/ml/bordeaux/learning/multiclass_pa/native/ |
H A D | multiclass_pa.cpp | 176 int index = PickAnExample(num_examples); local 177 float loss_t = TrainOneExample(data[index].first, data[index].second); 189 int index = PickAnExample(num_examples); local 190 float loss_t = SparseTrainOneExample(data[index].first, data[index].second);
|
/frameworks/base/media/jni/mediaeditor/ |
H A D | VideoEditorOsal.cpp | 228 int index = 0; local 231 for (index = 0; 232 ((M4OSA_NULL == pString) && (index < gkRESULTS_COUNT)); 233 index++) 236 if (result == gkRESULTS[index].result) 239 pString = gkRESULTS[index].pName;
|
/frameworks/av/media/libstagefright/codecs/m4v_h263/dec/ |
H A D | SoftMPEG4.cpp | 171 OMX_INDEXTYPE index, OMX_PTR params) { 172 switch (index) { 210 ALOGE("Invalid port index: %ld", profileLevel->nPortIndex); 214 size_t index = profileLevel->nProfileIndex; local 218 if (index >= nProfileLevels) { 222 profileLevel->eProfile = kH263ProfileLevels[index].mProfile; 223 profileLevel->eLevel = kH263ProfileLevels[index].mLevel; 227 if (index >= nProfileLevels) { 231 profileLevel->eProfile = kM4VProfileLevels[index].mProfile; 232 profileLevel->eLevel = kM4VProfileLevels[index] 170 internalGetParameter( OMX_INDEXTYPE index, OMX_PTR params) argument 242 internalSetParameter( OMX_INDEXTYPE index, const OMX_PTR params) argument 288 getConfig( OMX_INDEXTYPE index, OMX_PTR params) argument [all...] |
/frameworks/wilhelm/src/ |
H A D | sles.c | 36 int index; local 37 if (0 > (index = clazz->mMPH_to_index[MPH])) { 41 assert(clazz->mInterfaceCount > (unsigned) index); 42 switch (thiz->mInterfaceStates[index]) { 194 int MPH, index; local 198 (0 > (index = clazz->mMPH_to_index[MPH])) || 199 (INTERFACE_UNAVAILABLE == interfaces[index].mInterface)) { 213 requiredMask |= (1 << index); 216 exposedMask |= (1 << index); 522 SLuint32 index; local [all...] |
/frameworks/base/core/java/com/google/android/util/ |
H A D | AbstractMessageParser.java | 121 /** Return the part at the given index. */ 122 public final Part getPart(int index) { return parts.get(index); } argument 181 --i; // visit this index again 353 int index = start; 354 while ((index < text.length()) && isDomainChar(text.charAt(index))) { 355 index += 1; 361 if (index == text.length()) { 363 } else if (text.charAt(index) 541 isWordBreak(int index) argument 546 isSmileyBreak(int index) argument 560 isURLBreak(int index) argument 575 getCharClass(int index) argument [all...] |
/frameworks/base/media/jni/ |
H A D | android_media_MediaCodec.cpp | 142 size_t index, 146 index, offset, size, timeUs, flags, errorDetailMsg); 150 size_t index, 161 index, offset, subSamples, numSubSamples, key, iv, mode, 165 status_t JMediaCodec::dequeueInputBuffer(size_t *index, int64_t timeoutUs) { argument 166 return mCodec->dequeueInputBuffer(index, timeoutUs); 170 JNIEnv *env, jobject bufferInfo, size_t *index, int64_t timeoutUs) { 176 index, &offset, &size, &timeUs, &flags, timeoutUs)) != OK) { 188 status_t JMediaCodec::releaseOutputBuffer(size_t index, bool render) { argument 190 ? mCodec->renderOutputBufferAndRelease(index) 141 queueInputBuffer( size_t index, size_t offset, size_t size, int64_t timeUs, uint32_t flags, AString *errorDetailMsg) argument 149 queueSecureInputBuffer( size_t index, size_t offset, const CryptoPlugin::SubSample *subSamples, size_t numSubSamples, const uint8_t key[16], const uint8_t iv[16], CryptoPlugin::Mode mode, int64_t presentationTimeUs, uint32_t flags, AString *errorDetailMsg) argument 169 dequeueOutputBuffer( JNIEnv *env, jobject bufferInfo, size_t *index, int64_t timeoutUs) argument 440 android_media_MediaCodec_queueInputBuffer( JNIEnv *env, jobject thiz, jint index, jint offset, jint size, jlong timestampUs, jint flags) argument 466 android_media_MediaCodec_queueSecureInputBuffer( JNIEnv *env, jobject thiz, jint index, jint offset, jobject cryptoInfoObj, jlong timestampUs, jint flags) argument 615 size_t index; local 636 size_t index; local 647 android_media_MediaCodec_releaseOutputBuffer( JNIEnv *env, jobject thiz, jint index, jboolean render) argument [all...] |
/frameworks/base/libs/hwui/ |
H A D | ProgramCache.cpp | 294 " highp float index = atan(sweep.y, sweep.x) * 0.15915494309; // inv(2 * PI)\n" 295 " vec4 gradientColor = texture2D(gradientSampler, vec2(index - floor(index), 0.5));\n", 297 " highp float index = atan(sweep.y, sweep.x) * 0.15915494309; // inv(2 * PI)\n" 298 " vec4 gradientColor = mix(startColor, endColor, clamp(index - floor(index), 0.0, 1.0));\n" 441 ssize_t index = mCache.indexOfKey(key); local 443 if (index < 0) { 448 program = mCache.valueAt(index); 831 ssize_t index local [all...] |
/frameworks/base/media/tests/SoundPoolTest/src/com/android/ |
H A D | SoundPoolTest.java | 121 for (int index = 0; index < numSounds; index++) { 122 mSounds[index] = loadSound(mTestFiles[index], NORMAL_PRIORITY); 123 mLastSample = mSounds[index]; 133 for (int index = 0; index < count; index++) { 134 int id = mSoundPool.play(mSounds[index], DEFAULT_VOLUM [all...] |
/frameworks/base/opengl/java/android/opengl/ |
H A D | EGLLogWrapper.java | 500 int index = offset + i; 501 buf.append(" [" + index + "] = "); 502 if (index < 0 || index >= arrLen) { 505 buf.append(arr[index]); 518 int index = offset + i; 519 buf.append(" [" + index + "] = "); 520 if (index < 0 || index >= arrLen) { 523 buf.append(arr[index]); [all...] |
/frameworks/av/media/libstagefright/codecs/amrnb/dec/src/ |
H A D | dec_amr.cpp | 572 Word16 T0, T0_frac, index, index_mr475 = 0; 735 // pitch index 736 index = *parm++; 781 Dec_lag3 (index, t0_min, t0_max, pit_flag, st->old_T0, 810 Dec_lag6 (index, PIT_MIN_MR122, 813 if ( bfi == 0 && (pit_flag == 0 || sub (index, 61) < 0)) 834 index = *parm++; // index of position 837 decode_2i40_9bits (subfrNr, i, index, code); 843 index 1373 Word16 index; local [all...] |
/frameworks/base/policy/src/com/android/internal/policy/impl/keyguard/ |
H A D | KeyguardWidgetPager.java | 261 public void onAddView(View v, final int index) { argument 269 // Subtract from the index to take into account pages before the reorderable 274 mLockPatternUtils.addAppWidget(appWidgetId, index - pagesRange[0]); 341 public void addView(View child, int index) { argument 343 super.addView(child, index); 371 public void addView(View child, int index, LayoutParams params) { argument 373 super.addView(child, index, params); 383 public KeyguardWidgetFrame getWidgetPageAt(int index) { argument 385 return (KeyguardWidgetFrame) getChildAt(index); 461 public float getAlphaForPage(int screenCenter, int index) { argument 465 getOutlineAlphaForPage(int screenCenter, int index) argument 469 isOverScrollChild(int index, float scrollProgress) argument [all...] |
/frameworks/av/media/libstagefright/wifi-display/sink/ |
H A D | TunnelRenderer.cpp | 57 virtual void onBufferAvailable(size_t index); 101 void TunnelRenderer::StreamSource::onBufferAvailable(size_t index) { argument 102 CHECK_LT(index, mBuffers.size()); 106 mIndicesAvailable.push_back(index); 146 size_t index = *mIndicesAvailable.begin(); local 149 sp<IMemory> mem = mBuffers.itemAt(index); 154 mListener->queueBuffer(index, srcBuffer->size());
|
/frameworks/base/core/java/android/text/ |
H A D | Selection.java | 84 * Move the cursor to offset <code>index</code>. 86 public static final void setSelection(Spannable text, int index) { argument 87 setSelection(text, index, index); 98 * Move the selection edge to offset <code>index</code>. 100 public static final void extendSelection(Spannable text, int index) { argument 101 if (text.getSpanStart(SELECTION_END) != index) 102 text.setSpan(SELECTION_END, index, index, Spanned.SPAN_POINT_POINT);
|
/frameworks/base/tests/touchlag/ |
H A D | touchlag.cpp | 193 int index; member in struct:Queue 195 Queue() : index(0) { } 197 index++; 198 index &= 0xF; 199 q[index].x = x; 200 q[index].y = y; 203 const int i = (index - lag) & 0xF;
|
/frameworks/native/libs/ui/ |
H A D | FramebufferNativeWindow.cpp | 216 const int index = mCurrentBufferIndex; local 217 return index; 242 int index = self->mBufferHead++; local 250 ALOG_ASSERT(self->buffers[index] != self->front); 254 self->mCurrentBufferIndex = index; 256 *buffer = self->buffers[index].get(); 285 const int index = self->mCurrentBufferIndex; local
|
/frameworks/native/libs/utils/ |
H A D | BlobCache.cpp | 84 ssize_t index = mCacheEntries.indexOf(dummyEntry); local 85 if (index < 0) { 110 sp<Blob> oldValueBlob(mCacheEntries[index].getValue()); 124 mCacheEntries.editItemAt(index).setValue(valueBlob); 142 ssize_t index = mCacheEntries.indexOf(dummyEntry); local 143 if (index < 0) { 150 sp<Blob> valueBlob(mCacheEntries[index].getValue());
|
/frameworks/base/core/java/android/app/ |
H A D | FragmentManager.java | 257 * Return the BackStackEntry at index <var>index</var> in the back stack; 258 * entries start index 0 being the bottom of the stack. 260 public abstract BackStackEntry getBackStackEntryAt(int index); argument 537 public BackStackEntry getBackStackEntryAt(int index) { argument 538 return mBackStack.get(index); 567 int index = bundle.getInt(key, -1); 568 if (index == -1) { 571 if (index >= mActive.size()) { 573 + key + ": index " 1366 setBackStackIndex(int index, BackStackRecord bse) argument 1391 freeBackStackIndex(int index) argument [all...] |
/frameworks/support/v4/java/android/support/v4/app/ |
H A D | FragmentManager.java | 255 * Return the BackStackEntry at index <var>index</var> in the back stack; 256 * entries start index 0 being the bottom of the stack. 258 public abstract BackStackEntry getBackStackEntryAt(int index); argument 524 public BackStackEntry getBackStackEntryAt(int index) { argument 525 return mBackStack.get(index); 554 int index = bundle.getInt(key, -1); 555 if (index == -1) { 558 if (index >= mActive.size()) { 560 + key + ": index " 1375 setBackStackIndex(int index, BackStackRecord bse) argument 1400 freeBackStackIndex(int index) argument [all...] |
/frameworks/base/core/java/android/database/sqlite/ |
H A D | SQLiteConnection.java | 132 int index); 134 int index); 136 int index, long value); 138 int index, double value); 140 int index, String value); 142 int index, byte[] value); 1292 final int index = (mIndex + 1) % MAX_RECENT_OPERATIONS; 1293 Operation operation = mOperations[index]; 1296 mOperations[index] = operation; 1323 operation.mCookie = newOperationCookieLocked(index); 131 nativeGetColumnName(int connectionPtr, int statementPtr, int index) argument 133 nativeBindNull(int connectionPtr, int statementPtr, int index) argument 135 nativeBindLong(int connectionPtr, int statementPtr, int index, long value) argument 137 nativeBindDouble(int connectionPtr, int statementPtr, int index, double value) argument 139 nativeBindString(int connectionPtr, int statementPtr, int index, String value) argument 141 nativeBindBlob(int connectionPtr, int statementPtr, int index, byte[] value) argument 1379 newOperationCookieLocked(int index) argument [all...] |
/frameworks/compile/mclinker/lib/LD/ |
H A D | ELFWriter.cpp | 271 size_t index = 0; local 274 for (; seg != segEnd; ++seg, ++index) { 275 phdr[index].p_type = (*seg).type(); 276 phdr[index].p_flags = (*seg).flag(); 277 phdr[index].p_offset = (*seg).offset(); 278 phdr[index].p_vaddr = (*seg).vaddr(); 279 phdr[index].p_paddr = (*seg).paddr(); 280 phdr[index].p_filesz = (*seg).filesz(); 281 phdr[index].p_memsz = (*seg).memsz(); 282 phdr[index] 302 size_t index = 0; local [all...] |