Searched refs:ResolvedBag (Results 1 – 6 of 6) sorted by relevance
/frameworks/base/libs/androidfw/include/androidfw/ |
D | AssetManager2.h | 47 struct ResolvedBag { struct 253 SelectedValue(const ResolvedBag* bag, const ResolvedBag::Entry& entry) in SelectedValue() 325 base::expected<const ResolvedBag*, NullOrIOError> GetBag(uint32_t resid) const; 334 base::expected<const ResolvedBag*, NullOrIOError> ResolveBag(SelectedValue& value) const; 451 base::expected<const ResolvedBag*, NullOrIOError> GetBag( 483 mutable std::unordered_map<uint32_t, util::unique_cptr<ResolvedBag>> cached_bags_; 617 inline const ResolvedBag::Entry* begin(const ResolvedBag* bag) { in begin() 621 inline const ResolvedBag::Entry* end(const ResolvedBag* bag) { in end()
|
/frameworks/base/libs/androidfw/ |
D | AttributeResolution.cpp | 54 : public BackTrackingAttributeFinder<BagAttributeFinder, const ResolvedBag::Entry*> { 56 explicit BagAttributeFinder(const ResolvedBag* bag) in BagAttributeFinder() 61 inline uint32_t GetAttribute(const ResolvedBag::Entry* entry) const { in GetAttribute() 66 base::expected<const ResolvedBag*, NullOrIOError> GetStyleBag(Theme* theme, in GetStyleBag() 90 base::expected<const ResolvedBag*, NullOrIOError> GetXmlStyleBag(Theme* theme, in GetXmlStyleBag() 159 const ResolvedBag::Entry* const entry = def_style_attr_finder.Find(cur_ident); in ResolveAttrs() 277 const ResolvedBag::Entry* entry = xml_style_attr_finder.Find(cur_ident); in ApplyStyle() 289 const ResolvedBag::Entry* entry = def_style_attr_finder.Find(cur_ident); in ApplyStyle()
|
D | AssetManager2.cpp | 1184 base::expected<const ResolvedBag*, NullOrIOError> AssetManager2::ResolveBag( in ResolveBag() 1197 base::expected<const ResolvedBag*, NullOrIOError> AssetManager2::GetBag(uint32_t resid) const { in GetBag() 1210 base::expected<const ResolvedBag*, NullOrIOError> AssetManager2::GetBag( in GetBag() 1242 util::unique_cptr<ResolvedBag> new_bag{reinterpret_cast<ResolvedBag*>( in GetBag() 1243 malloc(sizeof(ResolvedBag) + (entry_count * sizeof(ResolvedBag::Entry))))}; in GetBag() 1288 ResolvedBag* result = new_bag.get(); in GetBag() 1308 util::unique_cptr<ResolvedBag> new_bag{reinterpret_cast<ResolvedBag*>( in GetBag() 1309 malloc(sizeof(ResolvedBag) + (max_count * sizeof(ResolvedBag::Entry))))}; in GetBag() 1310 ResolvedBag::Entry* new_entry = new_bag->entries; in GetBag() 1312 const ResolvedBag::Entry* parent_entry = (*parent_bag)->entries; in GetBag() [all …]
|
/frameworks/base/tools/aapt2/process/ |
D | SymbolTable.cpp | 275 const ResolvedBag* bag = *bag_result; in LookupAttributeInTable() 286 const ResolvedBag::Entry& map_entry = bag->entries[i]; in LookupAttributeInTable()
|
/frameworks/base/cmds/idmap2/idmap2/ |
D | Lookup.cpp | 130 const android::ResolvedBag* bag = bag_result.value(); in GetValue()
|
/frameworks/base/core/jni/ |
D | android_util_AssetManager.cpp | 717 using reverse_bag_iterator = std::reverse_iterator<const ResolvedBag::Entry*>; in NativeGetResourceBagValue() 744 const ResolvedBag* bag = *bag_result; in NativeGetStyleAttributes() 766 const ResolvedBag* bag = *bag_result; in NativeGetResourceStringArray() 825 const ResolvedBag* bag = *bag_result; in NativeGetResourceStringArrayInfo() 864 const ResolvedBag* bag = *bag_result; in NativeGetResourceIntArray() 915 const ResolvedBag* bag = *bag_result; in NativeGetResourceArray()
|