/frameworks/native/include/media/hardware/ |
H A D | OMXPluginBase.h | 46 OMX_U32 index) = 0;
|
/frameworks/native/opengl/tools/glgen/src/ |
H A D | CFunc.java | 86 public String getArgName(int index) { argument 87 return argNames.get(index); 90 public CType getArgType(int index) { argument 91 return argTypes.get(index);
|
/frameworks/support/v17/leanback/src/android/support/v17/leanback/app/ |
H A D | PlaybackControlGlue.java | 653 int index = 0; 655 index = playbackSpeed - PLAYBACK_SPEED_FAST_L0; 657 index++; 660 if (mFastForwardAction.getIndex() != index) { 661 mFastForwardAction.setIndex(index); 666 int index = 0; 668 index = -playbackSpeed - PLAYBACK_SPEED_FAST_L0; 670 index++; 673 if (mRewindAction.getIndex() != index) { 674 mRewindAction.setIndex(index); [all...] |
/frameworks/wilhelm/src/android/ |
H A D | android_AudioSfDecoder.h | 66 bool getPcmFormatKeySize(uint32_t index, uint32_t* pKeySize); 67 bool getPcmFormatKeyName(uint32_t index, uint32_t keySize, char* keyName); 68 bool getPcmFormatValueSize(uint32_t index, uint32_t* pValueSize); 69 bool getPcmFormatKeyValue(uint32_t index, uint32_t size, uint32_t* pValue);
|
/frameworks/av/media/libstagefright/ |
H A D | AMRExtractor.cpp | 183 sp<MediaSource> AMRExtractor::getTrack(size_t index) { argument 184 if (mInitCheck != OK || index != 0) { 192 sp<MetaData> AMRExtractor::getTrackMetaData(size_t index, uint32_t /* flags */) { argument 193 if (mInitCheck != OK || index != 0) { 261 size_t index = seekFrame < 0 ? 0 : seekFrame / 50; local 262 if (index >= mOffsetTableLength) { 263 index = mOffsetTableLength - 1; 266 mOffset = mOffsetTable[index] + (mIsWide ? 9 : 6); 268 for (size_t i = 0; i< seekFrame - index * 50; i++) {
|
/frameworks/av/media/libstagefright/codecs/amrnb/enc/src/ |
H A D | c2_9pf.cpp | 183 index = code index (Word16) 254 Word16 i, index, sharp; 265 index = build_code(subNr, codvec, dn_sign, code, h, y, sign); 276 return index; 323 Word16 index; local 387 index = 421 return(index); 519 * These index have low complexity address computation because * 659 * These index hav 1001 Word16 index; local [all...] |
H A D | s10_8pf.cpp | 238 s = L_mult (rr[i3][i3], _1_8); // index incr= step+L_CODE 239 s = L_mac (s, rr[i0][i3], _1_4); // index increment = step 240 s = L_mac (s, rr[i1][i3], _1_4); // index increment = step 253 // index increment = step 256 // index incr= step+L_CODE 259 // index increment = step 262 // index increment = step 267 // index increment = step 270 // index increment = step 273 // index incremen 587 Word16 index[10]; local [all...] |
/frameworks/av/media/libstagefright/timedtext/ |
H A D | TimedTextDriver.cpp | 63 status_t TimedTextDriver::selectTrack_l(size_t index) { argument 64 if (mCurrentTrackIndex == index) { 68 source = mTextSourceVector.valueFor(index); 73 mCurrentTrackIndex = index; 118 status_t TimedTextDriver::selectTrack(size_t index) { argument 126 ret = selectTrack_l(index); 130 ret = selectTrack_l(index); 142 status_t TimedTextDriver::unselectTrack(size_t index) { argument 145 if (mCurrentTrackIndex != index) {
|
/frameworks/base/core/java/android/util/ |
H A D | LongSparseArray.java | 48 * <code>keyAt(int)</code> with ascending values of the index will return the 144 * Removes the mapping at the specified index. 146 public void removeAt(int index) { argument 147 if (mValues[index] != DELETED) { 148 mValues[index] = DELETED; 226 * Given an index in the range <code>0...size()-1</code>, returns 227 * the key from the <code>index</code>th key-value mapping that this 235 public long keyAt(int index) { argument 240 return mKeys[index]; 244 * Given an index i 255 valueAt(int index) argument 268 setValueAt(int index, E value) argument [all...] |
/frameworks/base/tests/AccessoryDisplay/sink/src/com/android/accessorydisplay/sink/ |
H A D | DisplaySinkService.java | 195 final int index = mCodec.dequeueInputBuffer(0); 196 if (index < 0) { 202 final ByteBuffer buffer = mCodecInputBuffers[index]; 214 mCodec.queueInputBuffer(index, 0, buffer.limit(), 0, 0); 220 final int index = mCodec.dequeueOutputBuffer(mCodecBufferInfo, 0); 221 if (index >= 0) { 222 mCodec.releaseOutputBuffer(index, true /*render*/); 223 } else if (index != MediaCodec.INFO_OUTPUT_BUFFERS_CHANGED 224 && index != MediaCodec.INFO_OUTPUT_FORMAT_CHANGED) {
|
/frameworks/base/tests/CanvasCompare/src/com/android/test/hwuicompare/ |
H A D | ManualActivity.java | 164 public DisplayModifierSpinner(int index) { argument 166 mIndex = index; 189 int index = 0; 191 mSpinners[index] = new DisplayModifierSpinner(index); 192 mSpinners[index].setAdapter(new ArrayAdapter<String>(this, 194 layout.addView(mSpinners[index]); 195 index++; 197 Log.d(LOG_TAG, "created " + index + " spinners");
|
/frameworks/base/tools/layoutlib/bridge/src/com/android/layoutlib/bridge/util/ |
H A D | SparseWeakArray.java | 112 * Removes the mapping at the specified index. 114 public void removeAt(int index) { argument 115 if (mValues[index] != DELETED) { 116 mValues[index] = DELETED; 191 * Given an index in the range <code>0...size()-1</code>, returns 192 * the key from the <code>index</code>th key-value mapping that this 195 public long keyAt(int index) { argument 200 return mKeys[index]; 204 * Given an index in the range <code>0...size()-1</code>, returns 205 * the value from the <code>index</cod 208 valueAt(int index) argument 221 setValueAt(int index, E value) argument [all...] |
/frameworks/native/opengl/libs/EGL/ |
H A D | Loader.cpp | 232 ssize_t index = ssize_t(strlen(name)) - 3; local 233 if ((index>0 && (index<SIZE-1)) && (!strcmp(name+index, "OES"))) { 234 strncpy(scrap, name, index); 235 scrap[index] = 0; 242 ssize_t index = ssize_t(strlen(name)) - 3; local 243 if (index>0 && strcmp(name+index, "OES")) {
|
/frameworks/native/services/surfaceflinger/ |
H A D | FrameTracker.cpp | 127 const size_t index = (offset + i) % NUM_FRAME_RECORDS; local 130 if (mFrameRecords[index].desiredPresentTime == 0) { 134 nsecs_t desiredPresentTimeNano = mFrameRecords[index].desiredPresentTime; 137 nsecs_t actualPresentTimeNano = mFrameRecords[index].actualPresentTime; 140 nsecs_t frameReadyTimeNano = mFrameRecords[index].frameReadyTime; 242 const size_t index = (o+i) % NUM_FRAME_RECORDS; local 244 mFrameRecords[index].desiredPresentTime, 245 mFrameRecords[index].actualPresentTime, 246 mFrameRecords[index].frameReadyTime);
|
/frameworks/opt/telephony/src/java/com/android/internal/telephony/ |
H A D | RetryManager.java | 276 int index; 278 index = mRetryCount; 280 index = mRetryArray.size() - 1; 284 if ((index >= 0) && (index < mRetryArray.size())) { 285 retVal = mRetryArray.get(index).mDelayTime + nextRandomizationTime(index); 431 * Return next random number for the index 433 private int nextRandomizationTime(int index) { argument 434 int randomTime = mRetryArray.get(index) [all...] |
/frameworks/support/v4/java/android/support/v4/util/ |
H A D | LongSparseArray.java | 136 * Removes the mapping at the specified index. 138 public void removeAt(int index) { argument 139 if (mValues[index] != DELETED) { 140 mValues[index] = DELETED; 238 * Given an index in the range <code>0...size()-1</code>, returns 239 * the key from the <code>index</code>th key-value mapping that this 242 public long keyAt(int index) { argument 247 return mKeys[index]; 251 * Given an index in the range <code>0...size()-1</code>, returns 252 * the value from the <code>index</cod 256 valueAt(int index) argument 269 setValueAt(int index, E value) argument [all...] |
/frameworks/base/graphics/java/android/graphics/drawable/ |
H A D | LayerDrawable.java | 47 * order, so the element with the largest index will be drawn on top. 366 * Adds a new layer at the end of list of layers and returns its index. 369 * @return The index of the layer. 428 * the layer list and returns its index. 431 * @return The index of the new layer. 435 final int index = addLayer(layer); 437 refreshChildPadding(index, layer); 438 return index; 445 * {@link Drawable} for the matching layer at the highest index. 465 * @param index Th 472 setId(int index, int id) argument 487 getId(int index) argument 553 setDrawable(int index, Drawable drawable) argument 589 getDrawable(int index) argument 611 setLayerSize(int index, int w, int h) argument 622 setLayerWidth(int index, int w) argument 633 getLayerWidth(int index) argument 643 setLayerHeight(int index, int h) argument 654 getLayerHeight(int index) argument 678 setLayerGravity(int index, int gravity) argument 691 getLayerGravity(int index) argument 710 setLayerInset(int index, int l, int t, int r, int b) argument 729 setLayerInsetRelative(int index, int s, int t, int e, int b) argument 738 setLayerInsetLeft(int index, int l) argument 748 getLayerInsetLeft(int index) argument 758 setLayerInsetRight(int index, int r) argument 768 getLayerInsetRight(int index) argument 778 setLayerInsetTop(int index, int t) argument 788 getLayerInsetTop(int index) argument 798 setLayerInsetBottom(int index, int b) argument 808 getLayerInsetBottom(int index) argument 818 setLayerInsetStart(int index, int s) argument 828 getLayerInsetStart(int index) argument 838 setLayerInsetEnd(int index, int e) argument 848 getLayerInsetEnd(int index) argument 853 setLayerInsetInternal(int index, int l, int t, int r, int b, int s, int e) argument [all...] |
/frameworks/base/packages/WAPPushManager/tests/src/com/android/smspush/unitTests/ |
H A D | WapPushTest.java | 890 int index = headerStart; 910 if (index > 100 && !appIdAdded) addAppid = true; 920 if (index + add >= len) break; 927 arr[index] = (byte) (0x80 | rd.nextInt(128)); 928 } while (arr[index] == (byte) 0xaf); 931 arr[index] = (byte) 0xaf; 933 if (noAppId) arr[index]++; 937 arr[index] = (byte) (add - 1); 942 arr[index + i] = (byte) tmpVal; 945 if (tmpVal2 == 0x2f) arr[index [all...] |
/frameworks/wilhelm/src/itf/ |
H A D | IObject.c | 338 int MPH, index; local 342 (0 > (index = clazz->mMPH_to_index[MPH]))) { 345 unsigned mask = 1 << index; 348 !(INTERFACE_PREREALIZE & clazz->mInterfaces[index].mInterface)) { 357 switch (thiz->mInterfaceStates[index]) { 360 interface = (char *) thiz + clazz->mInterfaces[index].mOffset; 438 unsigned index; local 439 for (index = 0; index < clazz->mInterfaceCount; ++index, 582 unsigned index = clazz->mInterfaceCount; local 708 int MPH, index; local [all...] |
/frameworks/av/media/libstagefright/codecs/on2/h264dec/source/ |
H A D | h264bsd_dpb.c | 234 i32 picNum, picNumNoWrap, index; local 286 index = FindDpbPic(dpb, picNum, isShortTerm); 287 if (index < 0 || !IS_EXISTING(dpb->buffer[index])) 294 dpb->list[refIdx++] = &dpb->buffer[index]; 297 if(dpb->list[j] != &dpb->buffer[index]) 326 i32 index, picNum; local 334 index = FindDpbPic(dpb, picNum, HANTRO_TRUE); 335 if (index < 0) 338 SET_UNUSED(dpb->buffer[index]); 366 i32 index; local 406 i32 index, picNum; local 846 h264bsdGetRefPicData(dpbStorage_t *dpb, u32 index) argument 914 i32 index, picNum; local [all...] |
/frameworks/support/v7/mediarouter/src/android/support/v7/media/ |
H A D | SystemMediaRouteProvider.java | 264 int index = findSystemRouteRecordByDescriptorId(routeId); 265 if (index >= 0) { 266 SystemRouteRecord record = mSystemRouteRecords.get(index); 351 int index = findSystemRouteRecord(routeObj); 352 if (index >= 0) { 353 mSystemRouteRecords.remove(index); 362 int index = findSystemRouteRecord(routeObj); 363 if (index >= 0) { 364 SystemRouteRecord record = mSystemRouteRecords.get(index); 374 int index 423 onRouteGrouped(Object routeObj, Object groupObj, int index) argument [all...] |
/frameworks/base/tests/RenderScriptTests/PerfTest/src/com/android/perftest/ |
H A D | UiTest.java | 79 void addTest(int index, int testId, int user1, int user2, int user3) { argument 80 mTests[index] = new ScriptField_TestScripts_s.Item(); 81 mTests[index].testScript = mUiScript; 82 mTests[index].testName = Allocation.createFromString(mRS, 83 mNames[index], 85 mTests[index].debugName = RsBenchRS.createZeroTerminatedAlloc(mRS, 86 mNames[index], 96 mTests[index].testData = testData.getAllocation(); 108 int index = 0; 110 addTest(index [all...] |
/frameworks/compile/mclinker/lib/LD/ |
H A D | IdenticalCodeFolding.cpp | 79 size_t index = 0; local 80 for (kept = m_KeptSections.begin(); kept != keptEnd; ++kept, ++index) { 84 if (index != kept_index) { 171 size_t index = m_KeptSections.size(); local 172 m_KeptSections[candidate->first] = ObjectAndId(*obj, index); 186 for (size_t index = 0; index < pCandidateList.size(); ++index) { 187 contents[index] = pCandidateList[index] [all...] |
/frameworks/av/include/media/stagefright/ |
H A D | MediaCodec.h | 107 size_t index, 115 size_t index, 126 status_t dequeueInputBuffer(size_t *index, int64_t timeoutUs = 0ll); 129 size_t *index, 136 status_t renderOutputBufferAndRelease(size_t index, int64_t timestampNs); 137 status_t renderOutputBufferAndRelease(size_t index); 138 status_t releaseOutputBuffer(size_t index); 150 status_t getOutputBuffer(size_t index, sp<ABuffer> *buffer); 151 status_t getOutputFormat(size_t index, sp<AMessage> *format); 152 status_t getInputBuffer(size_t index, s [all...] |
/frameworks/av/media/libstagefright/codecs/amrnb/common/src/ |
H A D | q_plsf_5.cpp | 154 Word16 -- quantization index, Q0 205 static Word16 Vq_subvec( /* o : quantization index, Q0 */ 215 Word16 index = 0; /* initialization only needed to keep gcc silent */ local 281 index = i; 289 p_dico = &dico[ index<<2]; 295 return index; 318 Word16 -- quantization index, Q0 371 static Word16 Vq_subvec_s( /* o : quantization index Q0 */ 380 Word16 index = 0; /* initialization only needed to keep gcc silent */ local 461 index [all...] |