Searched refs:selectedColor (Results 1 - 2 of 2) sorted by relevance

/frameworks/opt/colorpicker/src/com/android/colorpicker/
H A DColorPickerDialog.java62 public static ColorPickerDialog newInstance(int titleResId, int[] colors, int selectedColor, argument
65 ret.initialize(titleResId, colors, selectedColor, columns, size);
69 public void initialize(int titleResId, int[] colors, int selectedColor, int columns, int size) { argument
71 setColors(colors, selectedColor);
159 public void setColors(int[] colors, int selectedColor) { argument
160 if (mColors != colors || mSelectedColor != selectedColor) {
162 mSelectedColor = selectedColor;
H A DColorPickerPalette.java84 public void drawPalette(int[] colors, int selectedColor) { argument
99 View colorSwatch = createColorSwatch(color, selectedColor);
100 setSwatchDescription(rowNumber, tableElements, rowElements, color == selectedColor,
176 private ColorPickerSwatch createColorSwatch(int color, int selectedColor) { argument
178 color == selectedColor, mOnColorSelectedListener);

Completed in 35 milliseconds