Home
last modified time | relevance | path

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

/frameworks/base/libs/androidfw/include/androidfw/
DStringPool.h104 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; variable
180 StyleRef MakeRef(const StyleString& str);
[all …]
/frameworks/base/libs/androidfw/
DStringPool.cpp91 StringPool::StyleRef::StyleRef() : entry_(nullptr) { in StyleRef() function in android::StringPool::StyleRef
94 StringPool::StyleRef::StyleRef(const StringPool::StyleRef& rhs) : entry_(rhs.entry_) { in StyleRef() function in android::StringPool::StyleRef
100 StringPool::StyleRef::StyleRef(StringPool::StyleEntry* entry) : entry_(entry) { in StyleRef() function in android::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 …]
/frameworks/base/libs/androidfw/tests/
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()
/frameworks/base/tools/aapt2/
DResourceValues.h243 android::StringPool::StyleRef value;
250 explicit StyledString(const android::StringPool::StyleRef& ref);
DResourceValues.cpp276 StyledString::StyledString(const android::StringPool::StyleRef& ref) : value(ref) { in StyledString()