Searched refs:FindColor (Results 1 – 3 of 3) sorted by relevance
/external/skia/src/utils/ |
D | SkParseColor.cpp | 456 const char* SkParse::FindColor(const char* value, SkColor* colorPtr) { in FindColor() function in SkParse 506 SkASSERT(FindColor(nameRGB.name, &result) != NULL); in TestColor() 516 SkASSERT(FindColor(bad, &result) == NULL); in TestColor() 518 SkASSERT(FindColor(bad, &result) == NULL); in TestColor() 521 SkASSERT(FindColor("lightGrey", &result)); in TestColor() 526 SkASSERT(FindColor("#ABCdef", &result)); in TestColor() 528 SkASSERT(FindColor("#12ABCdef", &result)); in TestColor() 531 SkASSERT(FindColor("#123", &result)); in TestColor() 533 SkASSERT(FindColor("#abcd", &result)); in TestColor()
|
/external/skia/src/views/ |
D | SkParsePaint.cpp | 28 SkParse::FindColor(str, &colors[0]) && in inflate_shader() 30 SkParse::FindColor(str, &colors[1]) && in inflate_shader() 91 if (SkParse::FindColor(str, &c)) in SkPaint_Inflate()
|
/external/skia/include/utils/ |
D | SkParse.h | 19 static const char* FindColor(const char str[], SkColor* value);
|