Home
last modified time | relevance | path

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

/development/samples/browseable/WatchFace/Wearable/src/com.example.android.wearable.watchface/
DDigitalWatchFaceUtil.java70 parseColor(COLOR_NAME_DEFAULT_AND_AMBIENT_BACKGROUND);
78 parseColor(COLOR_NAME_DEFAULT_AND_AMBIENT_HOUR_DIGITS);
86 parseColor(COLOR_NAME_DEFAULT_AND_AMBIENT_MINUTE_DIGITS);
94 parseColor(COLOR_NAME_DEFAULT_AND_AMBIENT_SECOND_DIGITS);
108 private static int parseColor(String colorName) { in parseColor() method in DigitalWatchFaceUtil
109 return Color.parseColor(colorName.toLowerCase()); in parseColor()
DDigitalWatchFaceWearableConfigActivity.java282 mColor.setCircleColor(Color.parseColor(colorName)); in setColor()
/development/samples/browseable/WatchFace/Application/src/com.example.android.wearable.watchface/
DDigitalWatchFaceCompanionConfigActivity.java173 int defaultColor = Color.parseColor(defaultColorName); in setUpColorPickerSelection()
183 if (Color.parseColor(colorNames[i]) == color) { in setUpColorPickerSelection()
196 sendConfigUpdateMessage(configKey, Color.parseColor(colorName)); in setUpColorPickerListener()