Home
last modified time | relevance | path

Searched refs:StyleRef (Results 1 – 5 of 5) sorted by relevance

/aosp12/frameworks/base/tools/aapt2/
H A DStringPool.h103 class StyleRef {
105 StyleRef();
106 StyleRef(const StyleRef&);
107 ~StyleRef();
109 StyleRef& operator=(const StyleRef& rhs);
110 bool operator==(const StyleRef& rhs) const;
111 bool operator!=(const StyleRef& rhs) const;
121 explicit StyleRef(StyleEntry* entry);
154 friend class StyleRef; variable
179 StyleRef MakeRef(const StyleString& str);
[all …]
H A DStringPool.cpp91 StringPool::StyleRef::StyleRef() : entry_(nullptr) {} in StyleRef() function in aapt::StringPool::StyleRef
93 StringPool::StyleRef::StyleRef(const StringPool::StyleRef& rhs) in StyleRef() function in aapt::StringPool::StyleRef
100 StringPool::StyleRef::StyleRef(StringPool::StyleEntry* entry) : entry_(entry) { in StyleRef() function in aapt::StringPool::StyleRef
106 StringPool::StyleRef::~StyleRef() { in ~StyleRef()
112 StringPool::StyleRef& StringPool::StyleRef::operator=(const StringPool::StyleRef& rhs) { in operator =()
124 bool StringPool::StyleRef::operator==(const StyleRef& rhs) const { in operator ==()
144 bool StringPool::StyleRef::operator!=(const StyleRef& rhs) const { in operator !=()
156 size_t StringPool::StyleRef::index() const { in index()
219 return StyleRef(borrow); in MakeRef()
222 StringPool::StyleRef StringPool::MakeRef(const StyleRef& ref) { in MakeRef()
[all …]
H A DStringPool_test.cpp163 StringPool::StyleRef ref = pool.MakeRef(StyleString{{"android"}, {Span{{"b"}, 2, 6}}}); in TEST()
180 StringPool::StyleRef style_ref = pool.MakeRef(StyleString{{"android"}}); in TEST()
188 StringPool::StyleRef ref_a = pool.MakeRef(StyleString{{"beta"}}); in TEST()
190 StringPool::StyleRef ref_c = pool.MakeRef(StyleString{{"alpha"}}); in TEST()
250 StringPool::StyleRef ref_e = in TEST()
H A DResourceValues.h245 StringPool::StyleRef value;
252 explicit StyledString(const StringPool::StyleRef& ref);
H A DResourceValues.cpp275 StyledString::StyledString(const StringPool::StyleRef& ref) : value(ref) { in StyledString()