/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/ |
H A D | PanoProgressBar.java | 84 public void setBackgroundColor(int color) { argument 85 mBackgroundPaint.setColor(color); 89 public void setDoneColor(int color) { argument 90 mDoneAreaPaint.setColor(color); 94 public void setIndicatorColor(int color) { argument 95 mIndicatorPaint.setColor(color);
|
/packages/apps/Camera2/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/Camera2/src/com/android/camera/ |
H A D | PanoProgressBar.java | 84 public void setBackgroundColor(int color) { argument 85 mBackgroundPaint.setColor(color); 89 public void setDoneColor(int color) { argument 90 mDoneAreaPaint.setColor(color); 94 public void setIndicatorColor(int color) { argument 95 mIndicatorPaint.setColor(color);
|
/packages/apps/Gallery2/src/com/android/gallery3d/filtershow/filters/ |
H A D | FilterColorBorderRepresentation.java | 54 public FilterColorBorderRepresentation(int color, int size, int radius) { argument 62 mParamColor.setValue(color); 139 public void setColor(int color) { argument 140 mParamColor.setValue(color); 180 writer.name("color"); 194 } else if (name.equalsIgnoreCase("color")) {
|
H A D | ImageFilterDraw.java | 187 void draw(Canvas canvas, Paint paint, int color, float size, Path path) { argument 195 paint.setColor(color); 197 paint.setColorFilter(new PorterDuffColorFilter(color, PorterDuff.Mode.MULTIPLY));
|
/packages/apps/Gallery2/src/com/android/gallery3d/filtershow/imageshow/ |
H A D | ImageCurves.java | 368 private void drawHistogram(Canvas canvas, int[] histogram, int color, PorterDuff.Mode mode) { argument 385 paint2.setColor(color);
|
H A D | Spline.java | 240 public void draw(Canvas canvas, int color, int canvasWidth, int canvasHeight, argument 330 paint.setColor(color); 336 paint.setColor(color);
|
/packages/apps/Gallery2/src/com/android/gallery3d/glrenderer/ |
H A D | NinePatchTexture.java | 313 int nx, int ny, int[] color) { 370 if (color[colorIdx] == NinePatchChunk.TRANSPARENT_COLOR) { 312 prepareVertexData(float x[], float y[], float u[], float v[], int nx, int ny, int[] color) argument
|
/packages/apps/Gallery2/src/com/android/gallery3d/ui/ |
H A D | AlbumLabelMaker.java | 78 private static TextPaint getTextPaint(int textSize, int color, boolean isBold) { argument 82 paint.setColor(color);
|
H A D | TiledScreenNail.java | 30 // placeholder color (gray). 32 // - When the the bitmap is available, and we have drawn the placeholder color 71 public static void setPlaceholderColor(int color) { argument 72 mPlaceholderColor = color;
|
/packages/apps/Launcher2/src/com/android/launcher2/ |
H A D | DragView.java | 218 public void setColor(int color) { argument 222 if (color != 0) { 223 mPaint.setColorFilter(new PorterDuffColorFilter(color, PorterDuff.Mode.SRC_ATOP));
|
/packages/apps/Launcher3/src/com/android/launcher3/ |
H A D | DragView.java | 218 public void setColor(int color) { argument 222 if (color != 0) { 223 mPaint.setColorFilter(new PorterDuffColorFilter(color, PorterDuff.Mode.SRC_ATOP));
|
/packages/apps/LegacyCamera/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/LegacyCamera/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/LegacyCamera/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/Mms/src/com/android/mms/widget/ |
H A D | MmsWidgetService.java | 88 SENDERS_TEXT_COLOR_READ = res.getColor(R.color.widget_sender_text_color_read); 89 SENDERS_TEXT_COLOR_UNREAD = res.getColor(R.color.widget_sender_text_color_unread); 90 SUBJECT_TEXT_COLOR_READ = res.getColor(R.color.widget_subject_text_color_read); 91 SUBJECT_TEXT_COLOR_UNREAD = res.getColor(R.color.widget_subject_text_color_unread); 191 * Add color to a given text 193 private SpannableStringBuilder addColor(CharSequence text, int color) { argument 195 if (color != 0) { 196 builder.setSpan(new ForegroundColorSpan(color), 0, text.length(), 248 int color = conv.hasUnreadMessages() ? SENDERS_TEXT_COLOR_UNREAD : 251 color); [all...] |
/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...] |
/packages/apps/UnifiedEmail/src/com/android/mail/ui/ |
H A D | FolderItemView.java | 160 private void setUnseenCount(final int color, final int count) { argument 163 mUnseenCountTextView.setBackgroundColor(color);
|
/packages/inputmethods/PinyinIME/src/com/android/inputmethod/pinyin/ |
H A D | SkbTemplate.java | 228 public void setColors(int color, int colorHl, int colorBalloon) { argument 229 mColor = color;
|
/packages/wallpapers/HoloSpiral/src/com/android/wallpaper/holospiral/ |
H A D | HoloSpiralRS.java | 237 Float4 color = new Float4(); 238 color.x = primary.x + ((secondary.x - primary.x) * r); 239 color.y = primary.y + ((secondary.y - primary.y) * r); 240 color.z = primary.z + ((secondary.z - primary.z) * r); 241 color.w = primary.w + ((secondary.w - primary.w) * r); 244 points.set_color(i, color, false); 254 private static Float4 convertColor(int color) { argument 255 float red = Color.red(color) / 255.0f; 256 float green = Color.green(color) / 255.0f; 257 float blue = Color.blue(color) / 255. [all...] |
/packages/apps/Calendar/src/com/android/calendar/selectcalendars/ |
H A D | SelectCalendarsSimpleAdapter.java | 92 int color; field in class:SelectCalendarsSimpleAdapter.CalendarRow 103 mColorCalendarVisible = mRes.getColor(R.color.calendar_visible); 104 mColorCalendarHidden = mRes.getColor(R.color.calendar_hidden); 105 mColorCalendarSecondaryVisible = mRes.getColor(R.color.calendar_secondary_visible); 106 mColorCalendarSecondaryHidden = mRes.getColor(R.color.calendar_secondary_hidden); 202 mData[p].color = c.getInt(mColorColumn); 224 int color = Utils.getDisplayColorFromColor(mData[position].color); 228 final View delegate = view.findViewById(R.id.color); 250 View colorView = view.findViewById(R.id.color); [all...] |
/packages/apps/Camera2/src/com/android/camera/crop/ |
H A D | Utils.java | 119 public static boolean isOpaque(int color) { argument 120 return color >>> 24 == 0xFF;
|
/packages/apps/Gallery2/gallerycommon/src/com/android/gallery3d/common/ |
H A D | Utils.java | 119 public static boolean isOpaque(int color) { argument 120 return color >>> 24 == 0xFF;
|