Searched refs:ResolvedBag (Results 1 – 6 of 6) sorted by relevance
/frameworks/base/libs/androidfw/include/androidfw/ |
D | AssetManager2.h | 47 struct ResolvedBag { struct 246 SelectedValue(const ResolvedBag* bag, const ResolvedBag::Entry& entry) : in SelectedValue() 313 base::expected<const ResolvedBag*, NullOrIOError> GetBag(uint32_t resid) const; 322 base::expected<const ResolvedBag*, NullOrIOError> ResolveBag(SelectedValue& value) const; 438 base::expected<const ResolvedBag*, NullOrIOError> GetBag( 468 mutable std::unordered_map<uint32_t, util::unique_cptr<ResolvedBag>> cached_bags_; 602 inline const ResolvedBag::Entry* begin(const ResolvedBag* bag) { in begin() 606 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 | 1109 base::expected<const ResolvedBag*, NullOrIOError> AssetManager2::ResolveBag( in ResolveBag() 1122 base::expected<const ResolvedBag*, NullOrIOError> AssetManager2::GetBag(uint32_t resid) const { in GetBag() 1129 base::expected<const ResolvedBag*, NullOrIOError> AssetManager2::GetBag( in GetBag() 1161 util::unique_cptr<ResolvedBag> new_bag{reinterpret_cast<ResolvedBag*>( in GetBag() 1162 malloc(sizeof(ResolvedBag) + (entry_count * sizeof(ResolvedBag::Entry))))}; in GetBag() 1207 ResolvedBag* result = new_bag.get(); in GetBag() 1227 util::unique_cptr<ResolvedBag> new_bag{reinterpret_cast<ResolvedBag*>( in GetBag() 1228 malloc(sizeof(ResolvedBag) + (max_count * sizeof(ResolvedBag::Entry))))}; in GetBag() 1229 ResolvedBag::Entry* new_entry = new_bag->entries; in GetBag() 1231 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 | 691 using reverse_bag_iterator = std::reverse_iterator<const ResolvedBag::Entry*>; in NativeGetResourceBagValue() 718 const ResolvedBag* bag = *bag_result; in NativeGetStyleAttributes() 740 const ResolvedBag* bag = *bag_result; in NativeGetResourceStringArray() 799 const ResolvedBag* bag = *bag_result; in NativeGetResourceStringArrayInfo() 838 const ResolvedBag* bag = *bag_result; in NativeGetResourceIntArray() 889 const ResolvedBag* bag = *bag_result; in NativeGetResourceArray()
|