Searched refs:StyleRef (Results 1 – 5 of 5) sorted by relevance
104 class StyleRef {106 StyleRef();107 StyleRef(const StyleRef&);108 ~StyleRef();110 StyleRef& operator=(const StyleRef& rhs);111 bool operator==(const StyleRef& rhs) const;112 bool operator!=(const StyleRef& rhs) const;122 explicit StyleRef(StyleEntry* entry);155 friend class StyleRef; variable180 StyleRef MakeRef(const StyleString& str);[all …]
91 StringPool::StyleRef::StyleRef() : entry_(nullptr) { in StyleRef() function in android::StringPool::StyleRef94 StringPool::StyleRef::StyleRef(const StringPool::StyleRef& rhs) : entry_(rhs.entry_) { in StyleRef() function in android::StringPool::StyleRef100 StringPool::StyleRef::StyleRef(StringPool::StyleEntry* entry) : entry_(entry) { in StyleRef() function in android::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 !=()148 const StringPool::StyleEntry* StringPool::StyleRef::operator->() const { in operator ->()152 const StringPool::StyleEntry& StringPool::StyleRef::operator*() const { in operator *()156 size_t StringPool::StyleRef::index() const { in index()[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()
243 android::StringPool::StyleRef value;250 explicit StyledString(const android::StringPool::StyleRef& ref);
276 StyledString::StyledString(const android::StringPool::StyleRef& ref) : value(ref) { in StyledString()