Searched refs:index (Results 101 - 125 of 901) sorted by relevance

1234567891011>>

/frameworks/av/media/libstagefright/codecs/raw/
H A DSoftRaw.h37 OMX_INDEXTYPE index, OMX_PTR params);
40 OMX_INDEXTYPE index, const OMX_PTR params);
/frameworks/av/media/libstagefright/omx/
H A DOMX.cpp172 ssize_t index = mLiveNodes.indexOfKey(the_late_who); local
173 CHECK(index >= 0);
175 instance = mLiveNodes.editValueAt(index);
176 mLiveNodes.removeItemsAt(index);
178 index = mDispatchers.indexOfKey(instance->nodeID());
179 CHECK(index >= 0);
180 mDispatchers.removeItemsAt(index);
195 OMX_U32 index = 0; local
198 componentName, sizeof(componentName), index) == OMX_ErrorNone) {
214 ++index;
257 ssize_t index = mLiveNodes.indexOfKey(instance->observer()->asBinder()); local
272 ssize_t index = mDispatchers.indexOfKey(node); local
285 getParameter( node_id node, OMX_INDEXTYPE index, void *params, size_t size) argument
292 setParameter( node_id node, OMX_INDEXTYPE index, const void *params, size_t size) argument
299 getConfig( node_id node, OMX_INDEXTYPE index, void *params, size_t size) argument
306 setConfig( node_id node, OMX_INDEXTYPE index, const void *params, size_t size) argument
380 getExtensionIndex( node_id node, const char *parameter_name, OMX_INDEXTYPE *index) argument
454 ssize_t index = mNodeIDToInstance.indexOfKey(node); local
462 ssize_t index = mDispatchers.indexOfKey(node); local
[all...]
/frameworks/base/core/java/android/database/
H A DCursorJoiner.java167 populateValues(mValues, mCursorLeft, mColumnsLeft, 0 /* start filling at index 0 */);
168 populateValues(mValues, mCursorRight, mColumnsRight, 1 /* start filling at index 1 */);
247 for (int index = 0; index < values.length; index+=2) {
248 if (values[index] == null) {
249 if (values[index+1] == null) continue;
253 if (values[index+1] == null) {
257 int comp = values[index].compareTo(values[index
[all...]
/frameworks/base/core/java/com/android/internal/widget/
H A DPasswordEntryKeyboardView.java44 for (int index : indices) {
45 invalidateKey(index);
/frameworks/base/core/tests/coretests/src/android/widget/listview/
H A DListItemFocusablesClose.java33 * @param listIndex The index of the currently visible items
34 * @param index The index of the child.
36 public View getChildOfItem(int listIndex, int index) { argument
37 return ((ViewGroup) getListView().getChildAt(listIndex)).getChildAt(index);
/frameworks/native/libs/binder/
H A DPermissionCache.cpp43 ssize_t index = mCache.indexOf(e); local
44 if (index >= 0) {
45 *granted = mCache.itemAt(index).granted;
55 ssize_t index = mPermissionNamesPool.indexOf(permission); local
56 if (index > 0) {
57 e.name = mPermissionNamesPool.itemAt(index);
66 index = mCache.indexOf(e);
67 if (index < 0) {
/frameworks/opt/telephony/src/java/com/android/internal/telephony/gsm/
H A DSuppServiceNotification.java31 /** TS 27.007 7.17 "index" */
32 public int index; field in class:SuppServiceNotification
65 + " index: " + index
/frameworks/base/tools/layoutlib/bridge/src/com/android/layoutlib/bridge/android/
H A DBridgeXmlBlockParser.java239 public String getAttributeNamespace(int index) { argument
240 return mParser.getAttributeNamespace(index);
244 public String getAttributeName(int index) { argument
245 return mParser.getAttributeName(index);
249 public String getAttributePrefix(int index) { argument
265 public String getAttributeValue(int index) { argument
266 return mParser.getAttributeValue(index);
270 public String getAttributeType(int index) { argument
275 public boolean isAttributeDefault(int index) { argument
409 public boolean getAttributeBooleanValue(int index, boolea argument
420 getAttributeFloatValue(int index, float defaultValue) argument
430 getAttributeIntValue(int index, int defaultValue) argument
440 getAttributeListValue(int index, String[] options, int defaultValue) argument
451 getAttributeNameResource(int index) argument
456 getAttributeResourceValue(int index, int defaultValue) argument
466 getAttributeUnsignedIntValue(int index, int defaultValue) argument
[all...]
/frameworks/base/core/java/android/content/
H A DSyncStatusInfo.java130 public void setPeriodicSyncTime(int index, long when) { argument
131 ensurePeriodicSyncTimeSize(index);
132 periodicSyncTimes.set(index, when);
135 private void ensurePeriodicSyncTimeSize(int index) { argument
140 final int requiredSize = index + 1;
148 public long getPeriodicSyncTime(int index) { argument
149 if (periodicSyncTimes == null || periodicSyncTimes.size() < (index + 1)) {
152 return periodicSyncTimes.get(index);
155 public void removePeriodicSyncTime(int index) { argument
156 ensurePeriodicSyncTimeSize(index);
[all...]
/frameworks/base/core/java/android/util/
H A DSparseIntArray.java99 * Removes the mapping at the given index.
101 public void removeAt(int index) { argument
102 System.arraycopy(mKeys, index + 1, mKeys, index, mSize - (index + 1));
103 System.arraycopy(mValues, index + 1, mValues, index, mSize - (index + 1));
155 * Given an index in the range <code>0...size()-1</code>, returns
156 * the key from the <code>index</cod
159 keyAt(int index) argument
168 valueAt(int index) argument
[all...]
H A DSparseLongArray.java101 * Removes the mapping at the given index.
103 public void removeAt(int index) { argument
104 System.arraycopy(mKeys, index + 1, mKeys, index, mSize - (index + 1));
105 System.arraycopy(mValues, index + 1, mValues, index, mSize - (index + 1));
146 * Given an index in the range <code>0...size()-1</code>, returns
147 * the key from the <code>index</cod
150 keyAt(int index) argument
159 valueAt(int index) argument
[all...]
/frameworks/native/opengl/libagl/
H A DTokenizer.cpp129 ssize_t Tokenizer::_insertTokenAt(uint32_t token, size_t index) argument
133 if (index >= 1) {
135 run_t& p = mRanges.editItemAt(index-1);
138 if (index < c) {
139 const run_t& n = mRanges[index];
142 mRanges.removeItemsAt(index);
145 return index;
149 if (index < c) {
151 run_t& n = mRanges.editItemAt(index);
155 return index;
[all...]
/frameworks/av/media/libstagefright/codecs/amrnb/enc/src/
H A Dc2_11pf.cpp165 index
247 Word16 index; local
299 index =
332 return index;
474 * These index have low complexity address computation because *
576 Builds the codeword, the filtered codeword and index of the
628 Word16 index; local
652 /* index = pos/5 */
653 /* index = mult(i, 6554, pOverflow); */
654 index
[all...]
/frameworks/base/libs/hwui/utils/
H A DSortedList.h74 inline const TYPE& operator [](size_t index) const;
75 inline const TYPE& itemAt(size_t index) const;
77 const TYPE& mirrorItemAt(ssize_t index) const;
81 TYPE& editItemAt(size_t index) { argument
82 return *(static_cast<TYPE *> (VectorImpl::editItemLocation(index)));
90 inline ssize_t removeItemsAt(size_t index, size_t count = 1);
91 inline ssize_t removeAt(size_t index) { argument
92 return removeItemsAt(index);
148 inline const TYPE& SortedList<TYPE>::operator[](size_t index) const {
149 assert( index<siz
[all...]
/frameworks/native/libs/utils/
H A DVectorImpl.cpp109 ssize_t VectorImpl::insertVectorAt(const VectorImpl& vector, size_t index) argument
111 return insertArrayAt(vector.arrayImpl(), index, vector.size());
119 ssize_t VectorImpl::insertArrayAt(const void* array, size_t index, size_t length) argument
121 if (index > size())
123 void* where = _grow(index, length);
127 return where ? index : (ssize_t)NO_MEMORY;
135 ssize_t VectorImpl::insertAt(size_t index, size_t numItems) argument
137 return insertAt(0, index, numItems);
140 ssize_t VectorImpl::insertAt(const void* item, size_t index, size_t numItems) argument
142 if (index > siz
244 replaceAt(size_t index) argument
249 replaceAt(const void* prototype, size_t index) argument
272 removeItemsAt(size_t index, size_t count) argument
296 editItemLocation(size_t index) argument
[all...]
/frameworks/base/media/jni/
H A Dandroid_media_MediaProfiles.cpp55 android_media_MediaProfiles_native_get_file_format(JNIEnv *env, jobject thiz, jint index) argument
57 ALOGV("native_get_file_format: %d", index);
60 if (index < 0 || index >= nSize) {
64 return static_cast<jint>(formats[index]);
75 android_media_MediaProfiles_native_get_video_encoder_cap(JNIEnv *env, jobject thiz, jint index) argument
77 ALOGV("native_get_video_encoder_cap: %d", index);
80 if (index < 0 || index >= nSize) {
85 video_encoder encoder = encoders[index];
126 android_media_MediaProfiles_native_get_audio_encoder_cap(JNIEnv *env, jobject thiz, jint index) argument
241 android_media_MediaProfiles_native_get_video_decoder_type(JNIEnv *env, jobject thiz, jint index) argument
262 android_media_MediaProfiles_native_get_audio_decoder_type(JNIEnv *env, jobject thiz, jint index) argument
283 android_media_MediaProfiles_native_get_image_encoding_quality_level(JNIEnv *env, jobject thiz, jint cameraId, jint index) argument
[all...]
/frameworks/base/libs/hwui/
H A DResourceCache.cpp87 ssize_t index = mCache->indexOfKey(resource); local
88 ResourceReference* ref = index >= 0 ? mCache->valueAt(index) : NULL;
150 ssize_t index = mCache->indexOfKey(resource); local
151 ResourceReference* ref = index >= 0 ? mCache->valueAt(index) : NULL;
192 ssize_t index = mCache->indexOfKey(resource); local
193 ResourceReference* ref = index >= 0 ? mCache->valueAt(index) : NULL;
214 ssize_t index local
236 ssize_t index = mCache->indexOfKey(resource); local
255 ssize_t index = mCache->indexOfKey(resource); local
282 ssize_t index = mCache->indexOfKey(resource); local
[all...]
/frameworks/native/include/utils/
H A DGenerationCache.h70 const K& getKeyAt(size_t index) const;
71 const V& getValueAt(size_t index) const;
76 void removeAt(ssize_t index);
140 const K& GenerationCache<K, V>::getKeyAt(size_t index) const {
141 return mCache.keyAt(index);
145 const V& GenerationCache<K, V>::getValueAt(size_t index) const {
146 return mCache.valueAt(index)->value;
151 ssize_t index = mCache.indexOfKey(key); local
152 if (index >= 0) {
153 const sp<Entry<K, V> >& entry = mCache.valueAt(index);
168 ssize_t index = mCache.indexOfKey(key); local
181 ssize_t index = mCache.indexOfKey(key); local
191 removeAt(ssize_t index) argument
203 ssize_t index = mCache.indexOfKey(mOldest->key); local
[all...]
/frameworks/av/media/libstagefright/codecs/amrnb/dec/src/
H A Dd_gain_c.cpp60 index = received quantization index of type Word16
82 Purpose : Decode the fixed codebook gain using the received index.
193 Word16 index, /* i : received quantization index */
220 index &= 31; /* index < 32, to avoid buffer overflow */
221 tbl_tmp = index + (index << 1);
190 d_gain_code( gc_predState *pred_state, enum Mode mode, Word16 index, Word16 code[], Word16 *gain_code, Flag *pOverflow ) argument
H A Ddec_gain.h110 Word16 index, /* i : index of quantization. */
H A Ddec_lag3.h107 void Dec_lag3(Word16 index, /* i : received pitch index */
/frameworks/av/media/libstagefright/rtsp/
H A DASessionDescription.h38 // Actually, 1 + number of tracks, as index 0 is reserved for the
41 void getFormat(size_t index, AString *value) const;
44 size_t index, unsigned long *PT,
48 size_t index, unsigned long PT,
56 bool findAttribute(size_t index, const char *key, AString *value) const;
/frameworks/base/core/java/android/view/inputmethod/
H A DCompletionInfo.java36 public CompletionInfo(long id, int index, CharSequence text) { argument
38 mPosition = index;
46 public CompletionInfo(long id, int index, CharSequence text, CharSequence label) { argument
48 mPosition = index;
/frameworks/base/core/java/android/webkit/
H A DWebBackForwardList.java44 * Get the index of the current history item. This index can be used to
45 * directly index into the array list.
46 * @return The current index from 0...n or -1 if the list is empty.
53 * Get the history item at the given index. The index range is from 0...n
55 * @param index The index to retrieve.
57 public synchronized WebHistoryItem getItemAtIndex(int index) { argument
/frameworks/base/core/java/com/android/internal/statusbar/
H A DIStatusBar.aidl25 void setIcon(int index, in StatusBarIcon icon);
26 void removeIcon(int index);

Completed in 4221 milliseconds

1234567891011>>