Searched defs:index (Results 51 - 75 of 795) sorted by relevance

1234567891011>>

/frameworks/support/v7/appcompat/src/android/support/v7/content/res/
H A DGrowingArrayUtils.java99 * Inserts an element into the array at the specified index, growing the array if there is no
109 public static <T> T[] insert(T[] array, int currentSize, int index, T element) { argument
113 System.arraycopy(array, index, array, index + 1, currentSize - index);
114 array[index] = element;
120 System.arraycopy(array, 0, newArray, 0, index);
121 newArray[index] = element;
122 System.arraycopy(array, index, newArray, index
129 insert(int[] array, int currentSize, int index, int element) argument
148 insert(long[] array, int currentSize, int index, long element) argument
167 insert(boolean[] array, int currentSize, int index, boolean element) argument
[all...]
/frameworks/wilhelm/src/itf/
H A DILEDArray.c55 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 Dsl_entry.c52 SL_API SLresult SLAPIENTRY slQuerySupportedEngineInterfaces(SLuint32 index, argument
57 result = liQuerySupportedInterfaces(index, pInterfaceId, objectIDtoClass(SL_OBJECTID_ENGINE));
H A Dxa_entry.c51 XA_API XAresult XAAPIENTRY xaQuerySupportedEngineInterfaces(XAuint32 index, argument
56 result = liQuerySupportedInterfaces(index, (SLInterfaceID *) pInterfaceId,
/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/libeffects/proxy/
H A DEffectProxy.h71 int index; // The index that is currently active - HOST or OFFLOAD member in struct:android::EffectContext
/frameworks/av/media/libeffects/testlibs/
H A DAudioCoefInterpolator.cpp44 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 DNuPlayerStreamListener.cpp55 void NuPlayer::NuPlayerStreamListener::queueBuffer(size_t index, size_t size) { argument
58 entry.mIndex = index;
/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/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.cpp111 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 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/av/media/libstagefright/codecs/on2/h264dec/omxdl/arm11/vc/m4p2/src/
H A DomxVCM4P2_QuantInvIntra_I_s.s90 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 DomxVCM4P2_EncodeMV.c57 * 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 DSimpleSoftOMXComponent.cpp70 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) {
152 OMX_INDEXTYPE index, cons
69 isSetParameterAllowed( OMX_INDEXTYPE index, const OMX_PTR params) const argument
[all...]
/frameworks/av/media/libstagefright/wifi-display/
H A DParameters.cpp80 ssize_t index = mDict.indexOfKey(key); local
82 if (index < 0) {
88 *value = mDict.valueAt(index);
/frameworks/av/services/audiopolicy/common/managerdefinitions/src/
H A DAudioGain.cpp35 AudioGain::AudioGain(int index, bool useInChannelMask) argument
37 mIndex = index;
44 config->index = mIndex;
101 void AudioGain::dump(int fd, int spaces, int index) const
107 snprintf(buffer, SIZE, "%*sGain %d:\n", spaces, "", index+1);
/frameworks/base/core/java/android/util/
H A DLongArray.java62 * @throws IndexOutOfBoundsException when index &lt; 0 || index &gt; 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 DHandlerActionQueue.java99 public Runnable getRunnable(int index) { argument
100 if (index >= mCount) {
103 return mActions[index].action;
106 public long getDelay(int index) { argument
107 if (index >= mCount) {
110 return mActions[index].delay;
H A DWindowContentFrameStats.java79 * 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/core/java/android/widget/
H A DViewSwitcher.java62 public void addView(View child, int index, ViewGroup.LayoutParams params) { argument
66 super.addView(child, index, params);
/frameworks/base/include/androidfw/
H A DTypeWrappers.h53 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/libs/hwui/debug/
H A Dwrap_gles.cpp87 const GLubyte * API_ENTRY(glGetStringi)(GLenum name, GLuint index) { argument
88 CALL_GL_API_RETURN(glGetStringi, name, index);
/frameworks/base/libs/hwui/utils/
H A DRingBuffer.h53 T& operator[](size_t index) { argument
54 return mBuffer[(mHead + index + 1) % mCount];
57 const T& operator[](size_t index) const {
58 return mBuffer[(mHead + index + 1) % mCount];
/frameworks/base/services/core/java/com/android/server/hdmi/
H A DUnmodifiableSparseArray.java45 public int keyAt(int index) { argument
46 return mArray.keyAt(index);
49 public E valueAt(int index) { argument
50 return mArray.valueAt(index);

Completed in 765 milliseconds

1234567891011>>