/packages/apps/Gallery2/src/com/android/gallery3d/photoeditor/filters/ |
H A D | TintFilter.java | 32 private int color; field in class:TintFilter 34 public void setTint(int color) { argument 35 this.color = color; 42 effect.setParameter("tint", color); 48 out.writeInt(color); 53 color = in.readInt();
|
/packages/apps/Gallery2/src/com/android/gallery3d/ui/ |
H A D | MultiLineTexture.java | 28 // the String, the font size, and the color. 38 String text, int maxWidth, float textSize, int color, 40 TextPaint paint = StringTexture.getDefaultPaint(textSize, color); 37 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 | FadeInTexture.java | 23 // FadeInTexture is a texture which begins with a color, then gradually animates 39 public FadeInTexture(int color, BasicTexture texture) { argument 40 mColor = color;
|
H A D | GLPaint.java | 37 public void setColor(int color) { argument 38 mColor = color;
|
H A D | StringTexture.java | 30 // the String, the font size, and the color. 44 public static TextPaint getDefaultPaint(float textSize, int color) { argument 48 paint.setColor(color); 54 String text, float textSize, int color) { 55 return newInstance(text, getDefaultPaint(textSize, color)); 59 String text, float textSize, int color, 61 TextPaint paint = getDefaultPaint(textSize, color); 53 newInstance( String text, float textSize, int color) argument 58 newInstance( String text, float textSize, int color, float lengthLimit, boolean isBold) argument
|
H A D | NinePatchTexture.java | 274 int nx, int ny, int[] color) { 331 if (color[colorIdx] == NinePatchChunk.TRANSPARENT_COLOR) { 273 prepareVertexData(float x[], float y[], float u[], float v[], int nx, int ny, int[] color) argument
|
/packages/apps/Settings/src/com/android/settings/deviceinfo/ |
H A D | PercentageBarChart.java | 104 public void setBackgroundColor(int color) { argument 105 mEmptyPaint.setColor(color); 113 * @param color the color to draw the entry 115 public static Entry createEntry(float percentage, int color) { argument 117 p.setColor(color);
|
H A D | UsageBarPreference.java | 52 public void addEntry(float percentage, int color) { argument 53 mEntries.add(PercentageBarChart.createEntry(percentage, 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 77 public void setColor(int color) { argument 78 mColor = color;
|
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/ |
H A D | PhoneCallDetailsHelper.java | 82 // The color to highlight the count and date in, if any. This is based on the first call. 176 // Apply the highlight color if present. 187 /** Creates a SpannableString for the given text which is bold and in the given color. */ 188 private CharSequence addBoldAndColor(CharSequence text, int color) { argument 192 result.setSpan(new ForegroundColorSpan(color), 0, text.length(), flags);
|
/packages/apps/Contacts/src/com/android/contacts/util/ |
H A D | HtmlUtils.java | 35 * Specifically, it adjusts the color and padding of the vertical 90 int color = resources.getColor(R.color.stream_item_stripe_color); 93 replaceSpan(builder, quoteSpans[i], new StreamItemQuoteSpan(color, width)); 141 public StreamItemQuoteSpan(int color, int width) { argument 142 super(color);
|
/packages/apps/Gallery2/src/com/android/gallery3d/photoeditor/actions/ |
H A D | ColorSeekBar.java | 32 * Seek-bar that has a draggable thumb to set and get the color from predefined color set. 37 * Listens to color changes. 41 void onColorChanged(int color, boolean fromUser); argument 87 // Draw color strips that make the thumb stop at every strip's center during seeking.
|
H A D | Doodle.java | 31 * Doodle that consists of a color and doodling path for drawing. 35 private final int color; field in class:Doodle 51 public Doodle(int color, PointF startPoint) { argument 52 this.color = Color.argb(192, Color.red(color), Color.green(color), Color.blue(color)); 73 return color; 95 dest.writeInt(color); 106 int color [all...] |
H A D | DoodleView.java | 55 private int color; field in class:DoodleView 90 public void setColor(int color) { argument 91 // Restart doodle to draw in a new color. 92 this.color = color; 98 doodle = new Doodle(color, new PointF(lastPoint.x, lastPoint.y));
|
/packages/apps/Gallery2/tests/src/com/android/gallery3d/ui/ |
H A D | GLCanvasMock.java | 49 public void fillRect(float x, float y, float width, float height, int color) { argument 53 mFillRectColor = color;
|
/packages/apps/Launcher2/src/com/android/launcher2/ |
H A D | HolographicOutlineHelper.java | 106 void applyOuterBlur(Bitmap bitmap, Canvas canvas, int color) { argument 113 mHolographicPaint.setColor(color); 123 void applyExpensiveOutlineWithBlur(Bitmap srcDst, Canvas srcDstCanvas, int color, argument 125 applyExpensiveOutlineWithBlur(srcDst, srcDstCanvas, color, outlineColor, mAlphaClipPaint, 128 void applyExpensiveOutlineWithBlur(Bitmap srcDst, Canvas srcDstCanvas, int color, argument 198 mHolographicPaint.setColor(color); 217 void applyExtraThickExpensiveOutlineWithBlur(Bitmap srcDst, Canvas srcDstCanvas, int color, argument 219 applyExpensiveOutlineWithBlur(srcDst, srcDstCanvas, color, outlineColor, EXTRA_THICK); 222 void applyThickExpensiveOutlineWithBlur(Bitmap srcDst, Canvas srcDstCanvas, int color, argument 224 applyExpensiveOutlineWithBlur(srcDst, srcDstCanvas, color, outlineColo 227 applyMediumExpensiveOutlineWithBlur(Bitmap srcDst, Canvas srcDstCanvas, int color, int outlineColor, Paint alphaClipPaint) argument 233 applyMediumExpensiveOutlineWithBlur(Bitmap srcDst, Canvas srcDstCanvas, int color, int outlineColor) argument [all...] |
/packages/apps/Calendar/src/com/android/calendar/selectcalendars/ |
H A D | SelectCalendarsSimpleAdapter.java | 78 int color; field in class:SelectCalendarsSimpleAdapter.CalendarRow 89 mColorCalendarVisible = mRes.getColor(R.color.calendar_visible); 90 mColorCalendarHidden = mRes.getColor(R.color.calendar_hidden); 91 mColorCalendarSecondaryVisible = mRes.getColor(R.color.calendar_secondary_visible); 92 mColorCalendarSecondaryHidden = mRes.getColor(R.color.calendar_secondary_hidden); 182 mData[p].color = c.getInt(mColorColumn); 201 int color = Utils.getDisplayColorFromColor(mData[position].color); 212 View colorView = view.findViewById(R.id.color); 213 colorView.setBackgroundColor(color); [all...] |
H A D | SelectCalendarsSyncAdapter.java | 62 int color; field in class:SelectCalendarsSyncAdapter.CalendarRow 99 mData[p].color = c.getInt(mColorColumn); 122 int color = Utils.getDisplayColorFromColor(mData[position].color); 141 View colorView = view.findViewById(R.id.color); 143 colorView.setBackgroundColor(color);
|
/packages/apps/Calendar/src/com/android/calendar/widget/ |
H A D | CalendarAppWidgetModel.java | 88 int color; field in class:CalendarAppWidgetModel.EventInfo 113 builder.append(", color="); 114 builder.append(String.format("0x%x", color)); 135 result = prime * result + color; 180 if (color != other.color) { 292 final int color = cursor.getInt(CalendarAppWidgetService.INDEX_COLOR); 315 location, color, selfStatus)); 355 int startDay, int endDay, String title, String location, int color, int selfStatus) { 386 eventInfo.color 354 populateEventInfo(long eventId, boolean allDay, long start, long end, int startDay, int endDay, String title, String location, int color, int selfStatus) argument [all...] |
/packages/apps/Camera/jni/feature_stab/src/dbregtest/ |
H A D | dbregtest.cpp | 143 // if the images are color, the input is saved in color_ref: 165 // color format: 168 // is the input image color?: 169 bool color = format == PgmImage::PGM_BINARY_PIXMAP; local 182 if ( color ) 184 // save the color image: 235 if ( color )
|
/packages/apps/Camera/src/com/android/camera/panorama/ |
H A D | PanoProgressBar.java | 82 public void setBackgroundColor(int color) { argument 83 mBackgroundPaint.setColor(color); 87 public void setDoneColor(int color) { argument 88 mDoneAreaPaint.setColor(color); 92 public void setIndicatorColor(int color) { argument 93 mIndicatorPaint.setColor(color);
|
/packages/apps/Camera/src/com/android/camera/ui/ |
H A D | ZoomControlWheel.java | 78 HIGHLIGHT_COLOR = resources.getColor(R.color.review_control_pressed_color); 79 TRAIL_COLOR = resources.getColor(R.color.icon_disabled_color); 161 double radius, int color, int width) { 166 mBackgroundPaint.setColor(color); 160 drawArc(Canvas canvas, int startAngle, int sweepAngle, double radius, int color, int width) argument
|
/packages/apps/Settings/src/com/android/settings/widget/ |
H A D | PieChartView.java | 71 public Slice(long value, int color) { argument 73 this.paint = buildFillPaint(color, getResources()); 98 private static Paint buildFillPaint(int color, Resources res) { argument 101 paint.setColor(color); 107 paint.setShader(new RadialGradient(0, 0, width, color, darken(color), TileMode.MIRROR)); 117 public void addSlice(long value, int color) { argument 118 mSlices.add(new Slice(value, color)); 236 public static int darken(int color) { argument 238 Color.colorToHSV(color, hs [all...] |