Home
last modified time | relevance | path

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

/frameworks/base/tools/aapt2/
DStringPool.h99 class StyleRef {
101 StyleRef();
102 StyleRef(const StyleRef&);
103 ~StyleRef();
105 StyleRef& operator=(const StyleRef& rhs);
106 bool operator==(const StyleRef& rhs) const;
107 bool operator!=(const StyleRef& rhs) const;
117 explicit StyleRef(StyleEntry* entry);
150 friend class StyleRef; variable
175 StyleRef MakeRef(const StyleString& str);
[all …]
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 !=()
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 …]
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()
DResourceValues.h241 StringPool::StyleRef value;
248 explicit StyledString(const StringPool::StyleRef& ref);
DResourceValues.cpp287 StyledString::StyledString(const StringPool::StyleRef& ref) : value(ref) { in StyledString()