/frameworks/webview/chromium/java/com/android/webview/chromium/ |
H A D | WebBackForwardListChromium.java | 68 public synchronized WebHistoryItem getItemAtIndex(int index) { argument 69 if (index < 0 || index >= getSize()) { 72 return mHistroryItemList.get(index);
|
/frameworks/wilhelm/src/itf/ |
H A D | ILEDArray.c | 55 static SLresult ILEDArray_SetColor(SLLEDArrayItf self, SLuint8 index, const SLHSL *pColor) argument 61 if (!(index < MAX_LED_COUNT) || NULL == pColor) 73 thiz->mColors[index] = color; 82 static SLresult ILEDArray_GetColor(SLLEDArrayItf self, SLuint8 index, SLHSL *pColor) argument 86 if (!(index < MAX_LED_COUNT) || NULL == pColor) { 92 SLHSL color = thiz->mColors[index]; 115 SLuint8 index; local 116 for (index = 0; index < MAX_LED_COUNT; ++index, [all...] |
/frameworks/wilhelm/src/ |
H A D | sl_entry.c | 52 SL_API SLresult SLAPIENTRY slQuerySupportedEngineInterfaces(SLuint32 index, argument 57 result = liQuerySupportedInterfaces(index, pInterfaceId, objectIDtoClass(SL_OBJECTID_ENGINE));
|
H A D | xa_entry.c | 51 XA_API XAresult XAAPIENTRY xaQuerySupportedEngineInterfaces(XAuint32 index, argument 56 result = liQuerySupportedInterfaces(index, (SLInterfaceID *) pInterfaceId,
|
/frameworks/av/media/libeffects/proxy/ |
H A D | EffectProxy.h | 71 int index; // The index that is currently active - HOST or OFFLOAD member in struct:android::EffectContext
|
/frameworks/av/media/libeffects/testlibs/ |
H A D | AudioCoefInterpolator.cpp | 44 size_t index = 0; local 51 index += mInDimOffsets[dim] * (mInDims[dim] - 1); 53 index += mInDimOffsets[dim] * intCoord[dim]; 56 getCoefRecurse(index, fracCoord, out, 0); 59 void AudioCoefInterpolator::getCoefRecurse(size_t index, argument 63 memcpy(out, mTable + index, mNumOutDims * sizeof(audio_coef_t)); 65 getCoefRecurse(index, fracCoord, out, dim + 1); 68 getCoefRecurse(index + mInDimOffsets[dim], fracCoord, tempCoef,
|
/frameworks/av/media/libmediaplayerservice/nuplayer/ |
H A D | NuPlayerStreamListener.cpp | 55 void NuPlayer::NuPlayerStreamListener::queueBuffer(size_t index, size_t size) { argument 58 entry.mIndex = index;
|
/frameworks/av/media/libnbaio/ |
H A D | SourceAudioBufferProvider.cpp | 35 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/codecs/amrnb/dec/src/ |
H A D | d_gain_c.cpp | 60 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 D | dec_gain.cpp | 111 index = AMR mode of type enum Mode 184 Word16 index, /* i : index of quantization. */ 204 index = shl(index, 2, pOverflow); 208 p = &table_gain_highrates[index]; 219 index += (1 ^ evenSubfr) << 1; /* evenSubfr is 0 or 1 */ 221 if (index > (MR475_VQ_SIZE*4 - 2)) 223 index = (MR475_VQ_SIZE * 4 - 2); /* avoid possible buffer overflow */ 226 p = &table_gain_MR475[index]; 181 Dec_gain( gc_predState *pred_state, enum Mode mode, Word16 index, Word16 code[], Word16 evenSubfr, Word16 * gain_pit, Word16 * gain_cod, Flag * pOverflow ) argument [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...] |
/frameworks/av/media/libstagefright/codecs/on2/h264dec/omxdl/arm11/vc/m4p2/src/ |
H A D | omxVCM4P2_QuantInvIntra_I_s.s | 90 index RN 6 label 114 LDR index, =armVCM4P2_DCScaler 115 ADD index,index,videoComp,LSL #5 116 LDRB dcScaler,[index,QP]
|
/frameworks/av/media/libstagefright/codecs/on2/h264dec/omxdl/reference/vc/m4p2/src/ |
H A D | omxVCM4P2_EncodeMV.c | 57 * pBitOffset - index of the first free (next available) bit in the stream 76 * pBitOffset - updated index of the next available bit position in stream 106 OMX_U8 scaleFactor, index; local 196 /* The index is actually calculate as 197 index = ((float) (mvHorData/2) + 16) * 2, 201 index = mvHorData + 32; 202 armPackVLC32 (ppBitStream, pBitOffset, armVCM4P2_aVlcMVD[index]); 208 /* The index is actually calculate as 209 index = ((float) (mvVerData/2) + 16) * 2, 213 index [all...] |
/frameworks/av/media/libstagefright/omx/ |
H A D | SimpleSoftOMXComponent.cpp | 70 OMX_INDEXTYPE index, const OMX_PTR params) const { 77 switch (index) { 106 OMX_INDEXTYPE index, OMX_PTR params) { 108 return internalGetParameter(index, params); 112 OMX_INDEXTYPE index, const OMX_PTR params) { 115 CHECK(isSetParameterAllowed(index, params)); 117 return internalSetParameter(index, params); 121 OMX_INDEXTYPE index, OMX_PTR params) { 122 switch (index) { 148 OMX_INDEXTYPE index, cons 69 isSetParameterAllowed( OMX_INDEXTYPE index, const OMX_PTR params) const argument [all...] |
/frameworks/av/media/libstagefright/wifi-display/ |
H A D | Parameters.cpp | 80 ssize_t index = mDict.indexOfKey(key); local 82 if (index < 0) { 88 *value = mDict.valueAt(index);
|
/frameworks/base/core/java/android/alsa/ |
H A D | AlsaCardsParser.java | 100 public AlsaCardRecord getCardRecordAt(int index) { argument 101 return cardRecords_.get(index); 110 for (int index = 0; index < numCardRecs; ++index) { 111 Slog.w(TAG, "usb:" + getCardRecordAt(index).textFormat());
|
/frameworks/base/core/java/android/util/ |
H A D | IntArray.java | 63 * @throws IndexOutOfBoundsException when index < 0 || index > size() 65 public void add(int index, int value) { argument 66 if (index < 0 || index > mSize) { 72 if (mSize - index != 0) { 73 System.arraycopy(mValues, index, mValues, index + 1, mSize - index); 76 mValues[index] 124 get(int index) argument 148 remove(int index) argument [all...] |
H A D | LongArray.java | 62 * @throws IndexOutOfBoundsException when index < 0 || index > size() 64 public void add(int index, long value) { argument 65 if (index < 0 || index > mSize) { 71 if (mSize - index != 0) { 72 System.arraycopy(mValues, index, mValues, index + 1, mSize - index); 75 mValues[index] 128 get(int index) argument 152 remove(int index) argument [all...] |
/frameworks/base/core/java/android/view/ |
H A D | WindowContentFrameStats.java | 79 * Get the time a frame at a given index was posted by the producer (e.g. the application). 87 * @param index The frame index. 90 public long getFramePostedTimeNano(int index) { argument 94 return mFramesPostedTimeNano[index]; 98 * Get the time a frame at a given index was ready for presentation. 105 * @param index The frame index. 109 public long getFrameReadyTimeNano(int index) { argument 113 return mFramesReadyTimeNano[index]; [all...] |
/frameworks/base/include/androidfw/ |
H A D | TypeWrappers.h | 53 uint32_t index() const { function in class:android::TypeVariant::iterator 62 iterator(const TypeVariant* tv, uint32_t index) argument 63 : mTypeVariant(tv), mIndex(index) {}
|
/frameworks/base/media/java/android/mtp/ |
H A D | MtpStorage.java | 57 * Generates a storage ID for storage of given index. 62 public static int getStorageId(int index) { argument 65 return ((index + 1) << 16) + 1;
|
/frameworks/base/services/core/java/com/android/server/hdmi/ |
H A D | UnmodifiableSparseArray.java | 45 public int keyAt(int index) { argument 46 return mArray.keyAt(index); 49 public E valueAt(int index) { argument 50 return mArray.valueAt(index);
|
H A D | UnmodifiableSparseIntArray.java | 45 public int keyAt(int index) { argument 46 return mArray.keyAt(index); 49 public int valueAt(int index) { argument 50 return mArray.valueAt(index);
|
/frameworks/base/tests/Camera2Tests/SmartCamera/SimpleCamera/src/androidx/media/filterfw/ |
H A D | FrameValues.java | 61 * Returns the value at the specified index. 63 * In case the value is null or not an array, the index must be 0, and the value itself is 66 * @param index The index to access. 67 * @return The value at that index. 69 public Object getValueAtIndex(int index) { argument 72 if (index != 0) { 73 throw new ArrayIndexOutOfBoundsException(index); 78 return Array.get(value, index); 83 * Returns the value as a FrameValue at the specified index 91 getFrameValueAtIndex(int index) argument 118 setValueAtIndex(Object value, int index) argument 141 setFrameValueAtIndex(FrameValue frame, int index) argument [all...] |
/frameworks/base/tests/RenderScriptTests/PerfTest/src/com/android/perftest/ |
H A D | TextTest.java | 45 void addTest(int index, int fillNum) { argument 46 mTests[index] = new ScriptField_TestScripts_s.Item(); 47 mTests[index].testScript = mTextScript; 48 mTests[index].testName = Allocation.createFromString(mRS, 49 mNames[index], 51 mTests[index].debugName = RsBenchRS.createZeroTerminatedAlloc(mRS, 52 mNames[index], 59 mTests[index].testData = testData.getAllocation(); 68 int index = 0; 69 addTest(index [all...] |