/frameworks/base/media/java/android/media/ |
H A D | MediaCodecList.java | 51 * the given {@code index} in the regular list. 57 public static final MediaCodecInfo getCodecInfoAt(int index) { argument 59 if (index < 0 || index > sRegularCodecInfos.length) { 62 return sRegularCodecInfos[index]; 85 for (int index = 0; index < count; index++) { 87 MediaCodecInfo info = getNewCodecInfoAt(index); 105 private static MediaCodecInfo getNewCodecInfoAt(int index) { argument 117 getCodecName(int index) argument 119 isEncoder(int index) argument 121 getSupportedTypes(int index) argument 124 getCodecCapabilities(int index, String type) argument [all...] |
/frameworks/base/tools/split-select/ |
H A D | RuleGenerator.cpp | 35 sp<Rule> RuleGenerator::generateDensity(const Vector<int>& allDensities, size_t index) { argument 36 if (allDensities[index] != ResTable_config::DENSITY_ANY) { 51 if (index > 0) { 55 gt->longArgs.add(findMid(allDensities[index - 1], allDensities[index]) - 1); 59 if (index + 1 < allDensities.size() && allDensities[index + 1] != ResTable_config::DENSITY_ANY) { 63 lt->longArgs.add(findMid(allDensities[index], allDensities[index + 1])); 76 sp<Rule> RuleGenerator::generateAbi(const Vector<abi::Variant>& splitAbis, size_t index) { argument 98 generate(const SortedVector<SplitDescription>& group, size_t index) argument [all...] |
/frameworks/support/collection/ktx/src/main/java/androidx/collection/ |
H A D | LongSparseArray.kt | 27 /** Allows the use of the index operator for storing values in the collection. */ 57 val index = indexOfKey(key) 58 if (index != -1 && value == valueAt(index)) { 59 removeAt(index) 70 for (index in 0 until size()) { 71 action(keyAt(index), valueAt(index)) 77 var index = 0 78 override fun hasNext() = index < siz [all...] |
H A D | SparseArray.kt | 27 /** Allows the use of the index operator for storing values in the collection. */ 57 val index = indexOfKey(key) 58 if (index != -1 && value == valueAt(index)) { 59 removeAt(index) 70 for (index in 0 until size()) { 71 action(keyAt(index), valueAt(index)) 77 var index = 0 78 override fun hasNext() = index < siz [all...] |
/frameworks/support/core/ktx/src/main/java/androidx/core/util/ |
H A D | LongSparseArray.kt | 32 /** Allows the use of the index operator for storing values in the collection. */ 74 val index = indexOfKey(key) 75 if (index != -1 && value == valueAt(index)) { 76 removeAt(index) 89 for (index in 0 until size()) { 90 action(keyAt(index), valueAt(index)) 97 var index = 0 98 override fun hasNext() = index < siz [all...] |
H A D | SparseArray.kt | 29 /** Allows the use of the index operator for storing values in the collection. */ 61 val index = indexOfKey(key) 62 if (index != -1 && value == valueAt(index)) { 63 removeAt(index) 74 for (index in 0 until size()) { 75 action(keyAt(index), valueAt(index)) 81 var index = 0 82 override fun hasNext() = index < siz [all...] |
H A D | SparseIntArray.kt | 29 /** Allows the use of the index operator for storing values in the collection. */ 61 val index = indexOfKey(key) 62 if (index != -1 && value == valueAt(index)) { 63 removeAt(index) 74 for (index in 0 until size()) { 75 action(keyAt(index), valueAt(index)) 81 var index = 0 82 override fun hasNext() = index < siz [all...] |
H A D | SparseLongArray.kt | 32 /** Allows the use of the index operator for storing values in the collection. */ 73 val index = indexOfKey(key) 74 if (index != -1 && value == valueAt(index)) { 75 removeAt(index) 88 for (index in 0 until size()) { 89 action(keyAt(index), valueAt(index)) 96 var index = 0 97 override fun hasNext() = index < siz [all...] |
/frameworks/av/media/libstagefright/mpeg2ts/ |
H A D | CasManager.cpp | 83 ssize_t index = mStreamPidToCasMap.indexOfKey(elementaryPID); local 84 if (index >= 0) { 100 for (size_t index = 0; index < mStreamPidToCasMap.size(); index++) { 102 cas, sessionMap, &mStreamPidToCasMap.editValueAt(index)); 118 ssize_t index = mStreamPidToCasMap.indexOfKey(elementaryPID); local 119 if (index < 0) { 123 *descrambler = mStreamPidToCasMap[index].mDescrambler; 124 *sessionId = mStreamPidToCasMap[index] 283 ssize_t index = mProgramCasMap.indexOfKey(programNumber); local 301 ssize_t index = mProgramCasMap.indexOfKey(programNumber); local 320 ssize_t index = mProgramCasMap.indexOfKey(programNumber); local 334 ssize_t index = mCAPidToSessionIdMap.indexOfKey(pid); local [all...] |
/frameworks/av/media/libstagefright/codecs/amrnb/common/include/ |
H A D | d_gain_c.h | 45 Purpose : Decode the fixed codebook gain using the received index. 102 * Purpose : Decode the fixed codebook gain using the received index. 103 * Description : The received index gives the gain correction factor 113 Word16 index, /* i : received quantization index */
|
/frameworks/av/media/libstagefright/codecs/amrnb/dec/src/ |
H A D | d2_9pf.h | 109 Word16 index, /* i : Positions of the 2 pulses. */
|
H A D | dec_lag6.h | 107 Word16 index, /* input : received pitch index */
|
/frameworks/base/core/java/android/content/res/ |
H A D | XmlResourceParser.java | 30 String getAttributeNamespace (int index); argument
|
/frameworks/base/libs/hwui/utils/ |
H A D | RingBuffer.h | 49 T& operator[](size_t index) { return mBuffer[(mHead + index + 1) % mCount]; } argument 51 const T& operator[](size_t index) const { return mBuffer[(mHead + index + 1) % mCount]; }
|
/frameworks/base/packages/SystemUI/shared/src/com/android/systemui/shared/recents/model/ |
H A D | TaskFilter.java | 26 boolean acceptTask(SparseArray<Task> taskIdMap, Task t, int index); argument
|
/frameworks/base/services/core/java/com/android/server/hdmi/ |
H A D | UnmodifiableSparseArray.java | 45 public int keyAt(int index) { argument 46 return mArray.keyAt(index); 49 public E valueAt(int index) { argument 50 return mArray.valueAt(index);
|
/frameworks/compile/slang/tests/P_reflection3264_divergent/ |
H A D | ScriptField_Divergent.java.expect | 131 private void copyToArray(Item i, int index) { 133 mIOBuffer.reset(index * mElement.getBytesSize()); 137 public synchronized void set(Item i, int index, boolean copyNow) { 139 mItemArray[index] = i; 141 copyToArray(i, index); 144 mAllocation.setFromFieldPacker(index, fp); 149 public synchronized Item get(int index) { 151 return mItemArray[index]; 154 public synchronized void set_i(int index, int v, boolean copyNow) { 157 if (mItemArray[index] [all...] |
H A D | ScriptField_DivergentNest.java.expect | 136 private void copyToArray(Item i, int index) { 138 mIOBuffer.reset(index * mElement.getBytesSize()); 142 public synchronized void set(Item i, int index, boolean copyNow) { 144 mItemArray[index] = i; 146 copyToArray(i, index); 149 mAllocation.setFromFieldPacker(index, fp); 154 public synchronized Item get(int index) { 156 return mItemArray[index]; 159 public synchronized void set_x(int index, int v, boolean copyNow) { 162 if (mItemArray[index] [all...] |
/frameworks/compile/slang/tests/P_reflection3264_divergent_support/ |
H A D | ScriptField_Divergent.java.expect | 128 private void copyToArray(Item i, int index) { 130 mIOBuffer.reset(index * mElement.getBytesSize()); 134 public synchronized void set(Item i, int index, boolean copyNow) { 136 mItemArray[index] = i; 138 copyToArray(i, index); 141 mAllocation.setFromFieldPacker(index, fp); 146 public synchronized Item get(int index) { 148 return mItemArray[index]; 151 public synchronized void set_i(int index, int v, boolean copyNow) { 154 if (mItemArray[index] [all...] |
H A D | ScriptField_DivergentNest.java.expect | 133 private void copyToArray(Item i, int index) { 135 mIOBuffer.reset(index * mElement.getBytesSize()); 139 public synchronized void set(Item i, int index, boolean copyNow) { 141 mItemArray[index] = i; 143 copyToArray(i, index); 146 mAllocation.setFromFieldPacker(index, fp); 151 public synchronized Item get(int index) { 153 return mItemArray[index]; 156 public synchronized void set_x(int index, int v, boolean copyNow) { 159 if (mItemArray[index] [all...] |
/frameworks/compile/slang/tests/P_struct_field/ |
H A D | ScriptField_InnerOne.java.expect | 121 private void copyToArray(Item i, int index) { 123 mIOBuffer.reset(index * mElement.getBytesSize()); 127 public synchronized void set(Item i, int index, boolean copyNow) { 129 mItemArray[index] = i; 131 copyToArray(i, index); 134 mAllocation.setFromFieldPacker(index, fp); 139 public synchronized Item get(int index) { 141 return mItemArray[index]; 144 public synchronized void set_x(int index, int v, boolean copyNow) { 147 if (mItemArray[index] [all...] |
/frameworks/native/libs/binder/ |
H A D | Debug.cpp | 219 size_t index; local 226 for (index = 0; index < alignment || (alignment == 0 && index < bytesPerLine); index++) { 229 if (index == 0 && word > 0 && alignment > 0) { 234 const unsigned char val = *(pos+startIndex-index); 243 if (index == 0 && word > 0) { 247 if (index == 0) { 251 const unsigned char val = *(pos+startIndex-index); [all...] |
/frameworks/native/opengl/tools/glgen/stubs/gles11/ |
H A D | glGetProgramResourceName.cpp | 1 /* void glGetProgramResourceName ( GLuint program, GLenum programInterface, GLuint index, GLsizei bufSize, GLsizei *length, GLchar *name ) */ 4 (JNIEnv *_env, jobject _this, jint program, jint programInterface, jint index) { 3 android_glGetProgramResourceName(JNIEnv *_env, jobject _this, jint program, jint programInterface, jint index) argument
|
/frameworks/rs/driver/runtime/ |
H A D | rs_element.c | 17 rsElementGetSubElement(rs_element e, uint32_t index) { argument 19 if (element == NULL || index >= element->mHal.state.fieldsCount) { 24 element->mHal.state.fields[index] 35 rsElementGetSubElementNameLength(rs_element e, uint32_t index) { argument 37 if (element == NULL || index >= element->mHal.state.fieldsCount) { 40 return element->mHal.state.fieldNameLengths[index]; 44 rsElementGetSubElementName(rs_element e, uint32_t index, char *name, uint32_t nameLength) { argument 46 if (element == NULL || index >= element->mHal.state.fieldsCount || 51 uint32_t numToCopy = element->mHal.state.fieldNameLengths[index]; 58 const char *nameSource = element->mHal.state.fieldNames[index]; 66 rsElementGetSubElementArraySize(rs_element e, uint32_t index) argument 75 rsElementGetSubElementOffsetBytes(rs_element e, uint32_t index) argument [all...] |
/frameworks/wilhelm/src/itf/ |
H A D | IEngineCapabilities.cpp | 109 SLuint32 index; local 113 index = *pIndex; 114 if (index >= thiz->mMaxIndexLED) { 117 id_descriptor = &LED_id_descriptors[index]; 129 for (index = 0; index < thiz->mMaxIndexLED; ++index) { 130 id_descriptor = &LED_id_descriptors[index]; 151 SLuint32 index; local 155 index [all...] |