/packages/inputmethods/OpenWnn/src/jp/co/omronsoft/openwnn/ |
D | DefaultSoftKeyboard.java | 562 text1.setTextColor(res.getColor(R.color.indicator_textcolor_caps_off)); in updateIndicator() 563 text2.setTextColor(res.getColor(R.color.indicator_textcolor_alt_off)); in updateIndicator() 564 text1.setBackgroundColor(res.getColor(R.color.indicator_textbackground_default)); in updateIndicator() 565 text2.setBackgroundColor(res.getColor(R.color.indicator_textbackground_default)); in updateIndicator() 568 text1.setTextColor(res.getColor(R.color.indicator_textcolor_caps_on)); in updateIndicator() 569 text2.setTextColor(res.getColor(R.color.indicator_textcolor_alt_off)); in updateIndicator() 570 text1.setBackgroundColor(res.getColor(R.color.indicator_textbackground_default)); in updateIndicator() 571 text2.setBackgroundColor(res.getColor(R.color.indicator_textbackground_default)); in updateIndicator() 574 text1.setTextColor(res.getColor(R.color.indicator_textcolor_caps_lock)); in updateIndicator() 575 text2.setTextColor(res.getColor(R.color.indicator_textcolor_alt_off)); in updateIndicator() [all …]
|
/packages/apps/Launcher2/src/com/android/launcher2/ |
D | HolographicOutlineHelper.java | 106 void applyOuterBlur(Bitmap bitmap, Canvas canvas, int color) { in applyOuterBlur() argument 113 mHolographicPaint.setColor(color); in applyOuterBlur() 123 void applyExpensiveOutlineWithBlur(Bitmap srcDst, Canvas srcDstCanvas, int color, in applyExpensiveOutlineWithBlur() argument 125 applyExpensiveOutlineWithBlur(srcDst, srcDstCanvas, color, outlineColor, mAlphaClipPaint, in applyExpensiveOutlineWithBlur() 128 void applyExpensiveOutlineWithBlur(Bitmap srcDst, Canvas srcDstCanvas, int color, in applyExpensiveOutlineWithBlur() argument 198 mHolographicPaint.setColor(color); in applyExpensiveOutlineWithBlur() 217 void applyExtraThickExpensiveOutlineWithBlur(Bitmap srcDst, Canvas srcDstCanvas, int color, in applyExtraThickExpensiveOutlineWithBlur() argument 219 applyExpensiveOutlineWithBlur(srcDst, srcDstCanvas, color, outlineColor, EXTRA_THICK); in applyExtraThickExpensiveOutlineWithBlur() 222 void applyThickExpensiveOutlineWithBlur(Bitmap srcDst, Canvas srcDstCanvas, int color, in applyThickExpensiveOutlineWithBlur() argument 224 applyExpensiveOutlineWithBlur(srcDst, srcDstCanvas, color, outlineColor, THICK); in applyThickExpensiveOutlineWithBlur() [all …]
|
/packages/apps/Gallery2/src/com/android/gallery3d/photoeditor/filters/ |
D | DoodleFilter.java | 39 private final int color; field in DoodleFilter.ColorPath 42 ColorPath(int color, Path path) { in ColorPath() argument 43 this.color = color; in ColorPath() 61 public void addPath(Path path, int color) { in addPath() argument 62 doodles.add(new ColorPath(color, path)); in addPath() 77 paint.setColor(doodle.color); in process()
|
/packages/wallpapers/HoloSpiral/res/raw/ |
D | vertex_geometry.glslv | 1 varying lowp vec4 color; 10 color = ATTRIB_color; 11 color.a = color.a * factor2;
|
D | fragment_geometry.glslf | 1 varying lowp vec4 color; 8 gl_FragColor.a = color.a * (texColor.r * factor1 + texColor.g * factor2); 9 gl_FragColor.rgb = color.rgb;
|
D | fragment_background.glslf | 1 varying lowp vec4 color; 4 gl_FragColor = color;
|
D | vertex_background.glslv | 1 varying lowp vec4 color; 4 color = ATTRIB_color;
|
/packages/apps/Calendar/src/com/android/calendar/ |
D | Utils.java | 576 public static int getDisplayColorFromColor(int color) { in getDisplayColorFromColor() argument 578 Color.colorToHSV(color, hsv); in getDisplayColorFromColor() 585 public static int getDeclinedColorFromColor(int color) { in getDeclinedColorFromColor() argument 588 int r = (((color & 0x00ff0000) * a) + ((bg & 0x00ff0000) * (0xff - a))) & 0xff000000; in getDeclinedColorFromColor() 589 int g = (((color & 0x0000ff00) * a) + ((bg & 0x0000ff00) * (0xff - a))) & 0x00ff0000; in getDeclinedColorFromColor() 590 int b = (((color & 0x000000ff) * a) + ((bg & 0x000000ff) * (0xff - a))) & 0x0000ff00; in getDeclinedColorFromColor() 602 public int color; field in Utils.DNAStrand 611 int color; // Calendar color or black for conflicts field in Utils.DNASegment 653 CONFLICT_COLOR = res.getColor(R.color.month_dna_conflict_time_color); in createDNAStrands() 675 blackStrand.color = CONFLICT_COLOR; in createDNAStrands() [all …]
|
/packages/apps/Gallery2/src/com/android/gallery3d/ui/ |
D | StringTexture.java | 44 public static TextPaint getDefaultPaint(float textSize, int color) { in getDefaultPaint() argument 48 paint.setColor(color); in getDefaultPaint() 54 String text, float textSize, int color) { in newInstance() argument 55 return newInstance(text, getDefaultPaint(textSize, color)); in newInstance() 59 String text, float textSize, int color, in newInstance() argument 61 TextPaint paint = getDefaultPaint(textSize, color); in newInstance()
|
/packages/apps/Email/tests/src/com/android/email/ |
D | ResourceHelperTest.java | 37 Integer color = mResourceHelper.getAccountColor(accountId); in testGetAccountColor() local 41 assertNotNull(color); in testGetAccountColor() 43 assertFalse(color.equals(lastColor)); in testGetAccountColor() 46 lastColor = color; in testGetAccountColor()
|
/packages/apps/Settings/src/com/android/settings/widget/ |
D | PieChartView.java | 71 public Slice(long value, int color) { in Slice() argument 73 this.paint = buildFillPaint(color, getResources()); in Slice() 98 private static Paint buildFillPaint(int color, Resources res) { in buildFillPaint() argument 101 paint.setColor(color); in buildFillPaint() 107 paint.setShader(new RadialGradient(0, 0, width, color, darken(color), TileMode.MIRROR)); in buildFillPaint() 117 public void addSlice(long value, int color) { in addSlice() argument 118 mSlices.add(new Slice(value, color)); in addSlice() 236 public static int darken(int color) { 238 Color.colorToHSV(color, hsv);
|
/packages/apps/Settings/src/com/android/settings/quicklaunch/ |
D | ShortcutPreference.java | 120 ColorStateList color = mHasBookmark ? sRegularTitleColor : sDimTitleColor; in onBindView() local 121 if (color != null) { in onBindView() 122 titleView.setTextColor(color); in onBindView() 134 color = mHasBookmark ? sRegularSummaryColor : sDimSummaryColor; in onBindView() 135 if (color != null) { in onBindView() 136 summaryView.setTextColor(color); in onBindView()
|
/packages/apps/Gallery2/src/com/android/gallery3d/photoeditor/actions/ |
D | DoodleAction.java | 48 public void onColorChanged(int color, boolean fromUser) { in doBegin() 50 doodleView.setColor(color); in doBegin() 67 public void onDoodleFinished(Path path, int color) { in doBegin() 68 filter.addPath(path, color); in doBegin()
|
/packages/wallpapers/Basic/src/com/android/wallpaper/nexus/ |
D | nexus.rs | 40 int color; 118 pulse->color = rsRand(4); 184 setColor(p->color); 202 setColor(p->color); 219 setColor(p->color); 237 setColor(p->color); 257 int color = rsRand(4); 283 p->color = color; 284 color++; 285 if (color >= 4) { [all …]
|
/packages/apps/Camera/src/com/android/camera/panorama/ |
D | PanoProgressBar.java | 82 public void setBackgroundColor(int color) { in setBackgroundColor() argument 83 mBackgroundPaint.setColor(color); in setBackgroundColor() 87 public void setDoneColor(int color) { in setDoneColor() argument 88 mDoneAreaPaint.setColor(color); in setDoneColor() 92 public void setIndicatorColor(int color) { in setIndicatorColor() argument 93 mIndicatorPaint.setColor(color); in setIndicatorColor()
|
/packages/apps/Email/src/com/android/email/activity/ |
D | MailboxListItem.java | 85 sDropAvailableBgColor = res.getColor(R.color.mailbox_drop_available_bg_color); in onFinishInflate() 86 sDropUnavailableFgColor = res.getColor(R.color.mailbox_drop_unavailable_fg_color); in onFinishInflate() 87 sDropTrashBgColor = res.getColor(R.color.mailbox_drop_destructive_bg_color); in onFinishInflate() 88 sTextPrimaryColor = res.getColor(R.color.text_primary_color); in onFinishInflate() 89 sTextSecondaryColor = res.getColor(R.color.text_secondary_color); in onFinishInflate()
|
/packages/wallpapers/HoloSpiral/src/com/android/wallpaper/holospiral/ |
D | HoloSpiralRS.java | 235 Float4 color = new Float4(); in generateSpiral() local 236 color.x = primary.x + ((secondary.x - primary.x) * r); in generateSpiral() 237 color.y = primary.y + ((secondary.y - primary.y) * r); in generateSpiral() 238 color.z = primary.z + ((secondary.z - primary.z) * r); in generateSpiral() 239 color.w = primary.w + ((secondary.w - primary.w) * r); in generateSpiral() 242 points.set_color(i, color, false); in generateSpiral() 252 private static Float4 convertColor(int color) { in convertColor() argument 253 float red = Color.red(color) / 255.0f; in convertColor() 254 float green = Color.green(color) / 255.0f; in convertColor() 255 float blue = Color.blue(color) / 255.0f; in convertColor() [all …]
|
/packages/apps/Contacts/src/com/android/contacts/widget/ |
D | TextHighlightingAnimation.java | 164 int color = ds.getColor(); in updateDrawState() local 165 color = Color.argb(mAlpha, Color.red(color), Color.green(color), Color.blue(color)); in updateDrawState() 166 ds.setColor(color); in updateDrawState()
|
/packages/apps/Contacts/src/com/android/contacts/util/ |
D | HtmlUtils.java | 90 int color = resources.getColor(R.color.stream_item_stripe_color); in postprocess() local 93 replaceSpan(builder, quoteSpans[i], new StreamItemQuoteSpan(color, width)); in postprocess() 141 public StreamItemQuoteSpan(int color, int width) { in StreamItemQuoteSpan() argument 142 super(color); in StreamItemQuoteSpan()
|
/packages/wallpapers/Basic/src/com/android/wallpaper/galaxy/ |
D | galaxy.rs | 53 uchar4 color; 96 part->color.x = (uchar) (220 + id * 35); 97 part->color.y = 220; 98 part->color.z = 220; 100 part->color.x = 180; 101 part->color.y = 180; 102 part->color.z = (uchar) clamp(140.f + id * 115.f, 140.f, 255.f); 105 part->color.w = (uchar) (rsRand(1.2f, 2.1f) * 60);
|
/packages/apps/Calendar/src/com/android/calendar/selectcalendars/ |
D | SelectCalendarsSimpleAdapter.java | 78 int color; field in SelectCalendarsSimpleAdapter.CalendarRow 89 mColorCalendarVisible = mRes.getColor(R.color.calendar_visible); in SelectCalendarsSimpleAdapter() 90 mColorCalendarHidden = mRes.getColor(R.color.calendar_hidden); in SelectCalendarsSimpleAdapter() 91 mColorCalendarSecondaryVisible = mRes.getColor(R.color.calendar_secondary_visible); in SelectCalendarsSimpleAdapter() 92 mColorCalendarSecondaryHidden = mRes.getColor(R.color.calendar_secondary_hidden); in SelectCalendarsSimpleAdapter() 182 mData[p].color = c.getInt(mColorColumn); in initData() 201 int color = Utils.getDisplayColorFromColor(mData[position].color); in getView() local 212 View colorView = view.findViewById(R.id.color); in getView() 213 colorView.setBackgroundColor(color); in getView()
|
/packages/wallpapers/PhaseBeam/res/raw/ |
D | bg_fs.glsl | 1 varying lowp vec4 color; 4 gl_FragColor = color;
|
/packages/wallpapers/NoiseField/res/raw/ |
D | bg_fs.glsl | 1 varying lowp vec4 color; 4 gl_FragColor = color;
|
D | bg_vs.glsl | 1 varying lowp vec4 color; 4 color = ATTRIB_color;
|
/packages/apps/Calendar/src/com/android/calendar/month/ |
D | MonthWeekEventsView.java | 305 mMonthWeekNumColor = res.getColor(R.color.month_week_num_color); in loadColors() 306 mMonthNumColor = res.getColor(R.color.month_day_number); in loadColors() 307 mMonthNumOtherColor = res.getColor(R.color.month_day_number_other); in loadColors() 308 mMonthNumTodayColor = res.getColor(R.color.month_today_number); in loadColors() 311 mMonthEventColor = res.getColor(R.color.month_event_color); in loadColors() 312 mMonthDeclinedEventColor = res.getColor(R.color.agenda_item_declined_color); in loadColors() 313 mMonthDeclinedExtrasColor = res.getColor(R.color.agenda_item_where_declined_text_color); in loadColors() 314 mMonthEventExtraColor = res.getColor(R.color.month_event_extra_color); in loadColors() 315 mMonthEventOtherColor = res.getColor(R.color.month_event_other_color); in loadColors() 316 mMonthEventExtraOtherColor = res.getColor(R.color.month_event_extra_other_color); in loadColors() [all …]
|