Searched refs:ParseStyleParentReference (Results 1 – 4 of 4) sorted by relevance
/frameworks/base/tools/aapt2/ |
D | ResourceUtils_test.cpp | 153 TEST(ResourceUtilsTest, ParseStyleParentReference) { in TEST() argument 159 ResourceUtils::ParseStyleParentReference("@android:style/foo", &err_str); in TEST() 163 ref = ResourceUtils::ParseStyleParentReference("@style/foo", &err_str); in TEST() 167 ref = ResourceUtils::ParseStyleParentReference("?android:style/foo", &err_str); in TEST() 171 ref = ResourceUtils::ParseStyleParentReference("?style/foo", &err_str); in TEST() 175 ref = ResourceUtils::ParseStyleParentReference("android:style/foo", &err_str); in TEST() 179 ref = ResourceUtils::ParseStyleParentReference("android:foo", &err_str); in TEST() 183 ref = ResourceUtils::ParseStyleParentReference("@android:foo", &err_str); in TEST() 187 ref = ResourceUtils::ParseStyleParentReference("foo", &err_str); in TEST() 191 ref = ResourceUtils::ParseStyleParentReference("*android:style/foo", &err_str); in TEST()
|
D | ResourceUtils.h | 117 std::optional<Reference> ParseStyleParentReference(const android::StringPiece& str,
|
D | ResourceUtils.cpp | 252 std::optional<Reference> ParseStyleParentReference(const StringPiece& str, std::string* out_error) { in ParseStyleParentReference() function
|
D | ResourceParser.cpp | 1533 style->parent = ResourceUtils::ParseStyleParentReference(maybe_parent.value(), &err_str); in ParseStyle()
|