Searched defs:index (Results 251 - 275 of 795) sorted by relevance

<<11121314151617181920>>

/frameworks/rs/
H A DrsClosure.cpp46 void rsi_ClosureSetArg(Context* rsc, RsClosure closure, uint32_t index, argument
48 ((Closure*)closure)->setArg(index, (const void*)value, size);
144 void Closure::setArg(const uint32_t index, const void* value, const int size) { argument
145 mArgs[index] = value;
H A DrsMesh.h67 void setVertexBuffer(Allocation *vb, uint32_t index) { argument
68 mVertexBuffers[index].set(vb);
69 mHal.state.vertexBuffers[index] = vb;
72 void setPrimitive(Allocation *idx, RsPrimitive prim, uint32_t index) { argument
73 mIndexBuffers[index].set(idx);
74 mHal.state.indexBuffers[index] = idx;
75 mHal.state.primitives[index] = prim;
/frameworks/support/graphics/drawable/static/tests/src/android/support/graphics/drawable/tests/
H A DVectorDrawableTest.java163 private void saveVectorDrawableIntoPNG(Bitmap bitmap, int[] resIds, int index, int[] stateSet) argument
173 String originalFilePath = mResources.getString(resIds[index]);
186 Log.v(LOGTAG, "Write test No." + index + " to file successfully.");
/frameworks/support/v17/leanback/src/android/support/v17/leanback/widget/
H A DScaleFrameLayout.java75 public void addView(View child, int index, ViewGroup.LayoutParams params) { argument
76 super.addView(child, index, params);
82 protected boolean addViewInLayout (View child, int index, ViewGroup.LayoutParams params, argument
84 boolean ret = super.addViewInLayout(child, index, params, preventRequestLayout);
/frameworks/support/v4/java/android/support/v4/app/
H A DTaskStackBuilder.java261 * Get the intent at the specified index.
265 * @param index Index from 0-getIntentCount()
266 * @return the intent at position index
271 public Intent getIntent(int index) { argument
272 return editIntentAt(index);
276 * Return the intent at the specified index for modification.
280 * @param index Index from 0-getIntentCount()
281 * @return the intent at position index
283 public Intent editIntentAt(int index) { argument
284 return mIntents.get(index);
[all...]
/frameworks/support/v4/java/android/support/v4/util/
H A DLongSparseArray.java136 * Removes the mapping at the specified index.
138 public void removeAt(int index) { argument
139 if (mValues[index] != DELETED) {
140 mValues[index] = DELETED;
238 * Given an index in the range <code>0...size()-1</code>, returns
239 * the key from the <code>index</code>th key-value mapping that this
242 public long keyAt(int index) { argument
247 return mKeys[index];
251 * Given an index in the range <code>0...size()-1</code>, returns
252 * the value from the <code>index</cod
256 valueAt(int index) argument
269 setValueAt(int index, E value) argument
[all...]
H A DSparseArrayCompat.java116 * Removes the mapping at the specified index.
118 public void removeAt(int index) { argument
119 if (mValues[index] != DELETED) {
120 mValues[index] = DELETED;
128 * @param index Index to begin at
131 public void removeAtRange(int index, int size) { argument
132 final int end = Math.min(mSize, index + size);
133 for (int i = index; i < end; i++) {
231 * Given an index in the range <code>0...size()-1</code>, returns
232 * the key from the <code>index</cod
235 keyAt(int index) argument
249 valueAt(int index) argument
262 setValueAt(int index, E value) argument
[all...]
/frameworks/support/v7/preference/src/android/support/v7/preference/
H A DEditTextPreference.java86 protected Object onGetDefaultValue(TypedArray a, int index) { argument
87 return a.getString(index);
/frameworks/support/v7/recyclerview/tests/src/android/support/v7/widget/
H A DChildHelperTest.java115 public void addView(View child, int index) { argument
116 mViews.add(index, child);
124 private boolean validateIndex(int index) { argument
125 return index < getChildCount() && index >= 0;
129 public void removeViewAt(int index) { argument
130 if (validateIndex(index)) {
131 mViews.remove(index);
154 public void attachViewToParent(View child, int index, ViewGroup.LayoutParams layoutParams) { argument
156 addView(child, index);
[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...]
H A DIEffectSend.c22 /** \brief Maps AUX index to OutputMix interface index */
63 int index = MPH_to_OutputMix[MPH]; local
64 if (0 > index) {
68 unsigned mask = 1 << index;
70 SLuint32 state = outputMix->mObject.mInterfaceStates[index];
H A DIEngineCapabilities.c109 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...]
/frameworks/wilhelm/src/
H A Dlocks.c179 SLuint32 index = objectID; local
180 if ((XA_OBJECTID_ENGINE <= index) && (index <= XA_OBJECTID_CAMERADEVICE)) {
182 } else if ((SL_OBJECTID_ENGINE <= index) && (index <= SL_OBJECTID_METADATAEXTRACTOR)) {
183 index -= SL_OBJECTID_ENGINE - XA_OBJECTID_CAMERADEVICE - 1;
186 index = 0;
198 AttributeHandler handler = handlerTable[index][bit];
/frameworks/av/camera/
H A DVendorTagDescriptor.cpp125 ALOGE("%s: could not read tag id from parcel for index %d", __FUNCTION__, i);
150 ALOGE("%s: could not read section index for tag %d.", __FUNCTION__, tag);
224 ssize_t index = mTagToSectionMap.indexOfKey(tag); local
225 if (index < 0) {
228 return mSections[mTagToSectionMap.valueAt(index)].string();
232 ssize_t index = mTagToNameMap.indexOfKey(tag); local
233 if (index < 0) {
236 return mTagToNameMap.valueAt(index).string();
240 ssize_t index = mTagToNameMap.indexOfKey(tag); local
241 if (index <
288 ssize_t index = mReverseMapping.indexOfKey(section); local
405 ssize_t index = sections.indexOf(sectionString); local
[all...]
/frameworks/av/cmds/stagefright/
H A DSimplePlayer.cpp354 size_t index; local
355 err = state->mCodec->dequeueInputBuffer(&index, -1ll);
358 const sp<ABuffer> &dstBuffer = state->mBuffers[0].itemAt(index);
365 index,
424 size_t index; local
425 err = state->mCodec->dequeueInputBuffer(&index);
431 state->mAvailInputBufferIndices.push_back(index);
481 size_t index = *state->mAvailInputBufferIndices.begin(); local
486 state->mBuffers[0].itemAt(index);
495 index,
[all...]
H A Dcodec.cpp171 size_t index; local
172 err = state->mCodec->dequeueInputBuffer(&index, kTimeout);
175 ALOGV("filling input buffer %zu", index);
177 const sp<ABuffer> &buffer = state->mInBuffers.itemAt(index);
189 index,
207 size_t index; local
209 state->mCodec->dequeueInputBuffer(&index, kTimeout);
215 index,
251 size_t index; local
257 &index,
[all...]
/frameworks/av/drm/libmediadrm/
H A DCrypto.cpp92 ssize_t index = mUUIDToLibraryPathMap.indexOfKey(uuidVector); local
93 if (index >= 0) {
94 if (loadLibraryForScheme(mUUIDToLibraryPathMap[index], uuid)) {
143 ssize_t index = mLibraryPathToOpenLibraryMap.indexOfKey(path); local
144 if (index >= 0) {
145 mLibrary = mLibraryPathToOpenLibraryMap[index].promote();
147 index = mLibraryPathToOpenLibraryMap.add(path, NULL);
157 mLibraryPathToOpenLibraryMap.replaceValueAt(index, mLibrary);
/frameworks/av/media/libmedia/
H A DCharacterEncodingDetector.cpp56 status_t CharacterEncodingDetector::getTag(int index, const char **name, const char**value) { argument
57 if (index >= mNames.size()) {
61 *name = mNames.getEntry(index);
62 *value = mValues.getEntry(index);
H A DIMediaExtractor.cpp62 virtual sp<IMediaSource> getTrack(size_t index) { argument
63 ALOGV("getTrack(%zu)", index);
66 data.writeUint32(index);
75 size_t index, uint32_t flags) {
76 ALOGV("getTrackMetaData(%zu, %u)", index, flags);
79 data.writeUint32(index);
74 getTrackMetaData( size_t index, uint32_t flags) argument
/frameworks/av/media/libmediaplayerservice/nuplayer/
H A DHTTPLiveSource.cpp54 ssize_t index = local
57 if (index >= 0) {
60 mExtraHeaders.removeItemsAt(index);
/frameworks/av/media/libstagefright/
H A DAACExtractor.cpp74 // Returns the sample rate based on the sampling frequency index
214 sp<IMediaSource> AACExtractor::getTrack(size_t index) { argument
215 if (mInitCheck != OK || index != 0) {
222 sp<MetaData> AACExtractor::getTrackMetaData(size_t index, uint32_t /* flags */) { argument
223 if (mInitCheck != OK || index != 0) {
H A DAMRExtractor.cpp189 sp<IMediaSource> AMRExtractor::getTrack(size_t index) { argument
190 if (mInitCheck != OK || index != 0) {
198 sp<MetaData> AMRExtractor::getTrackMetaData(size_t index, uint32_t /* flags */) { argument
199 if (mInitCheck != OK || index != 0) {
267 size_t index = seekFrame < 0 ? 0 : seekFrame / 50; local
268 if (index >= mOffsetTableLength) {
269 index = mOffsetTableLength - 1;
272 mOffset = mOffsetTable[index] + (mIsWide ? 9 : 6);
274 for (size_t i = 0; i< seekFrame - index * 50; i++) {
H A DDRMExtractor.cpp260 sp<IMediaSource> DRMExtractor::getTrack(size_t index) { argument
261 sp<IMediaSource> originalMediaSource = mOriginalExtractor->getTrack(index);
265 CHECK(getTrackMetaData(index, 0)->findInt32(kKeyTrackID, &trackID));
276 sp<MetaData> DRMExtractor::getTrackMetaData(size_t index, uint32_t flags) { argument
277 return mOriginalExtractor->getTrackMetaData(index, flags);
H A DMidiExtractor.cpp285 sp<IMediaSource> MidiExtractor::getTrack(size_t index) argument
287 if (mInitCheck != OK || index > 0) {
294 size_t index, uint32_t /* flags */) {
296 if (mInitCheck != OK || index > 0) {
293 getTrackMetaData( size_t index, uint32_t ) argument
/frameworks/av/media/libstagefright/codecs/aacenc/
H A DAACEncoder.cpp96 static status_t getSampleRateTableIndex(int32_t sampleRate, int32_t &index) { argument
104 index = i;
117 int32_t index = 0; local
118 CHECK_EQ((status_t)OK, getSampleRateTableIndex(mSampleRate, index));
125 mAudioSpecificConfigData[0] = ((0x02 << 3) | (index >> 1));
126 mAudioSpecificConfigData[1] = ((index & 0x01) << 7) | (mChannels << 3);

Completed in 501 milliseconds

<<11121314151617181920>>