/packages/apps/Settings/src/com/android/settings/applications/ |
H A D | LinearColorPreference.java | 67 LinearColorBar colors = (LinearColorBar)view.findViewById( 69 colors.setShowIndicator(false); 70 colors.setColors(mRedColor, mYellowColor, mGreenColor); 71 colors.setRatios(mRedRatio, mYellowRatio, mGreenRatio); 72 colors.setColoredRegions(mColoredRegions); 73 colors.setOnRegionTappedListener(mOnRegionTappedListener);
|
H A D | ProcessStatsUi.java | 455 LinearColorPreference colors = new LinearColorPreference(getActivity()); 456 colors.setOrder(-1); 473 colors.setColoredRegions(LinearColorBar.REGION_RED); 482 colors.setColors(badnessColor, badnessColor, badnessColor); 576 colors.setRatios(usedRatio, 0, 1-usedRatio); 579 colors.setOnRegionTappedListener(this); 582 colors.setColoredRegions(LinearColorBar.REGION_RED); 587 colors.setColoredRegions(LinearColorBar.REGION_RED 595 colors.setColoredRegions(LinearColorBar.REGION_ALL); 600 colors [all...] |
/packages/apps/Calendar/src/com/android/calendar/event/ |
H A D | EventColorCache.java | 27 * A cache for event colors and event color keys stored based upon calendar account name and type. 59 * Retrieve an array of colors for a specific account name and type. 62 ArrayList<Integer> colors = mColorPaletteMap.get(createKey(accountName, accountType)); 63 if (colors == null) { 66 int[] ret = new int[colors.size()]; 68 ret[i] = colors.get(i); 81 * Sorts the arrays of colors based on a comparator.
|
H A D | EventColorPickerDialog.java | 27 * 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,
|
H A D | EditEventFragment.java | 373 // If the account name/type is null, the calendar event colors cannot be 395 int[] colors = mModel.getCalendarEventColors(); 397 mColorPickerDialog = EventColorPickerDialog.newInstance(colors, 402 mColorPickerDialog.setColors(colors, mModel.getEventColor()); 530 // Start a query in the background to read the list of calendars and colors
|
/packages/apps/Calendar/src/com/android/calendar/ |
H A D | CalendarColorPickerDialog.java | 119 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");
|
H A D | EventInfoFragment.java | 535 ArrayList<Integer> colors = new ArrayList<Integer>(); 543 colors.add(displayColor); 547 Integer[] sortedColors = new Integer[colors.size()]; 548 Arrays.sort(colors.toArray(sortedColors), new HsvColorComparator());
|
/packages/apps/Gallery2/src/com/android/gallery3d/filtershow/colorpicker/ |
H A D | ColorBrightnessView.java | 85 int[] colors = new int[16 * 16]; 86 for (int i = 0; i < colors.length; i++) { 89 colors[i] = (x == y) ? 0xFFAAAAAA : 0xFF444444; 91 Bitmap bitmap = Bitmap.createBitmap(colors, 16, 16, Bitmap.Config.ARGB_8888);
|
H A D | ColorCompareView.java | 76 int[] colors = new int[imgdim * imgdim]; 77 for (int i = 0; i < colors.length; i++) { 80 colors[i] = (x == y) ? 0xFFAAAAAA : 0xFF444444; 82 Bitmap bitmap = Bitmap.createBitmap(colors, imgdim, imgdim, Bitmap.Config.ARGB_8888);
|
H A D | ColorHueView.java | 190 int[] colors = new int[checkdim * checkdim]; 191 for (int i = 0; i < colors.length; i++) { 194 colors[i] = (x == y) ? 0xFFAAAAAA : 0xFF444444; 196 Bitmap bitmap = Bitmap.createBitmap(colors, 16, 16, Bitmap.Config.ARGB_8888);
|
H A D | ColorOpacityView.java | 90 int[] colors = new int[imgdim * imgdim]; 91 for (int i = 0; i < colors.length; i++) { 94 colors[i] = (x == y) ? 0xFFAAAAAA : 0xFF444444; 96 Bitmap bitmap = Bitmap.createBitmap(colors, imgdim, imgdim, Bitmap.Config.ARGB_8888);
|
H A D | ColorSaturationView.java | 85 int[] colors = new int[16 * 16]; 86 for (int i = 0; i < colors.length; i++) { 89 colors[i] = (x == y) ? 0xFFAAAAAA : 0xFF444444; 91 Bitmap bitmap = Bitmap.createBitmap(colors, 16, 16, Bitmap.Config.ARGB_8888);
|
H A D | ColorRectView.java | 133 int[] colors = new int[] { 152 0, mBorder, 0, mHeight - mBorder, colors, null, Shader.TileMode.CLAMP);
|
/packages/apps/Gallery2/src/com/android/gallery3d/filtershow/imageshow/ |
H A D | ImageDraw.java | 193 int[] colors = new int[16 * 16]; 194 for (int i = 0; i < colors.length; i++) { 197 colors[i] = (x == y) ? 0xFF777777 : 0xFF222222; 199 Bitmap bitmap = Bitmap.createBitmap(colors, 16, 16, Bitmap.Config.ARGB_8888);
|
/packages/apps/Launcher3/src/com/android/launcher3/ |
H A D | BubbleTextView.java | 349 public void setTextColor(ColorStateList colors) { argument 350 mTextColor = colors.getDefaultColor(); 351 super.setTextColor(colors);
|
/packages/apps/QuickSearchBox/src/com/android/quicksearchbox/ui/ |
H A D | DefaultSuggestionView.java | 120 ColorStateList colors = getResources().getColorStateList(R.color.url_text); 121 text.setSpan(new TextAppearanceSpan(null, 0, 0, colors, null),
|
/packages/wallpapers/Basic/src/com/android/wallpaper/polarclock/ |
H A D | PolarClockWallpaper.java | 196 final int[] colors = mColors; 197 final int count = colors.length; 200 colors[i] = Color.HSBtoColor(i * invCount, mSaturation, mBrightness);
|
/packages/apps/Settings/src/com/android/settings/fuelgauge/ |
H A D | BatteryHistoryChart.java | 68 void setColors(int[] colors) { argument 69 mColors = colors; 70 mPaints = new Paint[colors.length]; 71 for (int i=0; i<colors.length; i++) { 73 mPaints[i].setColor(colors[i]);
|