/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/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 | 111 * Removes the mapping at the specified index. 113 public void removeAt(int index) { argument 114 if (mValues[index] != DELETED) { 115 mValues[index] = DELETED; 213 * Given an index in the range <code>0...size()-1</code>, returns 214 * the key from the <code>index</code>th key-value mapping that this 217 public long keyAt(int index) { argument 222 return mKeys[index]; 226 * Given an index in the range <code>0...size()-1</code>, returns 227 * the value from the <code>index</cod 231 valueAt(int index) argument 244 setValueAt(int index, E value) argument [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/libmedia/ |
H A D | MediaProfiles.cpp | 509 int index = -1; local 552 index = getCamcorderProfileIndex(cameraId, refQuality); 554 if (index == -1) { 595 int index = getCamcorderProfileIndex(cameraId, profile->mQuality); local 596 if (index != -1) { 599 CHECK(index == refIndex); 960 int index = -1; local 963 index = i; 967 if (index == -1) { 972 if (!strcmp("enc.vid.width.min", name)) return mVideoEncoders[index] 989 int index = -1; local 1045 int index = -1; local 1088 int index = -1; local 1106 int index = getCamcorderProfileIndex(cameraId, quality); local 1146 ssize_t index = mStartTimeOffsets.indexOfKey(cameraId); local [all...] |
/frameworks/base/graphics/java/android/graphics/ |
H A D | Paint.java | 1282 * @param index The index of the first character to start measuring 1286 public float measureText(char[] text, int index, int count) { argument 1290 if ((index | count) < 0 || index + count > text.length) { 1298 return (float) Math.ceil(native_measureText(text, index, count, mBidiFlags)); 1303 float w = native_measureText(text, index, count, mBidiFlags); 1308 private native float native_measureText(char[] text, int index, int count, int bidiFlags); argument 1314 * @param start The index of the first character to start measuring 1315 * @param end 1 beyond the index o 1421 breakText(char[] text, int index, int count, float maxWidth, float[] measuredWidth) argument 1446 native_breakText(char[] text, int index, int count, float maxWidth, int bidiFlags, float[] measuredWidth) argument 1549 getTextWidths(char[] text, int index, int count, float[] widths) argument 1717 getTextRunAdvances(char[] chars, int index, int count, int contextIndex, int contextCount, int flags, float[] advances, int advancesIndex) argument 2028 getTextPath(char[] text, int index, int count, float x, float y, Path path) argument 2089 getTextBounds(char[] text, int index, int count, Rect bounds) argument 2142 native_getTextWidths(int native_object, char[] text, int index, int count, int bidiFlags, float[] widths) argument 2151 native_getTextRunAdvances(int native_object, char[] text, int index, int count, int contextIndex, int contextCount, int flags, float[] advances, int advancesIndex) argument 2163 native_getTextPath(int native_object, int bidiFlags, char[] text, int index, int count, float x, float y, int path) argument 2169 nativeGetCharArrayBounds(int nativePaint, char[] text, int index, int count, int bidiFlags, Rect bounds) argument [all...] |
/frameworks/base/packages/WAPPushManager/tests/src/com/android/smspush/unitTests/ |
H A D | WapPushTest.java | 871 int index = headerStart; 891 if (index > 100 && !appIdAdded) addAppid = true; 901 if (index + add >= len) break; 908 arr[index] = (byte) (0x80 | rd.nextInt(128)); 909 } while (arr[index] == (byte) 0xaf); 912 arr[index] = (byte) 0xaf; 914 if (noAppId) arr[index]++; 918 arr[index] = (byte) (add - 1); 923 arr[index + i] = (byte) tmpVal; 926 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/av/media/libstagefright/ |
H A D | OMXClient.cpp | 51 node_id node, OMX_INDEXTYPE index, 55 node_id node, OMX_INDEXTYPE index, 59 node_id node, OMX_INDEXTYPE index, 63 node_id node, OMX_INDEXTYPE index, 114 OMX_INDEXTYPE *index); 227 node_id node, OMX_INDEXTYPE index, 229 return getOMX(node)->getParameter(node, index, params, size); 233 node_id node, OMX_INDEXTYPE index, 235 return getOMX(node)->setParameter(node, index, params, size); 239 node_id node, OMX_INDEXTYPE index, 226 getParameter( node_id node, OMX_INDEXTYPE index, void *params, size_t size) argument 232 setParameter( node_id node, OMX_INDEXTYPE index, const void *params, size_t size) argument 238 getConfig( node_id node, OMX_INDEXTYPE index, void *params, size_t size) argument 244 setConfig( node_id node, OMX_INDEXTYPE index, const void *params, size_t size) argument 327 getExtensionIndex( node_id node, const char *parameter_name, OMX_INDEXTYPE *index) argument [all...] |
/frameworks/av/media/libstagefright/codecs/amrnb/enc/src/ |
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/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/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...] |
/frameworks/base/core/java/android/widget/ |
H A D | TabWidget.java | 213 * Returns the tab indicator view at the given index. 215 * @param index the zero-based index of the tab indicator view to return 216 * @return the tab indicator view at the given index 218 public View getChildTabViewAt(int index) { argument 219 return getChildAt(index); 379 * @param index The tab that you want to indicate as the selected 384 public void setCurrentTab(int index) { argument 385 if (index < 0 || index > 453 focusCurrentTab(int index) argument [all...] |
/frameworks/base/core/java/android/net/ |
H A D | NetworkStatsHistory.java | 237 * Return index of bucket that contains or is immediately before the 241 int index = Arrays.binarySearch(bucketStart, 0, bucketCount, time); 242 if (index < 0) { 243 index = (~index) - 1; 245 index -= 1; 247 return MathUtils.constrain(index, 0, bucketCount - 1); 251 * Return index of bucket that contains or is immediately after the 255 int index = Arrays.binarySearch(bucketStart, 0, bucketCount, time); 256 if (index < 400 insertBucket(int index, long start) argument [all...] |
/frameworks/av/include/media/ |
H A D | IStreamSource.h | 35 virtual void onBufferAvailable(size_t index) = 0; 55 virtual void queueBuffer(size_t index, size_t size) = 0;
|
/frameworks/av/media/libmediaplayerservice/ |
H A D | Crypto.cpp | 92 ssize_t index = mUUIDToLibraryPathMap.indexOfKey(uuidVector); local 93 if (index >= 0) { 94 if (loadLibraryForScheme(mUUIDToLibraryPathMap[index], uuid)) { 144 ssize_t index = mLibraryPathToOpenLibraryMap.indexOfKey(path); local 145 if (index >= 0) { 146 mLibrary = mLibraryPathToOpenLibraryMap[index].promote(); 148 index = mLibraryPathToOpenLibraryMap.add(path, NULL); 157 mLibraryPathToOpenLibraryMap.replaceValueAt(index, mLibrary);
|
/frameworks/av/media/libstagefright/codecs/amrwbenc/src/ |
H A D | q_gain2.c | 62 Word16 Q_gain2( /* Return index of quantization. */ 78 Word16 index, *p, min_ind, size; local 89 * - Find the initial quantization pitch index * 277 index = 0; 306 index = i; 311 index = index + min_ind; 312 p = &t_qua_gain[(index + index)]; 341 return (index); [all...] |
/frameworks/av/media/libstagefright/codecs/flac/enc/ |
H A D | SoftFlacEncoder.h | 43 OMX_INDEXTYPE index, OMX_PTR params); 46 OMX_INDEXTYPE index, const OMX_PTR params);
|
/frameworks/av/media/libstagefright/codecs/on2/enc/ |
H A D | SoftVPXEncoder.h | 73 OMX_INDEXTYPE index, OMX_PTR param); 78 OMX_INDEXTYPE index, const OMX_PTR param);
|
/frameworks/av/media/libstagefright/include/ |
H A D | MPEG2PSExtractor.h | 37 virtual sp<MediaSource> getTrack(size_t index); 38 virtual sp<MetaData> getTrackMetaData(size_t index, uint32_t flags);
|
H A D | MPEG2TSExtractor.h | 40 virtual sp<MediaSource> getTrack(size_t index); 41 virtual sp<MetaData> getTrackMetaData(size_t index, uint32_t flags);
|
H A D | WAVExtractor.h | 36 virtual sp<MediaSource> getTrack(size_t index); 37 virtual sp<MetaData> getTrackMetaData(size_t index, uint32_t flags);
|
H A D | WVMExtractor.h | 49 virtual sp<MediaSource> getTrack(size_t index); 50 virtual sp<MetaData> getTrackMetaData(size_t index, uint32_t flags);
|