Lines Matching defs:suggestion
29 * The callback used to indicate the user has clicked on a suggestion.
34 * Called upon a click on a suggestion.
36 * @param suggestion The suggestion that was clicked.
38 void onColorSuggestionClick(ColorSuggestion suggestion);
49 * Sets the listener that will be notified upon a click on a suggestion.
56 * Sets up the color button to represent a color suggestion.
59 * @param index The index of the suggestion in mSuggestions.
70 ColorSuggestion suggestion = mSuggestions[index];
74 swatch.setColor(suggestion.mColor);
75 String description = suggestion.mLabel;
77 description = String.format("#%06X", (0xFFFFFF & suggestion.mColor));
88 ColorSuggestion suggestion = (ColorSuggestion) v.getTag();
89 if (suggestion == null) {
92 mListener.onColorSuggestionClick(suggestion);