Home
last modified time | relevance | path

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

/frameworks/opt/colorpicker/src/com/android/colorpicker/
DColorPickerPalette.java84 public void drawPalette(int[] colors, int selectedColor) { in drawPalette() argument
85 drawPalette(colors, selectedColor, null); in drawPalette()
91 public void drawPalette(int[] colors, int selectedColor, String[] colorContentDescriptions) { in drawPalette() argument
104 View colorSwatch = createColorSwatch(color, selectedColor); in drawPalette()
105 setSwatchDescription(rowNumber, tableElements, rowElements, color == selectedColor, in drawPalette()
186 private ColorPickerSwatch createColorSwatch(int color, int selectedColor) { in createColorSwatch() argument
188 color == selectedColor, mOnColorSelectedListener); in createColorSwatch()
DColorPickerDialog.java64 public static ColorPickerDialog newInstance(int titleResId, int[] colors, int selectedColor, in newInstance() argument
67 ret.initialize(titleResId, colors, selectedColor, columns, size); in newInstance()
71 public void initialize(int titleResId, int[] colors, int selectedColor, int columns, int size) { in initialize() argument
73 setColors(colors, selectedColor); in initialize()
163 public void setColors(int[] colors, int selectedColor) { in setColors() argument
164 if (mColors != colors || mSelectedColor != selectedColor) { in setColors()
166 mSelectedColor = selectedColor; in setColors()
/frameworks/base/packages/SystemUI/src/com/android/systemui/volume/
DVolumeDialogImpl.java999 final int selectedColor = Utils.getColorAttrDefaultColor( in setupRingerDrawer() local
1008 currentValue, selectedColor, unselectedColor); in setupRingerDrawer()
1010 currentValue, unselectedColor, selectedColor); in setupRingerDrawer()