Searched refs:index (Results 76 - 100 of 1076) sorted by relevance

1234567891011>>

/frameworks/av/media/libstagefright/codecs/amrnb/dec/src/
H A Dd2_9pf.h109 Word16 index, /* i : Positions of the 2 pulses. */
H A Ddec_lag6.h107 Word16 index, /* input : received pitch index */
/frameworks/av/media/libstagefright/foundation/
H A DALooperRoster.cpp57 ssize_t index = mHandlers.indexOfKey(handlerID); local
59 if (index < 0) {
63 const HandlerInfo &info = mHandlers.valueAt(index);
71 mHandlers.removeItemsAt(index);
118 ssize_t index = mHandlers.indexOfKey(msg->target()); local
120 if (index < 0) {
125 const HandlerInfo &info = mHandlers.valueAt(index);
133 mHandlers.removeItemsAt(index);
144 ssize_t index = mHandlers.indexOfKey(handlerID); local
146 if (index <
180 ssize_t index; local
[all...]
/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);
/frameworks/base/tools/aapt/
H A DAaptConfig.cpp38 ssize_t index = 0; local
41 const char* part = parts[index].string();
48 index++;
49 if (index == N) {
52 part = parts[index].string();
56 index++;
57 if (index == N) {
60 part = parts[index].string();
64 // control the index.
65 localeIndex = locale.initFromDirName(parts, index);
[all...]
/frameworks/native/libs/binder/
H A DDebug.cpp218 size_t index; local
231 for (index = 0; index < alignment || (alignment == 0 && index < bytesPerLine); index++) {
234 if (index == 0 && word > 0 && alignment > 0) {
239 const unsigned char val = *(pos+startIndex+(index*dir));
248 if (index == 0 && word > 0) {
252 if (index == 0) {
256 const unsigned char val = *(pos+startIndex+(index*di
[all...]
/frameworks/native/opengl/tools/glgen/stubs/gles11/
H A DglGetProgramResourceName.cpp1 /* void glGetProgramResourceName ( GLuint program, GLenum programInterface, GLuint index, GLsizei bufSize, GLsizei *length, GLchar *name ) */
4 (JNIEnv *_env, jobject _this, jint program, jint programInterface, jint index) {
3 android_glGetProgramResourceName(JNIEnv *_env, jobject _this, jint program, jint programInterface, jint index) argument
/frameworks/rs/cpu_ref/linkloader/include/
H A DMemChunk.h57 unsigned char &operator[](size_t index) { argument
58 return buf[index];
61 unsigned char const &operator[](size_t index) const {
62 return buf[index];
H A DELFSectionStrTab.h43 char const *operator[](size_t index) const {
44 return &*buf.begin() + index;
/frameworks/rs/driver/runtime/
H A Drs_element.c17 rsElementGetSubElement(rs_element e, uint32_t index) { argument
19 if (element == NULL || index >= element->mHal.state.fieldsCount) {
23 rs_element returnElem = {element->mHal.state.fields[index]};
28 rsElementGetSubElementNameLength(rs_element e, uint32_t index) { argument
30 if (element == NULL || index >= element->mHal.state.fieldsCount) {
33 return element->mHal.state.fieldNameLengths[index];
37 rsElementGetSubElementName(rs_element e, uint32_t index, char *name, uint32_t nameLength) { argument
39 if (element == NULL || index >= element->mHal.state.fieldsCount ||
44 uint32_t numToCopy = element->mHal.state.fieldNameLengths[index];
51 const char *nameSource = element->mHal.state.fieldNames[index];
59 rsElementGetSubElementArraySize(rs_element e, uint32_t index) argument
68 rsElementGetSubElementOffsetBytes(rs_element e, uint32_t index) argument
[all...]
/frameworks/wilhelm/src/itf/
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/base/core/java/android/util/
H A DLongSparseLongArray.java41 * <code>keyAt(int)</code> with ascending values of the index will return the
124 * Removes the mapping at the given index.
126 public void removeAt(int index) { argument
127 System.arraycopy(mKeys, index + 1, mKeys, index, mSize - (index + 1));
128 System.arraycopy(mValues, index + 1, mValues, index, mSize - (index + 1));
160 * Given an index i
169 keyAt(int index) argument
184 valueAt(int index) argument
[all...]
H A DSparseIntArray.java41 * <code>keyAt(int)</code> with ascending values of the index will return the
122 * Removes the mapping at the given index.
124 public void removeAt(int index) { argument
125 System.arraycopy(mKeys, index + 1, mKeys, index, mSize - (index + 1));
126 System.arraycopy(mValues, index + 1, mValues, index, mSize - (index + 1));
158 * Given an index i
167 keyAt(int index) argument
182 valueAt(int index) argument
[all...]
H A DSparseLongArray.java41 * <code>keyAt(int)</code> with ascending values of the index will return the
122 * Removes the mapping at the given index.
124 public void removeAt(int index) { argument
125 System.arraycopy(mKeys, index + 1, mKeys, index, mSize - (index + 1));
126 System.arraycopy(mValues, index + 1, mValues, index, mSize - (index + 1));
158 * Given an index i
167 keyAt(int index) argument
182 valueAt(int index) argument
[all...]
/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/libstagefright/wifi-display/
H A DVideoFormats.h67 void setNativeResolution(ResolutionType type, size_t index);
68 void getNativeResolution(ResolutionType *type, size_t *index) const;
73 ResolutionType type, size_t index,
77 ResolutionType type, size_t index, bool enabled = true);
79 bool isResolutionEnabled(ResolutionType type, size_t index) const;
82 ResolutionType type, size_t index,
86 ResolutionType type, size_t index,
90 ResolutionType type, size_t index,
/frameworks/base/core/java/android/view/
H A DFrameStats.java88 * Get the time a frame at a given index was presented.
90 * @param index The frame index.
94 public final long getFramePresentedTimeNano(int index) { argument
98 return mFramesPresentedTimeNano[index];
/frameworks/support/v8/renderscript/java/src/android/support/v8/renderscript/
H A DScriptIntrinsicLUTThunker.java45 public void setRed(int index, int value) { argument
47 mN.setRed(index, value);
53 public void setGreen(int index, int value) { argument
55 mN.setGreen(index, value);
61 public void setBlue(int index, int value) { argument
63 mN.setBlue(index, value);
69 public void setAlpha(int index, int value) { argument
71 mN.setAlpha(index, value);
/frameworks/av/media/libstagefright/codecs/amrnb/enc/src/
H A Dq_gain_c.cpp141 quantization index -- Word16 -- Q0
191 Word16 q_gain_code( /* o : quantization index, Q0 */
205 Word16 index; local
253 index = 0;
270 index = i;
274 temp = index + (index << 1);
292 return index;
/frameworks/rs/cpu_ref/linkloader/include/impl/
H A DELFReloc.hxx28 ELFReloc_CRTP<Bitwidth>::readRela(Archiver &AR, size_t index) { argument
47 // Set the section header index
48 sh->index = index;
56 ELFReloc_CRTP<Bitwidth>::readRel(Archiver &AR, size_t index) { argument
75 // Set the section header index
76 sh->index = index;
/frameworks/rs/scriptc/
H A Drs_mesh.rsh41 * Meshes could have multiple index sets, this function returns
47 * containing index data
57 * @param index index of the vertex allocation
61 rsgMeshGetVertexAllocation(rs_mesh m, uint32_t index);
64 * Returns an allocation containing index data or a null
68 * @param index index of the index allocation
69 * @return allocation containing index dat
[all...]
H A Drs_element.rsh43 * sub-element at index
46 * @param index index of the sub-element to return
47 * @return sub-element in this element at given index
50 rsElementGetSubElement(rs_element, uint32_t index);
54 * sub-element name at index
57 * @param index index of the sub-element to return
62 rsElementGetSubElementNameLength(rs_element e, uint32_t index);
66 * sub-element name at index
[all...]
/frameworks/av/media/libstagefright/omx/
H A DOMXMaster.cpp75 OMX_U32 index = 0; local
80 name, sizeof(name), index++)) == OMX_ErrorNone) {
130 ssize_t index = mPluginByComponentName.indexOfKey(String8(name)); local
132 if (index < 0) {
136 OMXPluginBase *plugin = mPluginByComponentName.valueAt(index);
153 ssize_t index = mPluginByInstance.indexOfKey(component); local
155 if (index < 0) {
159 OMXPluginBase *plugin = mPluginByInstance.valueAt(index);
160 mPluginByInstance.removeItemsAt(index);
168 OMX_U32 index) {
165 enumerateComponents( OMX_STRING name, size_t size, OMX_U32 index) argument
192 ssize_t index = mPluginByComponentName.indexOfKey(String8(name)); local
[all...]
/frameworks/base/core/java/android/webkit/
H A DDateSorter.java87 * @return an index from 0 to (DAY_COUNT - 1) that identifies which
99 * @param index date bin index as returned by getIndex()
102 public String getLabel(int index) { argument
103 if (index < 0 || index >= DAY_COUNT) return "";
104 return mLabels[index];
109 * @param index date bin index as returned by getIndex()
110 * @return date boundary at given index
112 getBoundary(int index) argument
[all...]
/frameworks/base/drm/java/android/drm/
H A DDrmUtils.java152 int index = 0;
154 while (index < constraintData.length) {
156 int keyLength = readByte(constraintData, index);
157 index++;
160 int valueLength = readByte(constraintData, index);
161 index++;
164 String strKey = readMultipleBytes(constraintData, keyLength, index);
165 index += keyLength;
168 String strValue = readMultipleBytes(constraintData, valueLength, index);
172 index
[all...]

Completed in 2558 milliseconds

1234567891011>>