Home
last modified time | relevance | path

Searched refs:stringCount (Results 1 – 6 of 6) sorted by relevance

/frameworks/base/core/java/android/preference/
DMultiSelectListPreference.java259 final int stringCount = strings.length; in SavedState() local
260 for (int i = 0; i < stringCount; i++) { in SavedState()
/frameworks/base/tools/aapt2/
DStringPool.cpp212 void StringPool::hintWillAdd(size_t stringCount, size_t styleCount) { in hintWillAdd() argument
213 mStrings.reserve(mStrings.size() + stringCount); in hintWillAdd()
296 header->stringCount = pool.size(); in flatten()
DStringPool.h180 void hintWillAdd(size_t stringCount, size_t styleCount);
/frameworks/base/libs/androidfw/
DResourceTypes.cpp476 h->stringCount = dtohl(mHeader->stringCount); in setTo()
493 if (mHeader->stringCount > 0) { in setTo()
494 if ((mHeader->stringCount*sizeof(uint32_t) < mHeader->stringCount) // uint32 overflow? in setTo()
495 || (mHeader->header.headerSize+(mHeader->stringCount*sizeof(uint32_t))) in setTo()
498 (int)(mHeader->header.headerSize+(mHeader->stringCount*sizeof(uint32_t))), in setTo()
542 … ALOGW("Bad string block: stringCount is %d but pool size is 0\n", (int)mHeader->stringCount); in setTo()
549 for (i=0; i<mHeader->stringCount; i++) { in setTo()
574 mEntryStyles = mEntries + mHeader->stringCount; in setTo()
636 for (size_t x = 0; x < mHeader->stringCount; x++) { in uninit()
697 if (mError == NO_ERROR && idx < mHeader->stringCount) { in stringAt()
[all …]
/frameworks/base/tools/aapt/
DStringPool.cpp568 header->stringCount = htodl(ENTRIES); in writeStringBlock()
/frameworks/base/include/androidfw/
DResourceTypes.h434 uint32_t stringCount; member