/frameworks/av/media/libstagefright/omx/ |
H A D | OMXMaster.cpp | 75 OMX_U32 index = 0; local 80 name, sizeof(name), index++)) == OMX_ErrorNone) { 130 ssize_t index = mPluginByComponentName.indexOfKey(String8(name)); local 132 if (index < 0) { 136 OMXPluginBase *plugin = mPluginByComponentName.valueAt(index); 153 ssize_t index = mPluginByInstance.indexOfKey(component); local 155 if (index < 0) { 159 OMXPluginBase *plugin = mPluginByInstance.valueAt(index); 160 mPluginByInstance.removeItemsAt(index); 168 OMX_U32 index) { 165 enumerateComponents( OMX_STRING name, size_t size, OMX_U32 index) argument 192 ssize_t index = mPluginByComponentName.indexOfKey(String8(name)); local [all...] |
/frameworks/base/core/java/android/webkit/ |
H A D | DateSorter.java | 88 * @return an index from 0 to (DAY_COUNT - 1) that identifies which 100 * @param index date bin index as returned by getIndex() 103 public String getLabel(int index) { argument 104 if (index < 0 || index >= DAY_COUNT) return ""; 105 return mLabels[index]; 110 * @param index date bin index as returned by getIndex() 111 * @return date boundary at given index 113 getBoundary(int index) argument [all...] |
/frameworks/base/drm/java/android/drm/ |
H A D | DrmUtils.java | 153 int index = 0; 155 while (index < constraintData.length) { 157 int keyLength = readByte(constraintData, index); 158 index++; 161 int valueLength = readByte(constraintData, index); 162 index++; 165 String strKey = readMultipleBytes(constraintData, keyLength, index); 166 index += keyLength; 169 String strValue = readMultipleBytes(constraintData, valueLength, index); 173 index [all...] |
/frameworks/rs/scriptc/ |
H A D | rs_element.rsh | 43 * sub-element at index 46 * @param index index of the sub-element to return 47 * @return sub-element in this element at given index 50 rsElementGetSubElement(rs_element, uint32_t index); 54 * sub-element name at index 57 * @param index index of the sub-element to return 62 rsElementGetSubElementNameLength(rs_element e, uint32_t index); 66 * sub-element name at index [all...] |
/frameworks/support/renderscript/v8/rs_support/scriptc/ |
H A D | rs_element.rsh | 43 * sub-element at index 46 * @param index index of the sub-element to return 47 * @return sub-element in this element at given index 50 rsElementGetSubElement(rs_element, uint32_t index); 54 * sub-element name at index 57 * @param index index of the sub-element to return 62 rsElementGetSubElementNameLength(rs_element e, uint32_t index); 66 * sub-element name at index [all...] |
/frameworks/base/core/java/android/view/ |
H A D | AccessibilityIterators.java | 238 private boolean isStartBoundary(int index) { argument 239 return isLetterOrDigit(index) 240 && (index == 0 || !isLetterOrDigit(index - 1)); 243 private boolean isEndBoundary(int index) { argument 244 return (index > 0 && isLetterOrDigit(index - 1)) 245 && (index == mText.length() || !isLetterOrDigit(index)); 248 private boolean isLetterOrDigit(int index) { argument 320 isStartBoundary(int index) argument 325 isEndBoundary(int index) argument [all...] |
H A D | WindowManagerGlobal.java | 198 int index = findViewLocked(view, false); 199 if (index >= 0) { 221 index = 1; 226 index = mViews.length + 1; 228 mViews = new View[index]; 229 System.arraycopy(old, 0, mViews, 0, index-1); 231 mRoots = new ViewRootImpl[index]; 232 System.arraycopy(old, 0, mRoots, 0, index-1); 234 mParams = new WindowManager.LayoutParams[index]; 235 System.arraycopy(old, 0, mParams, 0, index 326 removeViewLocked(int index, boolean immediate) argument 362 removeItem(Object[] dst, Object[] src, int index) argument [all...] |
/frameworks/av/media/libstagefright/codecs/amrnb/dec/src/ |
H A D | d_plsf_3.cpp | 174 Word16 index; local 192 index = 200 index, 299 index = *indice++; 301 /* temp = 3*index; */ 302 temp = index + (index << 1); 315 index = *indice++; 319 index <<= 1; 322 /* temp = 3*index */ [all...] |
H A D | dec_lag6.cpp | 63 index -- Word16 -- received pitch index 89 the received adaptive codebook index. 96 decoder receives 61, 62, or 63 as the relative pitch index, it means 186 Word16 index, /* input : received pitch index */ 203 if (index < 463) 205 /* T0 = (index+5)/6 + 17 */ 206 i = index + 5; 226 /* *T0_frac = index 185 Dec_lag6( Word16 index, Word16 pit_min, Word16 pit_max, Word16 i_subfr, Word16 *T0, Word16 *T0_frac, Flag *pOverflow ) argument [all...] |
H A D | d1035pf.cpp | 93 index = buffer containing index of 10 pulses; each element is 112 This function builds the innovative codevector from the received index of 130 Word16 index[], // (i) : index of 10 pulses (sign+position) 145 // compute index i 147 tmp = index[j]; 166 // compute index i 168 i = index[add (j, 5)] & 7; 208 Word16 index[], /* ( 207 dec_10i40_35bits( Word16 index[], Word16 cod[] ) argument [all...] |
/frameworks/native/libs/utils/tests/ |
H A D | BasicHashtable_test.cpp | 107 static void cookieAt(const BasicHashtable<TKey, TEntry>& h, size_t index, argument 109 uint32_t cookie = h.cookieAt(index); 129 ssize_t index, const TKey& key) { 130 return h.find(index, hash_type(key), key); 136 ssize_t index = find(h, -1, key); local 137 if (index >= 0) { 138 h.removeAt(index); 216 ssize_t index = find(h, -1, 8); local 217 ASSERT_EQ(-1, index); 219 index 128 find(BasicHashtable<TKey, key_value_pair_t<TKey, TValue> >& h, ssize_t index, const TKey& key) argument 241 ssize_t index = find(h, -1, int(i)); local 259 ssize_t index = find(h, -1, int(i)); local 270 ssize_t index = find(h, -1, K); local 298 ssize_t index = -1; local [all...] |
/frameworks/base/graphics/java/android/graphics/ |
H A D | Interpolator.java | 64 * Assign the keyFrame (specified by index) a time value and an array of key 68 * @param index The index of the key frame to assign 73 public void setKeyFrame(int index, int msec, float[] values) { argument 74 setKeyFrame(index, msec, values, null); 78 * Assign the keyFrame (specified by index) a time value and an array of key 81 * @param index The index of the key frame to assign 87 public void setKeyFrame(int index, int msec, float[] values, float[] blend) { argument 88 if (index < 159 nativeSetKeyFrame(int native_instance, int index, int msec, float[] values, float[] blend) argument [all...] |
/frameworks/native/include/utils/ |
H A D | BasicHashtable.h | 67 ssize_t next(ssize_t index) const; 68 ssize_t find(ssize_t index, hash_t hash, const void* __restrict__ key) const; 70 void removeAt(size_t index); 82 inline const Bucket& bucketAt(const void* __restrict__ buckets, size_t index) const { 84 static_cast<const uint8_t*>(buckets) + index * mBucketSize); 87 inline Bucket& bucketAt(void* __restrict__ buckets, size_t index) const { 88 return *reinterpret_cast<Bucket*>(static_cast<uint8_t*>(buckets) + index * mBucketSize); 123 // Returns the index of the first bucket that is in the collision chain 130 // Returns the increment to add to a bucket index to seek to the next bucket 137 // Returns the index o 139 chainSeek(size_t index, size_t increment, size_t count) argument 240 editEntryAt(size_t index) argument 279 find(ssize_t index, hash_t hash, const TKey& key) const argument 306 removeAt(size_t index) argument [all...] |
H A D | KeyedVector.h | 69 const VALUE& valueAt(size_t index) const; 70 const KEY& keyAt(size_t index) const; 72 const VALUE& operator[] (size_t index) const; 79 VALUE& editValueAt(size_t index); 87 ssize_t replaceValueAt(size_t index, const VALUE& item); 94 ssize_t removeItemsAt(size_t index, size_t count = 1); 149 const VALUE& KeyedVector<KEY,VALUE>::valueAt(size_t index) const { 150 return mVector.itemAt(index).value; 154 const VALUE& KeyedVector<KEY,VALUE>::operator[] (size_t index) const { 155 return valueAt(index); [all...] |
H A D | Vector.h | 96 //! read-only access to an item at a given index 97 inline const TYPE& operator [] (size_t index) const; 99 inline const TYPE& itemAt(size_t index) const; 108 TYPE& editItemAt(size_t index); 116 //! insert another vector at a given index 117 ssize_t insertVectorAt(const Vector<TYPE>& vector, size_t index); 123 //! insert an array at a given index 124 ssize_t insertArrayAt(const TYPE* array, size_t index, size_t length); 134 inline ssize_t insertAt(size_t index, size_t numItems = 1); 136 ssize_t insertAt(const TYPE& prototype_item, size_t index, size_ 159 removeAt(size_t index) argument 290 editItemAt(size_t index) argument 300 insertVectorAt(const Vector<TYPE>& vector, size_t index) argument 310 insertArrayAt(const TYPE* array, size_t index, size_t length) argument 320 insertAt(const TYPE& item, size_t index, size_t numItems) argument 335 replaceAt(const TYPE& item, size_t index) argument 340 insertAt(size_t index, size_t numItems) argument 360 replaceAt(size_t index) argument 365 removeItemsAt(size_t index, size_t count) argument [all...] |
/frameworks/wilhelm/tests/sandbox/ |
H A D | engine.c | 41 SLuint32 index; local 42 for (index = 0; index < numSupportedInterfaces + 1; ++index) { 45 result = slQuerySupportedEngineInterfaces(index, &interfaceID); 46 if (index < numSupportedInterfaces) { 48 printf("interface[%u] ", index); 50 engine_ids[index] = interfaceID; 51 engine_req[index] = SL_BOOLEAN_TRUE; 55 result = slQuerySupportedEngineInterfaces(index, NUL [all...] |
/frameworks/av/media/libstagefright/codecs/amrnb/enc/src/ |
H A D | cbsearch.cpp | 88 Purpose : Inovative codebook search (find index and gain) 200 Word16 index; local 221 &index, 224 *(*anap)++ = index; /* sign index */ 236 &index, 239 *(*anap)++ = index; /* sign index */ 251 &index, 254 *(*anap)++ = index; /* sig [all...] |
H A D | c1035pf.cpp | 137 This is a local function that determnes the index of the pulses by looking up 248 This function builds the codeword, the filtered codeword and index of the 268 Word16 indx[] // (o) : index of 10 pulses (sign+position) 271 Word16 i, j, k, track, index, _sign[NB_PULSE]; 291 index = mult (i, 6554); // index = pos/5 293 track = sub (i, extract_l (L_shr (L_mult (index, 5), 1))); 305 index = add (index, 8); 310 indx[track] = index; 409 Word16 i, k, track, index, _sign[NB_PULSE]; local [all...] |
H A D | enc_lag3.cpp | 127 * index = (T-19)*3 + frac - 1; 130 * index = (T - 85) + 197; where T=[86..143] 141 * index = (T-(t_min-1))*3 + frac - 1; 157 Word16 index, i, tmp_ind, uplag; 167 // index = T0*3 - 58 + T0_frac 169 index = add (sub (i, 58), T0_frac); 173 index = add (T0, 112); 182 // index = 3*(T0 - T0_min) + 2 + T0_frac 185 index = add (add (i, 2), T0_frac); 204 index 262 Word16 index, i, tmp_ind, uplag; local [all...] |
/frameworks/native/libs/utils/ |
H A D | BasicHashtable.cpp | 97 ssize_t BasicHashtableImpl::next(ssize_t index) const { 99 while (size_t(++index) < mBucketCount) { 100 const Bucket& bucket = bucketAt(mBuckets, index); 102 return index; 109 ssize_t BasicHashtableImpl::find(ssize_t index, hash_t hash, argument 116 if (index < 0) { 117 index = chainStart(hash, mBucketCount); 119 const Bucket& bucket = bucketAt(mBuckets, size_t(index)); 122 return index; 133 index 157 size_t index = chainStart(hash, mBucketCount); local 184 removeAt(size_t index) argument 214 size_t index = chainStart(hash, newBucketCount); local [all...] |
/frameworks/wilhelm/src/itf/ |
H A D | IDynamicInterfaceManagement.c | 36 int index = clazz->mMPH_to_index[MPH]; local 37 assert(0 <= index && index < (int) clazz->mInterfaceCount); 38 SLuint8 *interfaceStateP = &thisObject->mInterfaceStates[index]; 53 const struct iid_vtable *x = &clazz->mInterfaces[index]; 117 int MPH, index; local 121 (0 > (index = clazz->mMPH_to_index[MPH]))) { 124 assert(index < (int) clazz->mInterfaceCount); 125 SLuint8 *interfaceStateP = &thisObject->mInterfaceStates[index]; 161 const struct iid_vtable *x = &clazz->mInterfaces[index]; 213 int MPH, index; local 292 int index = clazz->mMPH_to_index[MPH]; local 365 int MPH, index; local [all...] |
/frameworks/ml/bordeaux/service/src/android/bordeaux/services/ |
H A D | IntFloat.java | 7 public int index; field in class:IntFloat 32 out.writeInt(index); 37 index = in.readInt();
|
/frameworks/base/core/tests/coretests/src/android/widget/listview/arrowscroll/ |
H A D | ListItemFocusablesFarApartTest.java | 47 * @param listIndex The index of the currently visible items 48 * @param index The index of the child. 50 public View getChildOfItem(int listIndex, int index) { argument 51 return ((ViewGroup) mListView.getChildAt(listIndex)).getChildAt(index); 55 public int getTopOfChildOfItem(int listIndex, int index) { argument 57 View child = listItem.getChildAt(index); 61 public int getBottomOfChildOfItem(int listIndex, int index) { argument 63 View child = listItem.getChildAt(index);
|
/frameworks/base/tests/RenderScriptTests/PerfTest/src/com/android/perftest/ |
H A D | TorusTest.java | 95 void addTest(int index, int testId, int user1, int user2) { argument 96 mTests[index] = new ScriptField_TestScripts_s.Item(); 97 mTests[index].testScript = mTorusScript; 98 mTests[index].testName = Allocation.createFromString(mRS, 99 mNames[index], 101 mTests[index].debugName = RsBenchRS.createZeroTerminatedAlloc(mRS, 102 mNames[index], 111 mTests[index].testData = testData.getAllocation(); 123 int index = 0; 124 addTest(index [all...] |
/frameworks/support/v4/java/android/support/v4/view/accessibility/ |
H A D | AccessibilityEventCompat.java | 31 public Object getRecord(AccessibilityEvent event, int index); argument 42 public Object getRecord(AccessibilityEvent event, int index) { argument 60 public Object getRecord(AccessibilityEvent event, int index) { argument 61 return AccessibilityEventCompatIcs.getRecord(event, index); 210 * Gets the record at a given index. 212 * @param index The index. 213 * @return The record at the specified index. 215 public static AccessibilityRecordCompat getRecord(AccessibilityEvent event, int index) { argument 216 return new AccessibilityRecordCompat(IMPL.getRecord(event, index)); [all...] |