Home
last modified time | relevance | path

Searched refs:getColor (Results 1 – 25 of 101) sorted by relevance

12345

/packages/inputmethods/OpenWnn/src/jp/co/omronsoft/openwnn/
DDefaultSoftKeyboard.java644 text1.setTextColor(res.getColor(R.color.indicator_textcolor_caps_off)); in updateIndicator()
645 text2.setTextColor(res.getColor(R.color.indicator_textcolor_alt_off)); in updateIndicator()
646 text1.setBackgroundColor(res.getColor(R.color.indicator_textbackground_default)); in updateIndicator()
647 text2.setBackgroundColor(res.getColor(R.color.indicator_textbackground_default)); in updateIndicator()
650 text1.setTextColor(res.getColor(R.color.indicator_textcolor_caps_on)); in updateIndicator()
651 text2.setTextColor(res.getColor(R.color.indicator_textcolor_alt_off)); in updateIndicator()
652 text1.setBackgroundColor(res.getColor(R.color.indicator_textbackground_default)); in updateIndicator()
653 text2.setBackgroundColor(res.getColor(R.color.indicator_textbackground_default)); in updateIndicator()
656 text1.setTextColor(res.getColor(R.color.indicator_textcolor_caps_lock)); in updateIndicator()
657 text2.setTextColor(res.getColor(R.color.indicator_textcolor_alt_off)); in updateIndicator()
[all …]
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/keyboard/internal/
DKeyVisualAttributes.java118 mTextColor = keyAttr.getColor(R.styleable.Keyboard_Key_keyTextColor, 0); in KeyVisualAttributes()
119 mTextInactivatedColor = keyAttr.getColor( in KeyVisualAttributes()
121 mTextShadowColor = keyAttr.getColor(R.styleable.Keyboard_Key_keyTextShadowColor, 0); in KeyVisualAttributes()
122 mHintLetterColor = keyAttr.getColor(R.styleable.Keyboard_Key_keyHintLetterColor, 0); in KeyVisualAttributes()
123 mHintLabelColor = keyAttr.getColor(R.styleable.Keyboard_Key_keyHintLabelColor, 0); in KeyVisualAttributes()
124 mShiftedLetterHintInactivatedColor = keyAttr.getColor( in KeyVisualAttributes()
126 mShiftedLetterHintActivatedColor = keyAttr.getColor( in KeyVisualAttributes()
128 mPreviewTextColor = keyAttr.getColor(R.styleable.Keyboard_Key_keyPreviewTextColor, 0); in KeyVisualAttributes()
/packages/apps/Gallery2/src/com/android/gallery3d/app/
DConfig.java46 placeholderColor = r.getColor(R.color.albumset_placeholder); in AlbumSetPage()
74 labelSpec.backgroundColor = r.getColor( in AlbumSetPage()
76 labelSpec.titleColor = r.getColor(R.color.albumset_label_title); in AlbumSetPage()
77 labelSpec.countColor = r.getColor(R.color.albumset_label_count); in AlbumSetPage()
97 placeholderColor = r.getColor(R.color.album_placeholder); in AlbumPage()
/packages/apps/Calendar/src/com/android/calendar/month/
DMonthWeekEventsView.java319 mMonthWeekNumColor = res.getColor(R.color.month_week_num_color); in loadColors()
320 mMonthNumColor = res.getColor(R.color.month_day_number); in loadColors()
321 mMonthNumOtherColor = res.getColor(R.color.month_day_number_other); in loadColors()
322 mMonthNumTodayColor = res.getColor(R.color.month_today_number); in loadColors()
325 mMonthEventColor = res.getColor(R.color.month_event_color); in loadColors()
326 mMonthDeclinedEventColor = res.getColor(R.color.agenda_item_declined_color); in loadColors()
327 mMonthDeclinedExtrasColor = res.getColor(R.color.agenda_item_where_declined_text_color); in loadColors()
328 mMonthEventExtraColor = res.getColor(R.color.month_event_extra_color); in loadColors()
329 mMonthEventOtherColor = res.getColor(R.color.month_event_other_color); in loadColors()
330 mMonthEventExtraOtherColor = res.getColor(R.color.month_event_extra_other_color); in loadColors()
[all …]
DSimpleWeekView.java174 mBGColor = res.getColor(R.color.month_bgcolor); in SimpleWeekView()
175 mSelectedWeekBGColor = res.getColor(R.color.month_selected_week_bgcolor); in SimpleWeekView()
176 mFocusMonthColor = res.getColor(R.color.month_mini_day_number); in SimpleWeekView()
177 mOtherMonthColor = res.getColor(R.color.month_other_month_day_number); in SimpleWeekView()
178 mDaySeparatorColor = res.getColor(R.color.month_grid_lines); in SimpleWeekView()
179 mTodayOutlineColor = res.getColor(R.color.mini_month_today_outline_color); in SimpleWeekView()
180 mWeekNumColor = res.getColor(R.color.month_week_num_color); in SimpleWeekView()
/packages/apps/Email/src/com/android/email/activity/
DMessageListItem.java193 DEFAULT_TEXT_COLOR = r.getColor(R.color.default_text_color); in init()
194 ACTIVATED_TEXT_COLOR = r.getColor(android.R.color.white); in init()
195 SUBJECT_TEXT_COLOR_READ = r.getColor(R.color.subject_text_color_read); in init()
196 SUBJECT_TEXT_COLOR_UNREAD = r.getColor(R.color.subject_text_color_unread); in init()
197 SNIPPET_TEXT_COLOR_READ = r.getColor(R.color.snippet_text_color_read); in init()
198 SNIPPET_TEXT_COLOR_UNREAD = r.getColor(R.color.snippet_text_color_unread); in init()
199 SENDERS_TEXT_COLOR_READ = r.getColor(R.color.senders_text_color_read); in init()
200 SENDERS_TEXT_COLOR_UNREAD = r.getColor(R.color.senders_text_color_unread); in init()
201 DATE_TEXT_COLOR_READ = r.getColor(R.color.date_text_color_read); in init()
202 DATE_TEXT_COLOR_UNREAD = r.getColor(R.color.date_text_color_unread); in init()
DMailboxListItem.java82 sDropAvailableBgColor = res.getColor(R.color.mailbox_drop_available_bg_color); in onFinishInflate()
83 sDropTrashBgColor = res.getColor(R.color.mailbox_drop_destructive_bg_color); in onFinishInflate()
/packages/apps/Contacts/src/com/android/contacts/calllog/
DCallTypeHelper.java47 mNewMissedColor = resources.getColor(R.color.call_log_missed_call_highlight_color); in CallTypeHelper()
48 mNewVoicemailColor = resources.getColor(R.color.call_log_voicemail_highlight_color); in CallTypeHelper()
/packages/apps/Calendar/src/com/android/calendar/alerts/
DAlertAdapter.java90 mPastEventColor = res.getColor(R.color.alert_past_event); in updateView()
91 mTitleColor = res.getColor(R.color.alert_event_title); in updateView()
92 mOtherColor = res.getColor(R.color.alert_event_other); in updateView()
/packages/apps/Contacts/src/com/android/contacts/list/
DContactListPinnedHeaderView.java63 mHeaderTextColor = a.getColor( in ContactListPinnedHeaderView()
69 mHeaderUnderlineColor = a.getColor( in ContactListPinnedHeaderView()
77 mContactsCountTextColor = a.getColor( in ContactListPinnedHeaderView()
/packages/inputmethods/PinyinIME/src/com/android/inputmethod/pinyin/
DXmlKeyboardLoader.java365 globalColor = getColor(xrp, XMLATTR_COLOR, 0); in loadSkbTemplate()
366 globalColorHl = getColor(xrp, XMLATTR_COLOR_HIGHLIGHT, in loadSkbTemplate()
368 globalColorBalloon = getColor(xrp, in loadSkbTemplate()
375 int color = getColor(xrp, XMLATTR_COLOR, globalColor); in loadSkbTemplate()
376 int colorHl = getColor(xrp, XMLATTR_COLOR_HIGHLIGHT, in loadSkbTemplate()
378 int colorBalloon = getColor(xrp, XMLATTR_COLOR_BALLOON, in loadSkbTemplate()
770 private int getColor(XmlResourceParser xrp, String name, int defValue) { in getColor() method in XmlKeyboardLoader
783 return mContext.getResources().getColor(resId); in getColor()
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()
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/Mms/src/com/android/mms/widget/
DMmsWidgetService.java88 SENDERS_TEXT_COLOR_READ = res.getColor(R.color.widget_sender_text_color_read); in MmsFactory()
89 SENDERS_TEXT_COLOR_UNREAD = res.getColor(R.color.widget_sender_text_color_unread); in MmsFactory()
90 SUBJECT_TEXT_COLOR_READ = res.getColor(R.color.widget_subject_text_color_read); in MmsFactory()
91 SUBJECT_TEXT_COLOR_UNREAD = res.getColor(R.color.widget_subject_text_color_unread); in MmsFactory()
262 mContext.getResources().getColor(R.drawable.text_color_red)),
/packages/apps/Calendar/src/com/android/calendar/agenda/
DAgendaAdapter.java88 mDeclinedColor = mResources.getColor(R.color.agenda_item_declined_color); in AgendaAdapter()
89 mStandardColor = mResources.getColor(R.color.agenda_item_standard_color); in AgendaAdapter()
90 mWhereDeclinedColor = mResources.getColor(R.color.agenda_item_where_declined_text_color); in AgendaAdapter()
91 mWhereColor = mResources.getColor(R.color.agenda_item_where_text_color); in AgendaAdapter()
/packages/apps/Camera/src/com/android/camera/ui/
DFaceView.java85 mFocusingColor = res.getColor(R.color.face_detect_start); in FaceView()
86 mFocusedColor = res.getColor(R.color.face_detect_success); in FaceView()
87 mFailColor = res.getColor(R.color.face_detect_fail); in FaceView()
/packages/apps/Calendar/src/com/android/calendar/selectcalendars/
DSelectCalendarsSimpleAdapter.java89 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()
/packages/apps/DeskClock/src/com/android/deskclock/timer/
DTimerView.java48 mWhiteColor = context.getResources().getColor(R.color.clock_white); in TimerView()
49 mGrayColor = context.getResources().getColor(R.color.clock_gray); in TimerView()
/packages/apps/Gallery2/src/com/android/gallery3d/ui/
DGLPaint.java30 public int getColor() { in getColor() method in GLPaint
/packages/apps/Launcher2/src/com/android/launcher2/
DStrokedTextView.java63 mStrokeColor = a.getColor(R.styleable.StrokedTextView_strokeColor, 0xFF000000); in init()
65 mTextColor = a.getColor(R.styleable.StrokedTextView_strokeTextColor, 0xFFFFFFFF); in init()
/packages/apps/Settings/src/com/android/settings/widget/
DChartNetworkSeriesView.java92 final int stroke = a.getColor(R.styleable.ChartNetworkSeriesView_strokeColor, Color.RED); in ChartNetworkSeriesView()
93 final int fill = a.getColor(R.styleable.ChartNetworkSeriesView_fillColor, Color.RED); in ChartNetworkSeriesView()
94 final int fillSecondary = a.getColor( in ChartNetworkSeriesView()
/packages/apps/VideoEditor/src/com/android/videoeditor/widgets/
DPlayheadView.java55 mLinePaint.setColor(resources.getColor(R.color.playhead_tick_color)); in PlayheadView()
62 mTextPaint.setColor(resources.getColor(R.color.playhead_tick_color)); in PlayheadView()
/packages/apps/LegacyCamera/src/com/android/camera/ui/
DZoomControlWheel.java78 HIGHLIGHT_COLOR = resources.getColor(R.color.review_control_pressed_color); in ZoomControlWheel()
79 TRAIL_COLOR = resources.getColor(R.color.icon_disabled_color); in ZoomControlWheel()
/packages/apps/Settings/src/com/android/settings/deviceinfo/
DStorageItemPreference.java42 this.color = context.getResources().getColor(colorRes); in StorageItemPreference()
/packages/apps/Browser/src/com/android/browser/view/
DPieListView.java35 mBgPaint.setColor(ctx.getResources().getColor(R.color.qcMenuBackground)); in PieListView()

12345