/packages/apps/Calendar/src/com/android/calendar/selectcalendars/ |
H A D | CalendarColorSquare.java | 29 * The color square used as an entry point to launching the {@link CalendarColorPickerDialog}. 42 public void setBackgroundColor(int color) { argument 45 setImageDrawable(new ColorStateDrawable(colorDrawable, color));
|
H A D | SelectCalendarsSyncAdapter.java | 80 int color; field in class:SelectCalendarsSyncAdapter.CalendarRow 128 mData[p].color = c.getInt(mColorColumn); 153 int color = Utils.getDisplayColorFromColor(mData[position].color); 157 final View delegate = view.findViewById(R.id.color); 187 View colorView = view.findViewById(R.id.color); 189 colorView.setBackgroundColor(color);
|
/packages/apps/Gallery2/src/com/android/gallery3d/glrenderer/ |
H A D | FadeInTexture.java | 20 // FadeInTexture is a texture which begins with a color, then gradually animates 29 public FadeInTexture(int color, TiledTexture texture) { argument 31 mColor = color;
|
H A D | GLPaint.java | 25 public void setColor(int color) { argument 26 mColor = color;
|
H A D | MultiLineTexture.java | 29 // the String, the font size, and the color. 39 String text, int maxWidth, float textSize, int color, 41 TextPaint paint = StringTexture.getDefaultPaint(textSize, color); 38 newInstance( String text, int maxWidth, float textSize, int color, Layout.Alignment alignment) argument
|
H A D | ColorTexture.java | 21 // ColorTexture is a texture which fills the rectangle with the specified color. 28 public ColorTexture(int color) { argument 29 mColor = color;
|
H A D | StringTexture.java | 31 // the String, the font size, and the color. 45 public static TextPaint getDefaultPaint(float textSize, int color) { argument 49 paint.setColor(color); 55 String text, float textSize, int color) { 56 return newInstance(text, getDefaultPaint(textSize, color)); 60 String text, float textSize, int color, 62 TextPaint paint = getDefaultPaint(textSize, color); 54 newInstance( String text, float textSize, int color) argument 59 newInstance( String text, float textSize, int color, float lengthLimit, boolean isBold) argument
|
/packages/apps/Launcher3/src/com/android/gallery3d/glrenderer/ |
H A D | GLPaint.java | 25 public void setColor(int color) { argument 26 mColor = color;
|
/packages/apps/Launcher3/src/com/android/launcher3/ |
H A D | HolographicViewHelper.java | 37 mHighlightColor = res.getColor(android.R.color.holo_blue_light); 38 mHotwordColor = res.getColor(android.R.color.holo_green_light); 95 private Bitmap createImageWithOverlay(ImageView v, Canvas canvas, int color) { argument 104 canvas.drawColor(color, PorterDuff.Mode.SRC_IN);
|
H A D | HolographicOutlineHelper.java | 104 void applyExpensiveOutlineWithBlur(Bitmap srcDst, Canvas srcDstCanvas, int color, argument 106 applyExpensiveOutlineWithBlur(srcDst, srcDstCanvas, color, outlineColor, true, 109 void applyExpensiveOutlineWithBlur(Bitmap srcDst, Canvas srcDstCanvas, int color, argument 189 mHolographicPaint.setColor(color); 208 void applyExtraThickExpensiveOutlineWithBlur(Bitmap srcDst, Canvas srcDstCanvas, int color, argument 210 applyExpensiveOutlineWithBlur(srcDst, srcDstCanvas, color, outlineColor, EXTRA_THICK); 213 void applyThickExpensiveOutlineWithBlur(Bitmap srcDst, Canvas srcDstCanvas, int color, argument 215 applyExpensiveOutlineWithBlur(srcDst, srcDstCanvas, color, outlineColor, THICK); 218 void applyMediumExpensiveOutlineWithBlur(Bitmap srcDst, Canvas srcDstCanvas, int color, argument 220 applyExpensiveOutlineWithBlur(srcDst, srcDstCanvas, color, outlineColo 224 applyMediumExpensiveOutlineWithBlur(Bitmap srcDst, Canvas srcDstCanvas, int color, int outlineColor) argument [all...] |
/packages/apps/Settings/src/com/android/settings/deviceinfo/ |
H A D | StorageItemPreference.java | 30 public final int color; field in class:StorageItemPreference 42 this.color = context.getResources().getColor(colorRes); 47 setIcon(createRectShape(width, height, this.color)); 49 this.color = Color.MAGENTA; 58 private static ShapeDrawable createRectShape(int width, int height, int color) { argument 62 shape.getPaint().setColor(color);
|
H A D | UsageBarPreference.java | 53 public void addEntry(int order, float percentage, int color) { argument 54 mEntries.add(PercentageBarChart.createEntry(order, percentage, color));
|
H A D | PercentageBarChart.java | 139 public void setBackgroundColor(int color) { argument 140 mEmptyPaint.setColor(color); 148 * @param color the color to draw the entry 150 public static Entry createEntry(int order, float percentage, int color) { argument 152 p.setColor(color);
|
/packages/apps/UnifiedEmail/src/com/android/mail/graphics/ |
H A D | PageMarginDrawable.java | 35 int insetRight, int insetBottom, int color) { 38 mPaint.setColor(color); 34 PageMarginDrawable(Drawable drawable, int insetLeft, int insetTop, int insetRight, int insetBottom, int color) argument
|
/packages/experimental/Bummer/src/com/android/dreams/bummer/ |
H A D | Bummer.java | 31 public int color = Color.WHITE; field in class:Bummer 47 mApology.setTextColor(color);
|
/packages/apps/Calendar/src/com/android/calendar/event/ |
H A D | EventColorPickerDialog.java | 27 * A dialog which displays event colors, with an additional button for the calendar color. 63 public void setCalendarColor(int color) { argument 64 mCalendarColor = color;
|
/packages/apps/UnifiedEmail/src/com/android/mail/ui/ |
H A D | CustomTypefaceSpan.java | 40 * @param color Desired font color; this should have already been converted 41 * to an integer representation of a color. 43 public CustomTypefaceSpan(String family, Typeface type, int size, int color) { argument 47 newColor = color;
|
/packages/apps/Calendar/src/com/android/calendar/ |
H A D | ColorChipView.java | 30 * A custom view for a color chip for an event that can be drawn differently 88 public void setColor(int color) { argument 89 mColor = color;
|
H A D | CalendarColorPickerDialog.java | 144 public void onColorSelected(int color) { argument 145 if (color == mSelectedColor || mService == null) { 150 values.put(Calendars.CALENDAR_COLOR_KEY, mColorKeyMap.get(color)); 176 // No color keys to save, so just return
|
H A D | StickyHeaderListView.java | 241 * @param color - color of separator 244 public void setHeaderSeparator(int color, int width) { argument 249 mSeparatorView.setBackgroundColor(color);
|
/packages/apps/Contacts/src/com/android/contacts/util/ |
H A D | HtmlUtils.java | 35 * Specifically, it adjusts the color and padding of the vertical 91 int color = resources.getColor(R.color.stream_item_stripe_color); 94 replaceSpan(builder, quoteSpans[i], new StreamItemQuoteSpan(color, width)); 142 public StreamItemQuoteSpan(int color, int width) { argument 143 super(color);
|
/packages/apps/Gallery2/src/com/android/gallery3d/filtershow/info/ |
H A D | HistogramView.java | 81 private void drawHistogram(Canvas canvas, int[] histogram, int color, PorterDuff.Mode mode) { argument 106 mPaint.setColor(color);
|
/packages/apps/Dialer/src/com/android/dialer/ |
H A D | PhoneCallDetailsHelper.java | 88 // The color to highlight the count and date in, if any. This is based on the first call. 189 // Apply the highlight color if present. 200 /** Creates a SpannableString for the given text which is bold and in the given color. */ 201 private CharSequence addBoldAndColor(CharSequence text, int color) { argument 205 result.setSpan(new ForegroundColorSpan(color), 0, text.length(), flags);
|
/packages/apps/Launcher2/src/com/android/launcher2/ |
H A D | HolographicOutlineHelper.java | 96 void applyExpensiveOutlineWithBlur(Bitmap srcDst, Canvas srcDstCanvas, int color, argument 98 applyExpensiveOutlineWithBlur(srcDst, srcDstCanvas, color, outlineColor, true, 101 void applyExpensiveOutlineWithBlur(Bitmap srcDst, Canvas srcDstCanvas, int color, argument 181 mHolographicPaint.setColor(color); 200 void applyExtraThickExpensiveOutlineWithBlur(Bitmap srcDst, Canvas srcDstCanvas, int color, argument 202 applyExpensiveOutlineWithBlur(srcDst, srcDstCanvas, color, outlineColor, EXTRA_THICK); 205 void applyThickExpensiveOutlineWithBlur(Bitmap srcDst, Canvas srcDstCanvas, int color, argument 207 applyExpensiveOutlineWithBlur(srcDst, srcDstCanvas, color, outlineColor, THICK); 210 void applyMediumExpensiveOutlineWithBlur(Bitmap srcDst, Canvas srcDstCanvas, int color, argument 212 applyExpensiveOutlineWithBlur(srcDst, srcDstCanvas, color, outlineColo 216 applyMediumExpensiveOutlineWithBlur(Bitmap srcDst, Canvas srcDstCanvas, int color, int outlineColor) argument [all...] |
/packages/apps/UnifiedEmail/src/com/android/mail/widget/ |
H A D | WidgetConversationListItemViewBuilder.java | 97 int color[] = new int[] {folderValues.getBackgroundColor(mDefaultBgColor)}; 98 Bitmap bitmap = Bitmap.createBitmap(color, 1, 1, Bitmap.Config.RGB_565); 124 SUBJECT_TEXT_COLOR_READ = res.getColor(R.color.subject_text_color_read); 125 SUBJECT_TEXT_COLOR_UNREAD = res.getColor(R.color.subject_text_color_unread); 126 DATE_TEXT_COLOR = res.getColor(R.color.date_text_color); 133 * Add size, color and style to a given text 135 private static CharSequence addStyle(CharSequence text, int size, int color) { argument 139 if (color != 0) { 140 builder.setSpan(new ForegroundColorSpan(color), 0, text.length(),
|