Searched refs:mColors (Results 1 - 5 of 5) sorted by relevance

/packages/apps/Launcher3/src/com/android/launcher3/dynamicui/
H A DExtractedColors.java54 private int[] mColors; field in class:ExtractedColors
58 mColors = new int[NUM_COLOR_PROFILES + 1];
59 mColors[VERSION_INDEX] = VERSION;
63 if (index > VERSION_INDEX && index < mColors.length) {
64 mColors[index] = color;
71 * Encodes {@link #mColors} as a comma-separated String.
75 for (int color : mColors) {
82 * Decodes a comma-separated String into {@link #mColors}.
86 mColors = new int[splitColorsString.length];
87 for (int i = 0; i < mColors
[all...]
/packages/apps/Calendar/src/com/android/calendar/
H A DCalendarColorPickerDialog.java130 mColors = new int[colorsToSort.length];
131 for (int i = 0; i < mColors.length; i++) {
132 mColors[i] = colorsToSort[i];
177 if (mColors == null) {
180 int[] colorKeys = new int[mColors.length];
181 for (int i = 0; i < mColors.length; i++) {
182 colorKeys[i] = mColorKeyMap.get(mColors[i]);
199 if (mColors != null && colorKeys != null) {
200 for (int i = 0; i < mColors.length; i++) {
201 mColorKeyMap.put(mColors[
[all...]
H A DEventInfoFragment.java367 private int[] mColors; field in class:EventInfoFragment
549 mColors = new int[sortedColors.length];
551 mColors[i] = sortedColors[i].intValue();
554 Color.colorToHSV(mColors[i], hsv);
561 if (button != null && mColors.length > 0) {
1257 mColorPickerDialog = EventColorPickerDialog.newInstance(mColors, mCurrentColor,
1842 if (changeColor != null && mColors != null && mColors.length > 0) {
/packages/apps/Gallery2/src/com/android/gallery3d/filtershow/colorpicker/
H A DColorRectView.java53 private int[] mColors = new int[] { field in class:ColorRectView
137 int[] wheelColor = new int[mColors.length];
140 Color.colorToHSV(mColors[i], hsv);
/packages/apps/Settings/src/com/android/settings/fuelgauge/
H A DBatteryHistoryChart.java59 int[] mColors; field in class:BatteryHistoryChart.ChartData
67 mColors = colors;

Completed in 361 milliseconds