Home
last modified time | relevance | path

Searched refs:color (Results 1 – 25 of 46) sorted by relevance

12

/packages/inputmethods/OpenWnn/src/jp/co/omronsoft/openwnn/
DDefaultSoftKeyboard.java563 text1.setTextColor(res.getColor(R.color.indicator_textcolor_caps_off)); in updateIndicator()
564 text2.setTextColor(res.getColor(R.color.indicator_textcolor_alt_off)); in updateIndicator()
565 text1.setBackgroundColor(res.getColor(R.color.indicator_textbackground_default)); in updateIndicator()
566 text2.setBackgroundColor(res.getColor(R.color.indicator_textbackground_default)); in updateIndicator()
569 text1.setTextColor(res.getColor(R.color.indicator_textcolor_caps_on)); in updateIndicator()
570 text2.setTextColor(res.getColor(R.color.indicator_textcolor_alt_off)); in updateIndicator()
571 text1.setBackgroundColor(res.getColor(R.color.indicator_textbackground_default)); in updateIndicator()
572 text2.setBackgroundColor(res.getColor(R.color.indicator_textbackground_default)); in updateIndicator()
575 text1.setTextColor(res.getColor(R.color.indicator_textcolor_caps_lock)); in updateIndicator()
576 text2.setTextColor(res.getColor(R.color.indicator_textcolor_alt_off)); in updateIndicator()
[all …]
/packages/apps/Settings/src/com/android/settings/quicklaunch/
DShortcutPreference.java120 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/Calendar/src/com/android/calendar/
DSelectCalendarsAdapter.java97 … view.findViewById(R.id.color).setBackgroundDrawable(getColorChip(cursor.getInt(colorColumn))); in bindView()
130 private Drawable getColorChip(int color) { in getColorChip() argument
142 color &= CLEAR_ALPHA_MASK; in getColorChip()
143 int startColor = color | HIGH_ALPHA; in getColorChip()
144 int middleColor = color | MED_ALPHA; in getColorChip()
145 int endColor = color | LOW_ALPHA; in getColorChip()
DEvent.java85 public int color; field in Event
128 e.color = color; in clone()
149 dest.color = color; in copyTo()
170 e.color = 0; in newInstance()
349 e.color = c.getInt(PROJECTION_COLOR_INDEX); in loadEvents()
351 e.color = res.getColor(R.color.event_center); in loadEvents()
500 private static final int getDarkerColor(int color) { in getDarkerColor() argument
501 int darker = (color >> 1) & 0x007f7f7f; in getDarkerColor()
502 int alpha = color & 0xff000000; in getDarkerColor()
555 Log.e("Cal", "+ color = " + color); in dump()
DAlertAdapter.java39 int color = cursor.getInt(AlertActivity.INDEX_COLOR); in bindView() local
40 stripe.setBackgroundColor(color); in bindView()
42 textView.setTextColor(color); in bindView()
DAgendaAdapter.java91 int color = cursor.getInt(AgendaWindowAdapter.INDEX_COLOR); in bindView() local
92 holder.calendarColor = color; in bindView()
100 title.setTextColor(color); in bindView()
DCalendarView.java367 mWeek_weekendColor = mResources.getColor(R.color.week_weekend); in init()
368 mCalendarDateBannerTextColor = mResources.getColor(R.color.calendar_date_banner_text_color); in init()
369 mCalendarAllDayBackground = mResources.getColor(R.color.calendar_all_day_background); in init()
370 mCalendarAmPmLabel = mResources.getColor(R.color.calendar_ampm_label); in init()
371 … mCalendarDateBannerBackground = mResources.getColor(R.color.calendar_date_banner_background); in init()
372 mCalendarDateSelected = mResources.getColor(R.color.calendar_date_selected); in init()
373 mCalendarGridAreaBackground = mResources.getColor(R.color.calendar_grid_area_background); in init()
374 mCalendarGridAreaSelected = mResources.getColor(R.color.calendar_grid_area_selected); in init()
375 …mCalendarGridLineHorizontalColor = mResources.getColor(R.color.calendar_grid_line_horizontal_color… in init()
376 … mCalendarGridLineVerticalColor = mResources.getColor(R.color.calendar_grid_line_vertical_color); in init()
[all …]
/packages/wallpapers/Basic/res/raw/
Dgrass.rs60 color(1.0f, 1.0f, 1.0f, a);
112 int color = hsbToAbgr(h, s, lerpf(0, b, brightness), 1.0f);
140 bladeColor[0] = color; // V1.ABGR
145 bladeColor[5] = color; // V1.ABGR
150 bladeColor[10] = color; // V3.ABGR
159 bladeColor[0] = color; // V1.ABGR
164 bladeColor[5] = color; // V2.ABGR
169 bladeColor[10] = color; // V3.ABGR
Ddistort.rs329 color(0.0f, 0.0f, 0.0f, 0.15f);
348 color(1.0f, 1.0f, 1.0f, alpha);
350 color(1.0f, 1.0f, 1.0f, 1.0f);
412 color(1.0f, 1.0f, 1.0f, 1.0f);
441 color(1.0f, 1.0f, 1.0f, 0.4f);
489 color(1.0f, 0.0f, 0.0f, 1.0f);
Dfall.rs202 color(0.0f, 0.0f, 0.0f, alpha * 0.15f);
222 color(1.0f, 1.0f, 1.0f, alpha);
224 color(1.0f, 1.0f, 1.0f, 1.0f);
288 color(1.0f, 1.0f, 1.0f, 1.0f);
/packages/apps/Calculator/src/com/android/calculator2/
DColorButton.java59 CLICK_FEEDBACK_COLOR = res.getColor(R.color.magic_flame); in init()
63 getPaint().setColor(res.getColor(R.color.button_text)); in init()
89 int color = CLICK_FEEDBACK_COLOR | (alpha << 24); in drawMagicFlame() local
91 mFeedbackPaint.setColor(color); in drawMagicFlame()
/packages/apps/IM/src/com/android/im/app/
DMessageView.java67 mMessage.setTextColor(mResources.getColor(R.color.chat_msg)); in bindIncomingMessage()
74 mMessage.setTextColor(mResources.getColor(R.color.chat_msg)); in bindOutgoingMessage()
81 mMessage.setTextColor(mResources.getColor(R.color.chat_msg_presence)); in bindPresenceMessage()
86 mMessage.setTextColor(mResources.getColor(R.color.error)); in bindErrorMessage()
125 mResources.getColor(android.R.color.darker_gray)), in appendTimeStamp()
/packages/apps/Launcher2/res/raw/
Drollo.c268 color(1.0f, 1.0f, 1.0f, 0.99f); in draw_page()
288 color(1.0f, 1.0f, 1.0f, a); in draw_page()
303 color(1.0f, 1.0f, 1.0f, 1.0f); in draw_home_button()
379 color(1.0f, 1.0f, 1.0f, 0.99f); in main()
/packages/inputmethods/PinyinIME/src/com/android/inputmethod/pinyin/
DComposingView.java116 mStrColor = r.getColor(R.color.composing_color); in ComposingView()
117 mStrColorHl = r.getColor(R.color.composing_color_hl); in ComposingView()
118 mStrColorIdle = r.getColor(R.color.composing_color_idle); in ComposingView()
DSkbTemplate.java228 public void setColors(int color, int colorHl, int colorBalloon) { in setColors() argument
229 mColor = color; in setColors()
DCandidateView.java242 mImeCandidateColor = r.getColor(R.color.candidate_color); in CandidateView()
243 mRecommendedCandidateColor = r.getColor(R.color.recommended_candidate_color); in CandidateView()
245 mActiveCandidateColor = r.getColor(R.color.active_candidate_color); in CandidateView()
252 mFootnotePaint.setColor(r.getColor(R.color.footnote_color)); in CandidateView()
/packages/apps/Launcher/src/com/android/launcher/
DDragLayer.java142 final int srcColor = context.getResources().getColor(R.color.delete_color_filter); in DragLayer()
146 int snagColor = context.getResources().getColor(R.color.snag_callout_color); in DragLayer()
185 int color = v.getDrawingCacheBackgroundColor(); in startDrag() local
188 if (color != 0) { in startDrag()
210 v.setDrawingCacheBackgroundColor(color); in startDrag()
/packages/apps/AlarmClock/src/com/android/alarmclock/
DDigitalClock.java78 mColorOn = r.getColor(R.color.ampm_on); in AmPm()
79 mColorOff = r.getColor(R.color.ampm_off); in AmPm()
/packages/apps/Phone/src/com/android/phone/
DCallCard.java169 getResources().getColor(android.R.color.primary_text_dark); in onFinishInflate()
171 getResources().getColor(android.R.color.secondary_text_dark); in onFinishInflate()
172 mTextColorConnected = getResources().getColor(R.color.incall_textConnected); in onFinishInflate()
174 getResources().getColor(R.color.incall_textConnectedBluetooth); in onFinishInflate()
175 mTextColorEnded = getResources().getColor(R.color.incall_textEnded); in onFinishInflate()
176 mTextColorOnHold = getResources().getColor(R.color.incall_textOnHold); in onFinishInflate()
1351 private void setUpperTitle(String title, int color, Call.State state) { in setUpperTitle() argument
1353 mUpperTitle.setTextColor(color); in setUpperTitle()
/packages/apps/Launcher2/src/com/android/launcher2/
DDragController.java249 int color = v.getDrawingCacheBackgroundColor(); in getViewBitmap() local
252 if (color != 0) { in getViewBitmap()
263 v.setDrawingCacheBackgroundColor(color); in getViewBitmap()
/packages/apps/Camera/src/com/android/camera/
DActionMenuButton.java62 .getColor(R.color.bubble_dark_background)); in init()
/packages/apps/DeskClock/src/com/android/deskclock/
DDeskClock.java290 final int color = mDimmed ? SCREEN_SAVER_COLOR_DIM : SCREEN_SAVER_COLOR; in saveScreen() local
292 ((TextView)findViewById(R.id.timeDisplay)).setTextColor(color); in saveScreen()
293 ((TextView)findViewById(R.id.am_pm)).setTextColor(color); in saveScreen()
294 mDate.setTextColor(color); in saveScreen()
295 mNextAlarm.setTextColor(color); in saveScreen()
/packages/apps/Gallery/src/com/android/camera/
DActionMenuButton.java64 .getColor(R.color.bubble_dark_background)); in init()
/packages/inputmethods/LatinIME/src/com/android/inputmethod/latin/
DCandidateView.java126 mColorNormal = context.getResources().getColor(R.color.candidate_normal); in CandidateView()
127 mColorRecommended = context.getResources().getColor(R.color.candidate_recommended); in CandidateView()
128 mColorOther = context.getResources().getColor(R.color.candidate_other); in CandidateView()
/packages/apps/Mms/src/com/android/mms/ui/
DConversationHeaderView.java126 final int color = android.R.styleable.Theme_textColorSecondary; in formatMessage() local
139 buf.setSpan(new TextAppearanceSpan(mContext, size, color), before, in formatMessage()

12