Searched refs:index (Results 76 - 100 of 946) sorted by relevance

1234567891011>>

/frameworks/rs/driver/linkloader/include/
H A DELFSectionStrTab.h43 char const *operator[](size_t index) const {
44 return &*buf.begin() + index;
/frameworks/support/v4/ics/android/support/v4/view/accessibility/
H A DAccessibilityEventCompatIcs.java35 public static Object getRecord(AccessibilityEvent event, int index) { argument
36 return event.getRecord(index);
/frameworks/av/media/libstagefright/codecs/amrnb/enc/src/
H A Dq_gain_c.cpp141 quantization index -- Word16 -- Q0
191 Word16 q_gain_code( /* o : quantization index, Q0 */
205 Word16 index; local
253 index = 0;
270 index = i;
274 temp = index + (index << 1);
292 return index;
H A Dcbsearch.cpp88 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...]
/frameworks/rs/driver/linkloader/include/impl/
H A DELFReloc.hxx28 ELFReloc_CRTP<Bitwidth>::readRela(Archiver &AR, size_t index) { argument
47 // Set the section header index
48 sh->index = index;
56 ELFReloc_CRTP<Bitwidth>::readRel(Archiver &AR, size_t index) { argument
75 // Set the section header index
76 sh->index = index;
/frameworks/rs/scriptc/
H A Drs_mesh.rsh41 * Meshes could have multiple index sets, this function returns
47 * containing index data
57 * @param index index of the vertex allocation
61 rsgMeshGetVertexAllocation(rs_mesh m, uint32_t index);
64 * Returns an allocation containing index data or a null
68 * @param index index of the index allocation
69 * @return allocation containing index dat
[all...]
H A Drs_element.rsh43 * 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/av/media/libstagefright/omx/
H A DOMXMaster.cpp75 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 DDateSorter.java88 * @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 DDrmUtils.java153 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/base/core/java/android/view/
H A DAccessibilityIterators.java238 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 DWindowManagerGlobal.java221 int index = findViewLocked(view, false);
222 if (index >= 0) {
244 index = 1;
249 index = mViews.length + 1;
251 mViews = new View[index];
252 System.arraycopy(old, 0, mViews, 0, index-1);
254 mRoots = new ViewRootImpl[index];
255 System.arraycopy(old, 0, mRoots, 0, index-1);
257 mParams = new WindowManager.LayoutParams[index];
258 System.arraycopy(old, 0, mParams, 0, index
349 removeViewLocked(int index, boolean immediate) argument
385 removeItem(Object[] dst, Object[] src, int index) argument
[all...]
/frameworks/av/media/libstagefright/codecs/amrnb/dec/src/
H A Dd_plsf_3.cpp174 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 Ddec_lag6.cpp63 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 Dd1035pf.cpp93 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 DBasicHashtable_test.cpp107 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 DInterpolator.java64 * 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/base/graphics/java/android/renderscript/
H A DScript.java201 public void setVar(int index, float v) { argument
202 mRS.nScriptSetVarF(getID(mRS), index, v);
204 public float getVarF(int index) { argument
205 return mRS.nScriptGetVarF(getID(mRS), index);
212 public void setVar(int index, double v) { argument
213 mRS.nScriptSetVarD(getID(mRS), index, v);
215 public double getVarD(int index) { argument
216 return mRS.nScriptGetVarD(getID(mRS), index);
223 public void setVar(int index, int v) { argument
224 mRS.nScriptSetVarI(getID(mRS), index,
226 getVarI(int index) argument
235 setVar(int index, long v) argument
238 getVarJ(int index) argument
247 setVar(int index, boolean v) argument
250 getVarB(int index) argument
258 setVar(int index, BaseObj o) argument
266 setVar(int index, FieldPacker v) argument
274 setVar(int index, FieldPacker v, Element e, int[] dims) argument
282 getVarV(int index, FieldPacker v) argument
[all...]
/frameworks/native/include/utils/
H A DBasicHashtable.h67 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 DVector.h102 //! read-only access to an item at a given index
103 inline const TYPE& operator [] (size_t index) const;
105 inline const TYPE& itemAt(size_t index) const;
114 TYPE& editItemAt(size_t index);
122 //! insert another vector at a given index
123 ssize_t insertVectorAt(const Vector<TYPE>& vector, size_t index);
129 //! insert an array at a given index
130 ssize_t insertArrayAt(const TYPE* array, size_t index, size_t length);
140 inline ssize_t insertAt(size_t index, size_t numItems = 1);
142 ssize_t insertAt(const TYPE& prototype_item, size_t index, size_
165 removeAt(size_t index) argument
197 ssize_t index = removeItemsAt(pos-array()); local
297 editItemAt(size_t index) argument
307 insertVectorAt(const Vector<TYPE>& vector, size_t index) argument
317 insertArrayAt(const TYPE* array, size_t index, size_t length) argument
327 insertAt(const TYPE& item, size_t index, size_t numItems) argument
342 replaceAt(const TYPE& item, size_t index) argument
347 insertAt(size_t index, size_t numItems) argument
367 replaceAt(size_t index) argument
372 removeItemsAt(size_t index, size_t count) argument
[all...]
H A DKeyedVector.h69 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...]
/frameworks/wilhelm/tests/sandbox/
H A Dengine.c41 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/wifi-display/
H A DVideoFormats.h67 void setNativeResolution(ResolutionType type, size_t index);
68 void getNativeResolution(ResolutionType *type, size_t *index) const;
74 ResolutionType type, size_t index, bool enabled = true);
76 bool isResolutionEnabled(ResolutionType type, size_t index) const;
79 ResolutionType type, size_t index,
/frameworks/native/libs/utils/
H A DBasicHashtable.cpp97 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 DIDynamicInterfaceManagement.c36 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...]

Completed in 869 milliseconds

1234567891011>>