Searched defs:index (Results 76 - 100 of 699) sorted by relevance

1234567891011>>

/frameworks/base/tools/aidl/
H A Dgenerate_java.cpp27 VariableFactory::Get(int index) argument
29 return m_vars[index];
/frameworks/base/tools/layoutlib/bridge/src/com/android/layoutlib/bridge/bars/
H A DStatusBar.java68 protected void loadIcon(int index, String iconName, Density density) { argument
70 super.loadIcon(index, iconName, density);
73 View child = getChildAt(index);
/frameworks/base/tools/preload/
H A DOperation.java42 final int index; field in class:Operation
58 int index, Type type) {
62 this.index = index;
57 Operation(Proc process, LoadedClass loadedClass, long startTimeNanos, int index, Type type) argument
/frameworks/native/libs/binder/
H A DPermissionCache.cpp43 ssize_t index = mCache.indexOf(e); local
44 if (index >= 0) {
45 *granted = mCache.itemAt(index).granted;
55 ssize_t index = mPermissionNamesPool.indexOf(permission); local
56 if (index > 0) {
57 e.name = mPermissionNamesPool.itemAt(index);
66 index = mCache.indexOf(e);
67 if (index < 0) {
/frameworks/native/opengl/libagl/
H A DBufferObjectManager.cpp91 int32_t index = mBuffers.indexOfKey(t); local
92 if (index >= 0) {
93 buffer_t* bo = mBuffers.valueAt(index);
95 mBuffers.removeItemsAt(index);
/frameworks/opt/bitmap/src/com/android/bitmap/util/
H A DExif.java54 To be safe, we will always advance to some index-4, so we'll need 4 more for the +8
203 private static boolean has(final InputStreamBuffer jpeg, final long byteSize, final int index) { argument
205 return index < byteSize;
207 // For large values of index, this will cause the internal buffer to resize.
208 return jpeg.has(index);
/frameworks/opt/photoviewer/src/com/android/ex/photo/util/
H A DExif.java49 To be safe, we will always advance to some index-4, so we'll need 4 more for the +8
198 private static boolean has(final InputStreamBuffer jpeg, final long byteSize, final int index) { argument
200 return index < byteSize;
202 // For large values of index, this will cause the internal buffer to resize.
203 return jpeg.has(index);
/frameworks/opt/telephony/src/java/com/android/internal/telephony/
H A DIccPhoneBookInterfaceManagerProxy.java54 String newPhoneNumber, int index, String pin2) {
56 newTag, newPhoneNumber, index, pin2);
53 updateAdnRecordsInEfByIndex(int efid, String newTag, String newPhoneNumber, int index, String pin2) argument
/frameworks/rs/cpp/
H A DScript.cpp49 void Script::setVar(uint32_t index, sp<const BaseObj> o) const { argument
50 tryDispatch(mRS, RS::dispatch->ScriptSetVarObj(mRS->getContext(), getID(), index, (o == NULL) ? 0 : o->getID()));
53 void Script::setVar(uint32_t index, const void *v, size_t len) const { argument
54 tryDispatch(mRS, RS::dispatch->ScriptSetVarV(mRS->getContext(), getID(), index, v, len));
/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];
/frameworks/rs/cpu_ref/linkloader/include/impl/
H A DELFSymbol.hxx35 size_t const index = shtab.getByName(std::string(".strtab"))->getIndex(); local
36 ELFSectionTy const *section = owner->getSectionByIndex(index);
47 size_t index) {
66 // Set the section header index
67 sh->index = index;
45 read(Archiver &AR, ELFObjectTy const *owner, size_t index) argument
/frameworks/rs/driver/
H A DrsdFrameBufferObj.h30 void setColorTarget(DrvAllocation *color, uint32_t index) { argument
31 mColorTargets[index] = color;
/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 DIAndroidEffectCapabilities.c44 SLuint32 index, SLInterfaceID *pEffectType, SLInterfaceID *pEffectImplementation,
50 if (index > thiz->mNumFx) {
55 *pEffectType = (SLInterfaceID) &thiz->mFxDescriptors[index].type;
58 *pEffectImplementation = (SLInterfaceID) &thiz->mFxDescriptors[index].uuid;
61 int len = strlen(thiz->mFxDescriptors[index].name);
62 strncpy((char*)pName, thiz->mFxDescriptors[index].name,
43 IAndroidEffectCapabilities_QueryEffect(SLAndroidEffectCapabilitiesItf self, SLuint32 index, SLInterfaceID *pEffectType, SLInterfaceID *pEffectImplementation, SLchar * pName, SLuint16 *pNameSize) argument
H A DIMetadataTraversal.c66 SLMetadataTraversalItf self, SLuint32 index, SLuint32 *pSize)
85 static SLresult IMetadataTraversal_GetChildInfo(SLMetadataTraversalItf self, SLuint32 index, argument
97 static SLresult IMetadataTraversal_SetActiveNode(SLMetadataTraversalItf self, SLuint32 index) argument
101 if (SL_NODE_PARENT == index) {
105 thiz->mIndex = index;
65 IMetadataTraversal_GetChildMIMETypeSize( SLMetadataTraversalItf self, SLuint32 index, SLuint32 *pSize) argument
/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/camera/
H A DVendorTagDescriptor.cpp121 // Set up tag to section index map
122 ssize_t index = sections.indexOf(sectionString); local
123 LOG_ALWAYS_FATAL_IF(index < 0, "index %zd must be non-negative", index);
124 desc->mTagToSectionMap.add(tag, static_cast<uint32_t>(index));
168 ALOGE("%s: could not read tag id from parcel for index %d", __FUNCTION__, i);
193 ALOGE("%s: could not read section index for tag %d.", __FUNCTION__, tag);
268 ssize_t index = mTagToSectionMap.indexOfKey(tag);
269 if (index <
[all...]
/frameworks/av/drm/libdrmframework/plugins/common/util/include/
H A DSessionMap.h82 * returns the session object by the index in the session map table
84 * @param index - index of the value required
86 * @return session object as per the index
88 TValue getValueAt(unsigned int index) { argument
92 if (map.size() > index) {
93 value = map.valueAt(index);
/frameworks/av/media/img_utils/include/img_utils/
H A DTiffEntryImpl.h68 ssize_t index = mData.appendArray(data, count); local
69 LOG_ALWAYS_FATAL_IF(index < 0, "%s: Could not allocate vector for data.", __FUNCTION__);
/frameworks/av/media/libmedia/
H A DIMediaCodecList.cpp53 virtual sp<MediaCodecInfo> getCodecInfo(size_t index) const
57 data.writeInt32(index);
116 size_t index = static_cast<size_t>(data.readInt32()); local
117 const sp<MediaCodecInfo> info = getCodecInfo(index);
134 ssize_t index = findCodecByType(type, isEncoder, startIndex); local
135 if (index > INT32_MAX || index < 0) {
136 index = NAME_NOT_FOUND;
138 reply->writeInt32(index);
147 ssize_t index local
[all...]
/frameworks/av/media/libstagefright/codecs/amrnb/dec/src/
H A Dd_plsf_3.cpp174 Word16 index; local
192 index =
200 index,
299 index = *indice++;
301 /* temp = 3*index; */
302 temp = index + (index << 1);
315 index = *indice++;
319 index <<= 1;
322 /* temp = 3*index */
[all...]
/frameworks/av/media/libstagefright/codecs/amrwb/src/
H A Ddec_alg_codebook.cpp118 void dec_1p_N1(int32 index, int16 N, int16 offset, int16 pos[]) argument
127 pos1 = ((index & mask) + offset);
129 i = ((index >> N) & 1L); /* i = ((index >> N) & 1); */
145 void dec_2p_2N1(int32 index, int16 N, int16 offset, int16 pos[]) argument
154 /* pos1 = (((index >> N) & mask) + offset); */
155 pos1 = (int16)(add_int32((shr_int32(index, N) & mask), (int32)(offset)));
157 i = (index >> tmp) & 1L; /* i = (index >> (2*N)) & 1; */
158 pos2 = add_int16((int16)(index
192 dec_3p_3N1(int32 index, int16 N, int16 offset, int16 pos[]) argument
229 dec_4p_4N1(int32 index, int16 N, int16 offset, int16 pos[]) argument
265 dec_4p_4N(int32 index, int16 N, int16 offset, int16 pos[]) argument
316 dec_5p_5N(int32 index, int16 N, int16 offset, int16 pos[]) argument
350 dec_6p_6N_2(int32 index, int16 N, int16 offset, int16 pos[]) argument
[all...]
/frameworks/av/media/libstagefright/codecs/amrwbenc/src/
H A Dq_pulse.c36 Word32 index; local
42 index = L_deposit_l((Word16) (pos & mask));
45 index = vo_L_add(index, L_deposit_l(1 << N)); /* index += 1 << N; */
47 return (index);
57 Word32 index; local
67 /* index = ((pos1 & mask) << N) + (pos2 & mask); */
68 index = L_deposit_l(add1((((Word16) (pos1 & mask)) << N), ((Word16) (pos2 & mask))));
72 index
113 Word32 index; local
155 Word32 index; local
193 Word32 i, j, k, index; local
259 Word32 i, j, k, index, tmp2; local
333 Word32 i, j, k, index; local
[all...]
/frameworks/av/media/libstagefright/codecs/on2/h264dec/omxdl/reference/vc/m4p2/src/
H A DarmVCM4P2_BlockMatch_Half.c90 OMX_INT outer, inner, count, index; local
110 for (outer = 0, count = 0,index = 0;
112 outer++, index += refWidth - BlockSize)
114 for (inner = 0; inner < BlockSize; inner++, count++, index++)
116 refSAD += armAbs (pTempSrcRefBuf[index] - pSrcCurrBuf[count]);
165 for (outer = 0, count = 0, candSAD = 0,index = 0;
167 outer++, index += refWidth - BlockSize)
169 for (inner = 0; inner < BlockSize; inner++, count++,index++)
172 pTempSrcRefBuf[index]
173 + pTempSrcRefBuf[index
[all...]
H A DarmVCM4P2_BlockMatch_Integer.c98 OMX_INT outer, inner, count,index; local
156 for (outer = 0, count = 0, index = 0, candSAD = 0;
158 outer++, index += refWidth - BlockSize)
160 for (inner = 0; inner < BlockSize; inner++, count++, index++)
162 candSAD += armAbs (pTempSrcRefBuf[index] - pSrcCurrBuf[count]);

Completed in 469 milliseconds

1234567891011>>