Searched refs:StyleRef (Results 1 – 5 of 5) sorted by relevance
103 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; variable179 StyleRef MakeRef(const StyleString& str);[all …]
91 StringPool::StyleRef::StyleRef() : entry_(nullptr) {} in StyleRef() function in aapt::StringPool::StyleRef93 StringPool::StyleRef::StyleRef(const StringPool::StyleRef& rhs) in StyleRef() function in aapt::StringPool::StyleRef100 StringPool::StyleRef::StyleRef(StringPool::StyleEntry* entry) : entry_(entry) { in StyleRef() function in aapt::StringPool::StyleRef106 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 …]
163 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()
245 StringPool::StyleRef value;252 explicit StyledString(const StringPool::StyleRef& ref);
275 StyledString::StyledString(const StringPool::StyleRef& ref) : value(ref) { in StyledString()