Home | History | Annotate | Download | only in androidfw

Lines Matching defs:ResTable

68 #define IDMAP_HEADER_SIZE (ResTable::IDMAP_HEADER_SIZE_BYTES / sizeof(uint32_t))
223 if (sizeBytes < ResTable::IDMAP_HEADER_SIZE_BYTES) {
243 const size_t size = (sizeBytes - ResTable::IDMAP_HEADER_SIZE_BYTES) / sizeof(uint32_t);
2307 struct ResTable::Header
2309 Header(ResTable* _owner) : owner(_owner), ownedData(NULL), header(NULL),
2317 ResTable* const owner;
2330 struct ResTable::Type
2343 struct ResTable::Package
2345 Package(ResTable* _owner, const Header* _header, const ResTable_package* _package)
2356 ResTable* const owner;
2372 struct ResTable::PackageGroup
2374 PackageGroup(ResTable* _owner, const String16& _name, uint32_t _id)
2414 ResTable* const owner;
2430 struct ResTable::bag_set
2438 ResTable::Theme::Theme(const ResTable& table)
2444 ResTable::Theme::~Theme()
2454 void ResTable::Theme::free_package(package_info* pi)
2465 ResTable::Theme::package_info* ResTable::Theme::copy_package(package_info* pi)
2485 status_t ResTable::Theme::applyStyle(uint32_t resID, bool force)
2577 status_t ResTable::Theme::setTo(const Theme& other)
2616 ssize_t ResTable::Theme::getAttribute(uint32_t resID, Res_value* outValue,
2670 ssize_t ResTable::Theme::resolveAttributeReference(Res_value* inOutValue,
2690 void ResTable::Theme::dumpToLog() const
2714 ResTable::ResTable()
2719 //ALOGI("Creating ResTable %p\n", this);
2722 ResTable::ResTable(const void* data, size_t size, void* cookie, bool copyData)
2729 //ALOGI("Creating ResTable %p\n", this);
2732 ResTable::~ResTable()
2734 //ALOGI("Destroying ResTable in %p\n", this);
2738 inline ssize_t ResTable::getResourcePackageIndex(uint32_t resID) const
2743 status_t ResTable::add(const void* data, size_t size, void* cookie, bool copyData,
2749 status_t ResTable::add(Asset* asset, void* cookie, bool copyData, const void* idmap)
2760 status_t ResTable::add(ResTable* src)
2784 status_t ResTable::add(const void* data, size_t size, void* cookie,
2807 ALOGV("Adding resources to ResTable: data=%p, size=0x%x, cookie=%p, asset=%p, copy=%d "
2823 LOAD_TABLE_NOISY(ALOGV("Loading ResTable @%p:\n", header->header));
2849 status_t err = validate_chunk(chunk, sizeof(ResChunk_header), header->dataEnd, "ResTable");
2911 status_t ResTable::getError() const
2916 void ResTable::uninit()
2939 bool ResTable::getResourceName(uint32_t resID, resource_name* outName) const
2994 ssize_t ResTable::getResource(uint32_t resID, Res_value* outValue, bool mayBeBag, uint16_t density,
3163 ssize_t ResTable::resolveReference(Res_value* value, ssize_t blockIndex,
3194 const char16_t* ResTable::valueToString(
3208 ssize_t ResTable::lockBag(uint32_t resID, const bag_entry** outBag) const
3219 void ResTable::unlockBag(const bag_entry* bag) const
3225 void ResTable::lock() const
3230 void ResTable::unlock() const
3235 ssize_t ResTable::getBagLocked(uint32_t resID, const bag_entry** outBag,
3522 void ResTable::setParameters(const ResTable_config* params)
3534 void ResTable::getParameters(ResTable_config* params) const
3560 uint32_t ResTable::identifierForName(const char16_t* name, size_t nameLen,
3751 bool ResTable::expandResourceRef(const uint16_t* refStr, size_t refLen,
3900 bool ResTable::stringToInt(const char16_t* s, size_t len, Res_value* outValue)
3964 bool ResTable::stringToFloat(const char16_t* s, size_t len, Res_value* outValue)
4059 bool ResTable::stringToValue(Res_value* outValue, String16* outString,
4595 bool ResTable::collectString(String16* outString,
4737 size_t ResTable::getBasePackageCount() const
4745 const char16_t* ResTable::getBasePackageName(size_t idx) const
4756 uint32_t ResTable::getBasePackageId(size_t idx) const
4767 size_t ResTable::getTableCount() const
4772 const ResStringPool* ResTable::getTableStringBlock(size_t index) const
4777 void* ResTable::getTableCookie(size_t index) const
4782 void ResTable::getConfigurations(Vector<ResTable_config>* configs) const
4816 void ResTable::getLocales(Vector<String8>* locales) const
4839 ssize_t ResTable::getEntry(
4951 status_t ResTable::parsePackage(const ResTable_package* const pkg,
5181 status_t ResTable::createIdmap(const ResTable& overlay, uint32_t originalCrc, uint32_t overlayCrc,
5309 bool ResTable::getIdmapInfo(const void* idmap, size_t sizeBytes,
5363 String8 ResTable::normalizeForOutput( const char *input )
5394 void ResTable::print_value(const Package* pkg, const Res_value& value) const
5443 void ResTable::print(bool inclValues) const