Searched defs:colors (Results 1 - 5 of 5) sorted by relevance

/packages/apps/Calendar/src/com/android/calendar/event/
H A DEventColorPickerDialog.java27 * A dialog which displays event colors, with an additional button for the calendar color.
40 public static EventColorPickerDialog newInstance(int[] colors, int selectedColor, argument
43 ret.initialize(R.string.event_color_picker_dialog_title, colors, selectedColor, NUM_COLUMNS,
/packages/apps/Calendar/src/com/android/calendar/
H A DCalendarColorPickerDialog.java119 ArrayList<Integer> colors = new ArrayList<Integer>();
126 colors.add(displayColor);
128 Integer[] colorsToSort = colors.toArray(new Integer[colors.size()]);
207 public void setColors(int[] colors) { argument
208 throw new IllegalStateException("Must call setCalendarId() to update calendar colors");
212 public void setColors(int[] colors, int selectedColor) { argument
213 throw new IllegalStateException("Must call setCalendarId() to update calendar colors");
/packages/apps/Camera2/src/com/android/camera/processing/imagebackend/
H A DTaskConvertImageToRGBPreview.java281 int[] colors = new int[len];
327 colors[offsetColor] = OUT_OF_BOUNDS_COLOR;
328 colors[offsetColor + 1] = OUT_OF_BOUNDS_COLOR;
329 colors[offsetColor + outputPixelStride] = OUT_OF_BOUNDS_COLOR;
330 colors[offsetColor + outputPixelStride + 1] = OUT_OF_BOUNDS_COLOR;
344 colors[offsetColor] = OUT_OF_BOUNDS_COLOR;
376 colors[offsetColor] = (red00 & 255) << 16 | (green00 & 255) << 8
381 colors[offsetColor + 1] = OUT_OF_BOUNDS_COLOR;
410 colors[offsetColor + 1] = (red01 & 255) << 16 | (green01 & 255) << 8
415 colors[offsetColo
902 onPreviewDone(TaskImage resultImage, TaskImage inputImage, int[] colors, TaskInfo.Destination destination) argument
[all...]
/packages/apps/Launcher3/src/com/android/launcher3/
H A DBubbleTextView.java441 public void setTextColor(ColorStateList colors) { argument
442 mTextColor = colors.getDefaultColor();
443 super.setTextColor(colors);
/packages/apps/Settings/src/com/android/settings/fuelgauge/
H A DBatteryHistoryChart.java67 void setColors(int[] colors) { argument
68 mColors = colors;
69 mPaints = new Paint[colors.length];
70 for (int i=0; i<colors.length; i++) {
72 mPaints[i].setColor(colors[i]);

Completed in 107 milliseconds