Home
last modified time | relevance | path

Searched refs:TryParseColor (Results 1 – 4 of 4) sorted by relevance

/frameworks/base/tools/aapt2/link/
DReferenceLinker_test.cpp81 ResourceUtils::TryParseColor("#ff00ff")) in TEST()
160 ResourceUtils::TryParseColor("#ff0000")) in TEST()
234 ResourceUtils::TryParseColor("#ff00ff")) in TEST()
/frameworks/base/tools/aapt2/
DResourceValues_test.cpp221 EXPECT_FALSE(attr1.Matches(*ResourceUtils::TryParseColor("#7fff00"))); in TEST()
229 EXPECT_FALSE(attr2.Matches(*ResourceUtils::TryParseColor("#7fff00"))); in TEST()
244 EXPECT_FALSE(attr3.Matches(*ResourceUtils::TryParseColor("#7fff00"))); in TEST()
DResourceUtils.h151 std::unique_ptr<BinaryPrimitive> TryParseColor(const android::StringPiece& str);
DResourceUtils.cpp393 std::unique_ptr<BinaryPrimitive> TryParseColor(const StringPiece& str) { in TryParseColor() function
594 auto color = TryParseColor(value); in TryParseItemForAttribute()