Searched refs:ResolvedBag (Results 1 – 7 of 7) sorted by relevance
44 struct ResolvedBag { struct255 const ResolvedBag* GetBag(uint32_t resid);308 const ResolvedBag* GetBag(uint32_t resid, std::vector<uint32_t>& child_resids);365 std::unordered_map<uint32_t, util::unique_cptr<ResolvedBag>> cached_bags_;486 inline const ResolvedBag::Entry* begin(const ResolvedBag* bag) { in begin()490 inline const ResolvedBag::Entry* end(const ResolvedBag* bag) { in end()
52 : public BackTrackingAttributeFinder<BagAttributeFinder, const ResolvedBag::Entry*> {54 explicit BagAttributeFinder(const ResolvedBag* bag) in BagAttributeFinder()59 inline uint32_t GetAttribute(const ResolvedBag::Entry* entry) const { in GetAttribute()90 const ResolvedBag* default_style_bag = nullptr; in ResolveAttrs()128 const ResolvedBag::Entry* const entry = def_style_attr_finder.Find(cur_ident); in ResolveAttrs()250 const ResolvedBag* default_style_bag = nullptr; in ApplyStyle()261 const ResolvedBag* xml_style_bag = nullptr; in ApplyStyle()308 const ResolvedBag::Entry* entry = xml_style_attr_finder.Find(cur_ident); in ApplyStyle()324 const ResolvedBag::Entry* entry = def_style_attr_finder.Find(cur_ident); in ApplyStyle()
768 const ResolvedBag* AssetManager2::GetBag(uint32_t resid) { in GetBag()780 const ResolvedBag* AssetManager2::GetBag(uint32_t resid, std::vector<uint32_t>& child_resids) { in GetBag()819 util::unique_cptr<ResolvedBag> new_bag{reinterpret_cast<ResolvedBag*>( in GetBag()820 malloc(sizeof(ResolvedBag) + (entry_count * sizeof(ResolvedBag::Entry))))}; in GetBag()821 ResolvedBag::Entry* new_entry = new_bag->entries; in GetBag()850 ResolvedBag* result = new_bag.get(); in GetBag()859 const ResolvedBag* parent_bag = GetBag(parent_resid, child_resids); in GetBag()870 util::unique_cptr<ResolvedBag> new_bag{reinterpret_cast<ResolvedBag*>( in GetBag()871 malloc(sizeof(ResolvedBag) + (max_count * sizeof(ResolvedBag::Entry))))}; in GetBag()872 ResolvedBag::Entry* new_entry = new_bag->entries; in GetBag()[all …]
770 const ResolvedBag* bag = assetmanager->GetBag(static_cast<uint32_t>(resid)); in NativeGetResourceBagValue()778 for (const ResolvedBag::Entry& entry : bag) { in NativeGetResourceBagValue()803 const ResolvedBag* bag = assetmanager->GetBag(static_cast<uint32_t>(resid)); in NativeGetStyleAttributes()823 const ResolvedBag* bag = assetmanager->GetBag(static_cast<uint32_t>(resid)); in NativeGetResourceStringArray()834 const ResolvedBag::Entry& entry = bag->entries[i]; in NativeGetResourceStringArray()879 const ResolvedBag* bag = assetmanager->GetBag(static_cast<uint32_t>(resid)); in NativeGetResourceStringArrayInfo()895 const ResolvedBag::Entry& entry = bag->entries[i]; in NativeGetResourceStringArrayInfo()921 const ResolvedBag* bag = assetmanager->GetBag(static_cast<uint32_t>(resid)); in NativeGetResourceIntArray()937 const ResolvedBag::Entry& entry = bag->entries[i]; in NativeGetResourceIntArray()959 const ResolvedBag* bag = assetmanager->GetBag(static_cast<uint32_t>(resid)); in NativeGetResourceArraySize()[all …]
231 const ResolvedBag* bag = assetmanager.GetBag(basic::R::array::integerArray1); in TEST_F()258 const ResolvedBag* bag = assetmanager.GetBag(fix_package_id(lib_one::R::style::Theme, 0x03)); in TEST_F()277 const ResolvedBag* bag = assetmanager.GetBag(libclient::R::style::Theme); in TEST_F()292 const ResolvedBag* bag_one = assetmanager.GetBag(app::R::style::StyleOne); in TEST_F()306 const ResolvedBag* bag_two = assetmanager.GetBag(app::R::style::StyleTwo); in TEST_F()358 const ResolvedBag* bag_one = assetmanager.GetBag(app::R::style::StyleFour); in TEST_F()
142 const ResolvedBag* bag = assets.GetBag(app::R::style::StyleTwo); in BM_AssetManagerGetBag()
271 const android::ResolvedBag* bag = am.GetBag(id.id); in LookupAttributeInTable()289 const android::ResolvedBag::Entry& map_entry = bag->entries[i]; in LookupAttributeInTable()