/packages/apps/Gallery2/jni/filters/ |
H A D | filters.h | 28 #define GetA(color) (((color) >> 24) & 0xFF) 29 #define GetB(color) (((color) >> 16) & 0xFF) 30 #define GetG(color) (((color) >> 8) & 0xFF) 31 #define GetR(color) (((color) >> 0) & 0xFF)
|
/packages/apps/Gallery2/src/com/android/gallery3d/glrenderer/ |
H A D | GLPaint.java | 25 public void setColor(int color) { argument 26 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
|
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 | 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 | 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
|
/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/Email/tests/src/com/android/email/ |
H A D | ResourceHelperTest.java | 37 Integer color = mResourceHelper.getAccountColor(accountId); 41 assertNotNull(color); 43 assertFalse(color.equals(lastColor)); 46 lastColor = color;
|
/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));
|
/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/inputmethods/OpenWnn/src/jp/co/omronsoft/openwnn/ |
H A D | DefaultSoftKeyboard.java | 644 text1.setTextColor(res.getColor(R.color.indicator_textcolor_caps_off)); 645 text2.setTextColor(res.getColor(R.color.indicator_textcolor_alt_off)); 646 text1.setBackgroundColor(res.getColor(R.color.indicator_textbackground_default)); 647 text2.setBackgroundColor(res.getColor(R.color.indicator_textbackground_default)); 650 text1.setTextColor(res.getColor(R.color.indicator_textcolor_caps_on)); 651 text2.setTextColor(res.getColor(R.color.indicator_textcolor_alt_off)); 652 text1.setBackgroundColor(res.getColor(R.color.indicator_textbackground_default)); 653 text2.setBackgroundColor(res.getColor(R.color.indicator_textbackground_default)); 656 text1.setTextColor(res.getColor(R.color.indicator_textcolor_caps_lock)); 657 text2.setTextColor(res.getColor(R.color [all...] |
/packages/apps/Settings/src/com/android/settings/quicklaunch/ |
H A D | ShortcutPreference.java | 120 ColorStateList color = mHasBookmark ? sRegularTitleColor : sDimTitleColor; 121 if (color != null) { 122 titleView.setTextColor(color); 134 color = mHasBookmark ? sRegularSummaryColor : sDimSummaryColor; 135 if (color != null) { 136 summaryView.setTextColor(color);
|
/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));
|
/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/Launcher3/src/com/android/launcher3/ |
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...] |
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);
|
/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/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/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/Contacts/src/com/android/contacts/widget/ |
H A D | TextHighlightingAnimation.java | 136 * A Span that modifies alpha of the default foreground color. 164 int color = ds.getColor(); 165 color = Color.argb(mAlpha, Color.red(color), Color.green(color), Color.blue(color)); 166 ds.setColor(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/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/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/Dialer/src/com/android/dialer/calllog/ |
H A D | CallTypeHelper.java | 47 mNewMissedColor = resources.getColor(R.color.call_log_missed_call_highlight_color); 48 mNewVoicemailColor = resources.getColor(R.color.call_log_voicemail_highlight_color); 71 /** Returns the color used to highlight the given call type, null if not highlight is needed. */
|