Home
last modified time | relevance | path

Searched refs:itemAt (Results 1 – 25 of 93) sorted by relevance

1234

/frameworks/base/libs/hwui/
DDisplayList.cpp46 resourceCache.decrementRefcountLocked(bitmapResources.itemAt(i)); in cleanupResources()
50 const SkBitmap* bitmap = ownedBitmapResources.itemAt(i); in cleanupResources()
56 resourceCache.decrementRefcountLocked(patchResources.itemAt(i)); in cleanupResources()
60 resourceCache.decrementRefcountLocked(sourcePaths.itemAt(i)); in cleanupResources()
66 delete paints.itemAt(i); in cleanupResources()
70 delete regions.itemAt(i); in cleanupResources()
74 delete paths.itemAt(i); in cleanupResources()
DLayerCache.cpp94 deleteLayer(mCache.itemAt(i).mLayer); in clear()
106 entry = mCache.itemAt(index); in get()
139 const LayerEntry& entry = mCache.itemAt(i); in dump()
156 Layer* victim = mCache.itemAt(position).mLayer; in put()
DRenderBufferCache.cpp105 deleteBuffer(mCache.itemAt(i).mBuffer); in clear()
117 entry = mCache.itemAt(index); in get()
146 RenderBuffer* victim = mCache.itemAt(position).mBuffer; in put()
DFboCache.cpp64 const GLuint fbo = mCache.itemAt(i); in clear()
73 fbo = mCache.itemAt(mCache.size() - 1); in get()
/frameworks/wilhelm/src/android/
DVideoCodec_to_android.cpp90 CodecProfileLevel profileLevel = profileLevels.itemAt(i); in android_videoCodec_expose()
176 if (!(plIndex < VideoDecoderCapabilities[decoderIndex].itemAt(0).mProfileLevels.size())) in android_videoCodec_getProfileLevelCombination()
184 itemAt(0).mProfileLevels.itemAt(plIndex).mProfile); in android_videoCodec_getProfileLevelCombination()
186 itemAt(0).mProfileLevels.itemAt(plIndex).mLevel); in android_videoCodec_getProfileLevelCombination()
/frameworks/opt/emoji/
DEmojiFactory.cpp109 EmojiFactory *f = g_factories->itemAt(i); in TryRegisterEmojiFactory()
127 delete g_factories->itemAt(i); in ~EmojiFactoryManager()
135 dlclose(g_handles->itemAt(i)); in ~EmojiFactoryManager()
155 EmojiFactory *factory = g_factories->itemAt(i); in GetImplementation()
168 EmojiFactory *factory = g_factories->itemAt(i); in GetAvailableImplementation()
/frameworks/wilhelm/src/itf/
DIStreamInformation.c35 *info = thiz->mStreamInfoTable.itemAt(0).containerInfo; in IStreamInformation_QueryMediaContainerInformation()
74 XAuint32 nbStreams = thiz->mStreamInfoTable.itemAt(0).containerInfo.numStreams; in IStreamInformation_QueryStreamType()
78 *domain = thiz->mStreamInfoTable.itemAt(streamIndex).domain; in IStreamInformation_QueryStreamType()
111 XAuint32 nbStreams = thiz->mStreamInfoTable.itemAt(0).containerInfo.numStreams; in IStreamInformation_QueryStreamInformation()
115 const StreamInfo& streamInfo = thiz->mStreamInfoTable.itemAt((size_t)streamIndex); in IStreamInformation_QueryStreamInformation()
175 XAuint32 nbStreams = thiz->mStreamInfoTable.itemAt(0).containerInfo.numStreams; in IStreamInformation_QueryStreamName()
249 *numStreams = thiz->mStreamInfoTable.itemAt(0).containerInfo.numStreams; in IStreamInformation_QueryActiveStreams()
/frameworks/base/libs/androidfw/
DAssetManager.cpp510 assetName.string(), mAssetPaths.itemAt(i).path.string()); in open()
511 Asset* pAsset = openNonAssetInPathLocked(assetName.string(), mode, mAssetPaths.itemAt(i)); in open()
543 … ALOGV("Looking for non-asset '%s' in '%s'\n", fileName, mAssetPaths.itemAt(i).path.string()); in openNonAsset()
545 fileName, mode, mAssetPaths.itemAt(i)); in openNonAsset()
568 mAssetPaths.itemAt(which).path.string()); in openNonAsset()
570 fileName, mode, mAssetPaths.itemAt(which)); in openNonAsset()
722 bool empty = appendPathToResTable(mAssetPaths.itemAt(i)); in getResTable()
827 const String8& localeStr = locales->itemAt(i); in getLocales()
1223 const asset_path& ap = mAssetPaths.itemAt(i); in openDir()
1237 pMergedInfo->itemAt(i).getFileType(), in openDir()
[all …]
DAssetDir.cpp50 cmp = strcmp(pVector->itemAt(cur).getFileName(), fileName); in findEntry()
/frameworks/av/media/libmedia/
DMediaCodecInfo.cpp91 parcel->writeInt32(mProfileLevels.itemAt(i).mProfile); in writeToParcel()
92 parcel->writeInt32(mProfileLevels.itemAt(i).mLevel); in writeToParcel()
97 parcel->writeInt32(mColorFormats.itemAt(i)); in writeToParcel()
110 if (mQuirks.itemAt(ix).equalsIgnoreCase(name)) { in hasQuirk()
165 mQuirks.itemAt(i).writeToParcel(parcel); in writeToParcel()
222 const CodecProfileLevel &src = caps.mProfileLevels.itemAt(i); in initializeCapabilities()
231 mCurrentCaps->mColorFormats.push_back(caps.mColorFormats.itemAt(i)); in initializeCapabilities()
/frameworks/base/include/androidfw/
DAssetDir.h54 return mFileInfo->itemAt(idx).getFileName(); in getFileName()
57 return mFileInfo->itemAt(idx).getSourceName(); in getSourceName()
64 return mFileInfo->itemAt(idx).getFileType(); in getFileType()
/frameworks/av/media/libstagefright/wifi-display/source/
DTSPacketizer.cpp180 size += mCSD.itemAt(i)->size(); in prependCSD()
186 const sp<ABuffer> &csd = mCSD.itemAt(i); in prependCSD()
201 const uint8_t *codec_specific_data = mCSD.itemAt(0)->data(); in prependADTSHeader()
247 return mDescriptors.itemAt(index); in descriptorAt()
266 const sp<ABuffer> &sps = mCSD.itemAt(0); in finalize()
422 const sp<Track> &track = mTracks.itemAt(i); in addTrack()
447 const sp<Track> &track = mTracks.itemAt(trackIndex); in extractCSDIfNecessary()
471 const sp<Track> &track = mTracks.itemAt(trackIndex); in packetize()
771 program_info_length += mProgramInfoDescriptors.itemAt(i)->size(); in packetize()
779 const sp<ABuffer> &desc = mProgramInfoDescriptors.itemAt(i); in packetize()
[all …]
/frameworks/base/tools/aapt/
DWorkQueue.cpp84 delete mWorkUnits.itemAt(i); in cancelLocked()
109 mWorkThreads.itemAt(i)->join(); in finish()
126 workUnit = mWorkUnits.itemAt(0); in threadLoop()
DXMLNode.cpp432 const namespace_entry& ne = namespaces.itemAt(i); in build_namespace()
703 const attribute_entry& ae(mAttributes.itemAt(i)); in getAttribute()
754 sp<XMLNode> found = mChildren.itemAt(i)->searchElement(tagNamespace, tagName); in searchElement()
766 sp<XMLNode> child = mChildren.itemAt(i); in getChildElement()
855 String8(mAttributes.itemAt(attrIdx).name).string(), in setAttributeResID()
856 String8(mAttributes.itemAt(attrIdx).string).string(), in setAttributeResID()
906 sp<XMLNode> node = mChildren.itemAt(i); in removeWhitespace()
975 status_t err = mChildren.itemAt(i)->parseValues(assets, table); in parseValues()
993 const attribute_entry& e = mAttributes.itemAt(i); in assignResourceIds()
1025 status_t err = mChildren.itemAt(i)->assignResourceIds(assets, table); in assignResourceIds()
[all …]
/frameworks/base/libs/input/
DPointerController.cpp92 delete mLocked.spots.itemAt(i); in ~PointerController()
281 Spot* spot = mLocked.spots.itemAt(i); in setSpots()
441 Spot* spot = mLocked.spots.itemAt(i); in doAnimate()
508 Spot* spot = mLocked.spots.itemAt(i); in getSpotLocked()
521 spot = mLocked.spots.itemAt(0); in createAndAddSpotLocked()
544 Spot* spot = mLocked.spots.itemAt(i); in removeFirstFadingSpotLocked()
572 Spot* spot = mLocked.spots.itemAt(i); in fadeOutAndReleaseAllSpotsLocked()
/frameworks/base/core/jni/
Dandroid_os_UEventObserver.cpp48 const String8& match = gMatches.itemAt(i); in isMatch()
99 if (gMatches.itemAt(i) == match.c_str()) { in nativeRemoveMatch()
/frameworks/native/libs/binder/
DPermissionCache.cpp45 *granted = mCache.itemAt(index).granted; in check()
57 e.name = mPermissionNamesPool.itemAt(index); in cache()
DBpBinder.cpp219 const Obituary& obit = mObituaries->itemAt(i); in unlinkToDeath()
225 *outRecipient = mObituaries->itemAt(i).recipient; in unlinkToDeath()
269 reportOneDeath(obits->itemAt(i)); in sendObituary()
/frameworks/av/drm/common/
DDrmSupportInfo.cpp51 const String8 item = mMimeTypeVector.itemAt(i); in isSupportedMimeType()
62 const String8 item = mFileSuffixVector.itemAt(i); in isSupportedFileSuffix()
/frameworks/base/media/jni/
Dandroid_media_MediaCodecList.cpp137 jstring obj = env->NewStringUTF(types.itemAt(i).c_str()); in android_media_MediaCodecList_getSupportedTypes()
222 const MediaCodecInfo::ProfileLevel &src = profileLevels.itemAt(i); in android_media_MediaCodecList_getCodecCapabilities()
238 jint val = colorFormats.itemAt(i); in android_media_MediaCodecList_getCodecCapabilities()
/frameworks/av/media/img_utils/src/
DSortedEntryVector.cpp30 if (itemAt(i)->getTag() == tag) { in indexOfTag()
/frameworks/native/libs/input/
DInputTransport.cpp537 next = &batch.samples.itemAt(0); in consumeBatch()
638 const TouchState& touchState = mTouchStates.itemAt(index); in updateTouchState()
648 const TouchState& touchState = mTouchStates.itemAt(index); in updateTouchState()
819 const SeqChain& seqChain = mSeqChains.itemAt(i); in sendFinishedSignal()
864 const Batch& batch = mBatches.itemAt(i); in findBatch()
865 const InputMessage& head = batch.samples.itemAt(0); in findBatch()
875 const TouchState& touchState = mTouchStates.itemAt(i); in findTouchState()
937 const InputMessage& head = batch.samples.itemAt(0); in canAddSample()
956 && batch.samples.itemAt(index).body.motion.eventTime <= time) { in findSampleNoLaterThan()
DInput.cpp329 if (mPointerProperties.itemAt(i).id == pointerId) { in findPointerIndex()
489 const PointerProperties& properties = mPointerProperties.itemAt(i); in writeToParcel()
496 parcel->writeInt64(mSampleEventTimes.itemAt(h)); in writeToParcel()
542 delete mKeyEventPool.itemAt(i); in ~PooledInputEventFactory()
545 delete mMotionEventPool.itemAt(i); in ~PooledInputEventFactory()
/frameworks/av/media/libstagefright/
DMediaCodecList.cpp127 const MediaCodecInfo &info = *mCodecInfos.itemAt(i).get(); in parseTopLevelXMLFile()
152 nice.append(colorFormats.itemAt(ix)); in parseTopLevelXMLFile()
165 profileLevels.itemAt(ix); in parseTopLevelXMLFile()
179 const CodecInfo &info = mCodecInfos.itemAt(i); in parseTopLevelXMLFile()
599 const MediaCodecInfo &info = *mCodecInfos.itemAt(startIndex).get(); in findCodecByType()
849 const MediaCodecInfo &info = *mCodecInfos.itemAt(i).get(); in findCodecByName()
/frameworks/av/media/libstagefright/httplive/
DM3UParser.cpp215 const Media &item = mMediaItems.itemAt(index); in getTrackInfo()
233 const Media &item = mMediaItems.itemAt(i); in getActiveURI()
293 bool M3UParser::itemAt(size_t index, AString *uri, sp<AMessage> *meta) { in itemAt() function in android::M3UParser
307 *uri = mItems.itemAt(index).mURI; in itemAt()
311 *meta = mItems.itemAt(index).mMeta; in itemAt()
406 sp<AMessage> meta = mItems.itemAt(index).mMeta; in getTypeURI()
410 *uri = mItems.itemAt(index).mURI; in getTypeURI()
442 *uri = mItems.itemAt(index).mURI; in getTypeURI()

1234