Searched refs:index (Results 251 - 275 of 946) sorted by relevance

<<11121314151617181920>>

/frameworks/base/tests/RenderScriptTests/ModelViewer/src/com/android/modelviewer/
H A DSgTransform.java65 public void setTransform(int index, Float4 value, TransformType type) { argument
66 mTransformData.transforms[index] = value;
67 mTransformData.transformTypes[index] = type.mID;
/frameworks/opt/vcard/tests/src/com/android/vcard/tests/testutils/
H A DLineVerifierElem.java87 final int index = mExpectedLineList.indexOf(line);
88 if (index >= 0) {
89 mExpectedLineList.remove(index);
/frameworks/av/include/media/
H A DEffectsFactoryApi.h42 // reset the index of the effect descriptor returned by next call to
82 int EffectQueryEffect(uint32_t index, effect_descriptor_t *pDescriptor);
/frameworks/av/media/libeffects/testlibs/
H A DAudioCoefInterpolator.h32 // Access to values are done by specifying input values in table index units,
33 // having an integer and a fractional part, e.g. retrieving a value from index
34 // 1.4 will result in linear interpolation between index 1 and index 2.
79 // index The linear integer index of the value we need to interpolate.
86 void getCoefRecurse(size_t index, const uint32_t fracCoord[],
/frameworks/av/media/libnbaio/
H A DSourceAudioBufferProvider.cpp35 ssize_t index = source->negotiate(NULL, 0, counterOffers, numCounterOffers); local
36 ALOG_ASSERT(index == (ssize_t) NEGOTIATE && numCounterOffers > 0);
38 index = source->negotiate(counterOffers, 1, NULL, numCounterOffers);
39 ALOG_ASSERT(index == 0);
/frameworks/av/media/libstagefright/
H A DAMRExtractor.cpp183 sp<MediaSource> AMRExtractor::getTrack(size_t index) { argument
184 if (mInitCheck != OK || index != 0) {
192 sp<MetaData> AMRExtractor::getTrackMetaData(size_t index, uint32_t flags) { argument
193 if (mInitCheck != OK || index != 0) {
261 int index = seekFrame / 50; local
262 if (index >= mOffsetTableLength) {
263 index = mOffsetTableLength - 1;
266 mOffset = mOffsetTable[index] + (mIsWide ? 9 : 6);
268 for (int i = 0; i< seekFrame - index * 50; i++) {
/frameworks/av/media/libstagefright/codecs/amrnb/common/include/
H A Dd_plsf.h188 Word16 index /* i : past_rq_init[] index [0, 7] */
/frameworks/av/media/libstagefright/codecs/amrnb/enc/src/
H A Dc2_9pf.cpp183 index = code index (Word16)
254 Word16 i, index, sharp;
265 index = build_code(subNr, codvec, dn_sign, code, h, y, sign);
276 return index;
323 Word16 index; local
387 index =
421 return(index);
519 * These index have low complexity address computation because *
659 * These index hav
1001 register Word16 index; local
[all...]
/frameworks/av/media/libstagefright/codecs/on2/h264dec/source/
H A DDecTestBench.c489 u32 index; local
500 index = 0;
510 byte = stream[index++];
511 } while (byte != 1 && index < maxIndex);
514 if (index == maxIndex || index < 3)
523 stream += index;
524 maxIndex -= index;
525 index = 0;
534 byte = stream[index
[all...]
H A Dh264bsd_neighbour.h58 u8 index; member in struct:__anon847
/frameworks/av/media/libstagefright/omx/
H A DSoftOMXPlugin.h41 OMX_U32 index);
/frameworks/av/media/libstagefright/rtsp/
H A DAPacketSource.h30 APacketSource(const sp<ASessionDescription> &sessionDesc, size_t index);
/frameworks/av/media/libstagefright/timedtext/
H A DTimedTextDriver.cpp60 status_t TimedTextDriver::selectTrack_l(size_t index) { argument
61 if (mCurrentTrackIndex == index) {
65 source = mTextSourceVector.valueFor(index);
70 mCurrentTrackIndex = index;
115 status_t TimedTextDriver::selectTrack(size_t index) { argument
123 ret = selectTrack_l(index);
127 ret = selectTrack_l(index);
139 status_t TimedTextDriver::unselectTrack(size_t index) { argument
142 if (mCurrentTrackIndex != index) {
/frameworks/base/core/java/android/os/
H A DRemoteCallbackList.java262 * @param index Which of the registered callbacks you would like to
270 public E getBroadcastItem(int index) { argument
271 return ((Callback)mActiveBroadcast[index]).mCallback;
280 public Object getBroadcastCookie(int index) { argument
281 return ((Callback)mActiveBroadcast[index]).mCookie;
/frameworks/base/core/java/android/util/
H A DLongSparseArray.java113 * Removes the mapping at the specified index.
115 public void removeAt(int index) { argument
116 if (mValues[index] != DELETED) {
117 mValues[index] = DELETED;
215 * Given an index in the range <code>0...size()-1</code>, returns
216 * the key from the <code>index</code>th key-value mapping that this
219 public long keyAt(int index) { argument
224 return mKeys[index];
228 * Given an index in the range <code>0...size()-1</code>, returns
229 * the value from the <code>index</cod
233 valueAt(int index) argument
246 setValueAt(int index, E value) argument
[all...]
H A DSparseArray.java113 * Removes the mapping at the specified index.
115 public void removeAt(int index) { argument
116 if (mValues[index] != DELETED) {
117 mValues[index] = DELETED;
215 * Given an index in the range <code>0...size()-1</code>, returns
216 * the key from the <code>index</code>th key-value mapping that this
219 public int keyAt(int index) { argument
224 return mKeys[index];
228 * Given an index in the range <code>0...size()-1</code>, returns
229 * the value from the <code>index</cod
233 valueAt(int index) argument
246 setValueAt(int index, E value) argument
[all...]
/frameworks/base/core/java/android/view/
H A DInputEventReceiver.java147 int index = mSeqMap.indexOfKey(event.getSequenceNumber());
148 if (index < 0) {
151 int seq = mSeqMap.valueAt(index);
152 mSeqMap.removeAt(index);
H A DInputQueue.java105 int index = mActiveEventArray.indexOfKey(id);
106 if (index >= 0) {
107 ActiveInputEvent e = mActiveEventArray.valueAt(index);
108 mActiveEventArray.removeAt(index);
/frameworks/base/core/tests/coretests/src/android/util/
H A DLongSparseLongArrayTest.java88 final int index = r.nextInt(map.size());
89 final long key = getKeyAtIndex(map, index);
104 private static <E> E getKeyAtIndex(Map<E, ?> map, int index) { argument
106 for (int i = 0; i < index; i++) {
/frameworks/base/libs/hwui/
H A DRenderBufferCache.cpp114 ssize_t index = mCache.indexOf(entry); local
116 if (index >= 0) {
117 entry = mCache.itemAt(index);
118 mCache.removeAt(index);
/frameworks/base/tests/CanvasCompare/src/com/android/test/hwuicompare/
H A DManualActivity.java163 public DisplayModifierSpinner(int index) { argument
165 mIndex = index;
188 int index = 0;
190 mSpinners[index] = new DisplayModifierSpinner(index);
191 mSpinners[index].setAdapter(new ArrayAdapter<String>(this,
193 layout.addView(mSpinners[index]);
194 index++;
196 Log.d(LOG_TAG, "created " + index + " spinners");
/frameworks/base/tests/DumpRenderTree2/src/com/android/dumprendertree2/
H A DAdditionalTextOutput.java44 int index = outputType.ordinal();
45 if (mOutputs[index] == null) {
46 mOutputs[index] = new StringBuilder();
48 return mOutputs[index];
/frameworks/base/tools/aidl/
H A Dgenerate_java.h25 Variable* Get(int index);
/frameworks/base/tools/layoutlib/bridge/src/com/android/layoutlib/bridge/util/
H A DSparseWeakArray.java112 * Removes the mapping at the specified index.
114 public void removeAt(int index) { argument
115 if (mValues[index] != DELETED) {
116 mValues[index] = DELETED;
223 * Given an index in the range <code>0...size()-1</code>, returns
224 * the key from the <code>index</code>th key-value mapping that this
227 public int keyAt(int index) { argument
232 return mKeys[index];
236 * Given an index in the range <code>0...size()-1</code>, returns
237 * the value from the <code>index</cod
240 valueAt(int index) argument
253 setValueAt(int index, E value) argument
[all...]
/frameworks/ex/common/java/com/android/common/
H A DRfc822Validator.java133 int index = text.indexOf('@');
134 if (index < 0) {
141 String fix = removeIllegalCharacters(text.substring(0, index));
147 String domain = removeIllegalCharacters(text.substring(index + 1));

Completed in 1004 milliseconds

<<11121314151617181920>>