Home
last modified time | relevance | path

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

/frameworks/base/graphics/java/android/graphics/
DColor.java208 public static int parseColor(String colorString) { in parseColor() argument
209 if (colorString.charAt(0) == '#') { in parseColor()
211 long color = Long.parseLong(colorString.substring(1), 16); in parseColor()
212 if (colorString.length() == 7) { in parseColor()
215 } else if (colorString.length() != 9) { in parseColor()
220 Integer color = sColorNameMap.get(colorString.toLowerCase(Locale.ROOT)); in parseColor()