Searched defs:styleCount (Results 1 - 3 of 3) sorted by relevance

/frameworks/base/tools/aapt2/
H A DStringPool.cpp247 void StringPool::HintWillAdd(size_t stringCount, size_t styleCount) { argument
249 styles_.reserve(styles_.size() + styleCount);
346 header->styleCount = pool.styles_.back()->str.index() + 1;
347 style_indices = out->NextBlock<uint32_t>(header->styleCount);
/frameworks/base/libs/androidfw/include/androidfw/
H A DResourceTypes.h428 * If styleCount is not zero, then immediately following the array of
443 uint32_t styleCount; member in struct:android::ResStringPool_header
519 size_t styleCount() const;
/frameworks/base/libs/androidfw/
H A DResourceTypes.cpp479 h->styleCount = dtohl(mHeader->styleCount);
523 if (mHeader->styleCount == 0) {
575 if (mHeader->styleCount > 0) {
602 for (i=0; i<mHeader->styleCount; i++) {
852 if (mError == NO_ERROR && idx < mHeader->styleCount) {
998 size_t ResStringPool::styleCount() const function in class:android::ResStringPool
1000 return (mError == NO_ERROR) ? mHeader->styleCount : 0;

Completed in 115 milliseconds