Home
last modified time | relevance | path

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

/frameworks/opt/colorpicker/src/com/android/colorpicker/
DColorPickerDialog.java51 protected int mSelectedColor; field in ColorPickerDialog
100 mSelectedColor = (Integer) savedInstanceState.getSerializable(KEY_SELECTED_COLOR); in onCreate()
139 if (color != mSelectedColor) { in onColorSelected()
140 mSelectedColor = color; in onColorSelected()
142 mPalette.drawPalette(mColors, mSelectedColor); in onColorSelected()
164 if (mColors != colors || mSelectedColor != selectedColor) { in setColors()
166 mSelectedColor = selectedColor; in setColors()
179 if (mSelectedColor != color) { in setSelectedColor()
180 mSelectedColor = color; in setSelectedColor()
194 mPalette.drawPalette(mColors, mSelectedColor, mColorContentDescriptions); in refreshPalette()
[all …]
/frameworks/opt/datetimepicker/src/com/android/datetimepicker/time/
DAmPmCirclesView.java47 private int mSelectedColor; field in AmPmCirclesView
78 mSelectedColor = res.getColor(R.color.blue); in initialize()
105 mSelectedColor = res.getColor(R.color.red); in setTheme()
110 mSelectedColor = res.getColor(R.color.blue); in setTheme()
183 amColor = mSelectedColor; in onDraw()
186 pmColor = mSelectedColor; in onDraw()
190 amColor = mSelectedColor; in onDraw()
193 pmColor = mSelectedColor; in onDraw()
DTimePickerDialog.java86 private int mSelectedColor; field in TimePickerDialog
203 mSelectedColor = res.getColor(mThemeDark? R.color.red : R.color.blue); in onCreateView()
472 int hourColor = (index == HOUR_INDEX)? mSelectedColor : mUnselectedColor;
473 int minuteColor = (index == MINUTE_INDEX)? mSelectedColor : mUnselectedColor;
/frameworks/support/samples/SupportLeanbackShowcase/app/src/main/java/android/support/v17/leanback/supportleanbackshowcase/models/
DCard.java37 @SerializedName("selectedColor") private String mSelectedColor = null; field in Card
79 if (mSelectedColor == null) return -1; in getSelectedColor()
80 return Color.parseColor(mSelectedColor); in getSelectedColor()