/frameworks/base/tools/aidl/ |
H A D | generate_java.cpp | 27 VariableFactory::Get(int index) argument 29 return m_vars[index];
|
/frameworks/base/tools/layoutlib/bridge/src/com/android/layoutlib/bridge/bars/ |
H A D | StatusBar.java | 68 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 D | Operation.java | 42 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 D | PermissionCache.cpp | 43 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 D | BufferObjectManager.cpp | 91 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 D | Exif.java | 54 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 D | Exif.java | 49 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 D | IccPhoneBookInterfaceManagerProxy.java | 54 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 D | Script.cpp | 49 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 D | MemChunk.h | 57 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 D | ELFSymbol.hxx | 35 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 D | rsdFrameBufferObj.h | 30 void setColorTarget(DrvAllocation *color, uint32_t index) { argument 31 mColorTargets[index] = color;
|
/frameworks/rs/driver/runtime/ |
H A D | rs_element.c | 17 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 D | IAndroidEffectCapabilities.c | 44 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 D | IMetadataTraversal.c | 66 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 D | engine.c | 41 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 D | VendorTagDescriptor.cpp | 121 // 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 D | SessionMap.h | 82 * 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 D | TiffEntryImpl.h | 68 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 D | IMediaCodecList.cpp | 53 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 D | d_plsf_3.cpp | 174 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 D | dec_alg_codebook.cpp | 118 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 D | q_pulse.c | 36 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 D | armVCM4P2_BlockMatch_Half.c | 90 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 D | armVCM4P2_BlockMatch_Integer.c | 98 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]);
|