/packages/inputmethods/OpenWnn/src/jp/co/omronsoft/openwnn/ |
D | DefaultSoftKeyboard.java | 644 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/ |
D | KeyVisualAttributes.java | 128 mTextColor = keyAttr.getColor(R.styleable.Keyboard_Key_keyTextColor, 0); in KeyVisualAttributes() 129 mTextInactivatedColor = keyAttr.getColor( in KeyVisualAttributes() 131 mTextShadowColor = keyAttr.getColor(R.styleable.Keyboard_Key_keyTextShadowColor, 0); in KeyVisualAttributes() 132 mFunctionalTextColor = keyAttr.getColor(R.styleable.Keyboard_Key_functionalTextColor, 0); in KeyVisualAttributes() 133 mHintLetterColor = keyAttr.getColor(R.styleable.Keyboard_Key_keyHintLetterColor, 0); in KeyVisualAttributes() 134 mHintLabelColor = keyAttr.getColor(R.styleable.Keyboard_Key_keyHintLabelColor, 0); in KeyVisualAttributes() 135 mShiftedLetterHintInactivatedColor = keyAttr.getColor( in KeyVisualAttributes() 137 mShiftedLetterHintActivatedColor = keyAttr.getColor( in KeyVisualAttributes() 139 mPreviewTextColor = keyAttr.getColor(R.styleable.Keyboard_Key_keyPreviewTextColor, 0); in KeyVisualAttributes()
|
/packages/apps/Dialer/InCallUI/src/com/android/incallui/ |
D | InCallUIMaterialColorMapUtils.java | 35 if (sPrimaryColors.getColor(i, 0) == color) { in calculatePrimaryAndSecondaryColor() 37 sPrimaryColors.getColor(i, 0), in calculatePrimaryAndSecondaryColor() 38 sSecondaryColors.getColor(i, 0)); in calculatePrimaryAndSecondaryColor() 51 final int primaryColor = resources.getColor(R.color.dialer_theme_color); in getDefaultPrimaryAndSecondaryColors() 52 final int secondaryColor = resources.getColor(R.color.dialer_theme_color_dark); in getDefaultPrimaryAndSecondaryColors()
|
/packages/apps/Gallery2/src/com/android/gallery3d/filtershow/imageshow/ |
D | GradControl.java | 69 int grayPointCenterColor = res.getColor(R.color.gradcontrol_graypoint_center); in GradControl() 70 int grayPointEdgeColor = res.getColor(R.color.gradcontrol_graypoint_edge); in GradControl() 71 int pointCenterColor = res.getColor(R.color.gradcontrol_point_center); in GradControl() 72 int pointEdgeColor = res.getColor(R.color.gradcontrol_point_edge); in GradControl() 73 int pointShadowStartColor = res.getColor(R.color.gradcontrol_point_shadow_start); in GradControl() 74 int pointShadowEndColor = res.getColor(R.color.gradcontrol_point_shadow_end); in GradControl() 80 mLineColor = res.getColor(R.color.gradcontrol_line_color); in GradControl() 81 mlineShadowColor = res.getColor(R.color.gradcontrol_line_shadow); in GradControl()
|
/packages/apps/ContactsCommon/src/com/android/contacts/common/util/ |
D | MaterialColorMapUtils.java | 116 final int primaryColor = sPrimaryColors.getColor(i, 0); in calculatePrimaryAndSecondaryColor() 129 return new MaterialPalette(sPrimaryColors.getColor(indexBestMatch, 0), in calculatePrimaryAndSecondaryColor() 130 sSecondaryColors.getColor(indexBestMatch, 0)); in calculatePrimaryAndSecondaryColor() 134 final int primaryColor = resources.getColor( in getDefaultPrimaryAndSecondaryColors() 136 final int secondaryColor = resources.getColor( in getDefaultPrimaryAndSecondaryColors()
|
/packages/apps/Messaging/src/com/android/messaging/util/ |
D | SwitchCompatUtils.java | 73 colors[i] = getColor(Color.parseColor("#ffbdbdbd"), 1f); in getSwitchThumbColorStateList() 96 colors[i] = getColor(color, 0.3f); in getSwitchTrackColorStateList() 112 return context.getResources().getColor(typedValue.resourceId); in getThemeAttrColor() 121 return getColor(color, alpha); in getThemeAttrColor() 124 private static int getColor(int color, float alpha) { in getColor() method in SwitchCompatUtils
|
/packages/apps/Calendar/src/com/android/calendar/month/ |
D | MonthWeekEventsView.java | 319 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 …]
|
D | SimpleWeekView.java | 174 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/Gallery2/src/com/android/gallery3d/app/ |
D | Config.java | 46 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/Messaging/src/com/android/messaging/ui/ |
D | ConversationDrawables.java | 98 mOutgoingBubbleColor = resources.getColor(R.color.message_bubble_color_outgoing); in updateDrawables() 100 resources.getColor(R.color.message_error_bubble_color_incoming); in updateDrawables() 102 resources.getColor(R.color.message_audio_button_color_incoming); in updateDrawables() 103 mSelectedBubbleColor = resources.getColor(R.color.message_bubble_color_selected); in updateDrawables() 104 mThemeColor = resources.getColor(R.color.primary_color); in updateDrawables()
|
/packages/services/Car/car-support-lib/src/android/support/car/ui/ |
D | ColorChecker.java | 36 int lightTintColor = context.getResources().getColor(R.color.car_tint_light); in getTintColor() 37 int darkTintColor = context.getResources().getColor(R.color.car_tint_dark); in getTintColor() 48 int lightTintColor = context.getResources().getColor(R.color.car_tint_light); in getNonCriticalTintColor() 49 int darkTintColor = context.getResources().getColor(R.color.car_tint_dark); in getNonCriticalTintColor()
|
/packages/apps/UnifiedEmail/src/com/android/mail/browse/ |
D | SpamWarningView.java | 33 mHighWarningColor = getResources().getColor(R.color.high_spam_color); in SpamWarningView() 34 mHighWarningBackgroundColor = getResources().getColor( in SpamWarningView() 36 mLowWarningColor = getResources().getColor(R.color.low_spam_color); in SpamWarningView() 37 mLowWarningBackgroundColor = getResources().getColor( in SpamWarningView()
|
/packages/apps/Dialer/src/com/android/dialer/calllog/ |
D | CallTypeIconsView.java | 192 incoming.setColorFilter(r.getColor(R.color.answered_call), PorterDuff.Mode.MULTIPLY); in Resources() 196 outgoing.setColorFilter(r.getColor(R.color.answered_call), PorterDuff.Mode.MULTIPLY); in Resources() 201 missed.setColorFilter(r.getColor(R.color.missed_call), PorterDuff.Mode.MULTIPLY); in Resources() 206 blocked.setColorFilter(r.getColor(R.color.blocked_call), PorterDuff.Mode.MULTIPLY); in Resources() 209 videoCall.setColorFilter(r.getColor(R.color.dialtacts_secondary_text_color), in Resources()
|
/packages/apps/UnifiedEmail/src/com/android/mail/widget/ |
D | WidgetConversationListItemViewBuilder.java | 118 SUBJECT_TEXT_COLOR_READ = res.getColor(R.color.subject_text_color_read); in WidgetConversationListItemViewBuilder() 119 SUBJECT_TEXT_COLOR_UNREAD = res.getColor(R.color.subject_text_color_unread); in WidgetConversationListItemViewBuilder() 120 SNIPPET_TEXT_COLOR = res.getColor(R.color.snippet_text_color); in WidgetConversationListItemViewBuilder() 121 DATE_TEXT_COLOR_READ = res.getColor(R.color.date_text_color_read); in WidgetConversationListItemViewBuilder() 122 DATE_TEXT_COLOR_UNREAD = res.getColor(R.color.date_text_color_unread); in WidgetConversationListItemViewBuilder()
|
/packages/apps/Gallery2/src/com/android/gallery3d/filtershow/state/ |
D | StateView.java | 79 mEndsBackgroundColor = res.getColor(R.color.filtershow_stateview_end_background); in StateView() 80 mEndsTextColor = res.getColor(R.color.filtershow_stateview_end_text); in StateView() 81 mBackgroundColor = res.getColor(R.color.filtershow_stateview_background); in StateView() 82 mTextColor = res.getColor(R.color.filtershow_stateview_text); in StateView() 83 mSelectedBackgroundColor = res.getColor(R.color.filtershow_stateview_selected_background); in StateView() 84 mSelectedTextColor = res.getColor(R.color.filtershow_stateview_selected_text); in StateView()
|
/packages/apps/ContactsCommon/src/com/android/contacts/common/lettertiles/ |
D | LetterTileDrawable.java | 77 sDefaultColor = res.getColor(R.color.letter_tile_default_color); in LetterTileDrawable() 78 sTileFontColor = res.getColor(R.color.letter_tile_font_color); in LetterTileDrawable() 169 public int getColor() { in getColor() method in LetterTileDrawable 184 return sColors.getColor(color, sDefaultColor); in pickColor()
|
/packages/apps/Messaging/tests/src/com/android/messaging/ui/conversationlist/ |
D | ConversationListItemViewTest.java | 114 assertEquals(context.getResources().getColor(R.color.conversation_list_item_unread), in verifyContent() 116 assertEquals(context.getResources().getColor(R.color.conversation_list_item_unread), in verifyContent() 122 assertEquals(context.getResources().getColor(R.color.conversation_list_item_read), in verifyContent() 124 assertEquals(context.getResources().getColor(R.color.conversation_list_item_read), in verifyContent()
|
/packages/apps/UnifiedEmail/src/com/android/mail/ui/ |
D | MaterialSearchActionView.java | 80 mLightBgDrawable = new ColorDrawable(res.getColor(android.R.color.white)); in MaterialSearchActionView() 81 mDarkBgDrawable = new ColorDrawable(res.getColor(R.color.primary_color)); in MaterialSearchActionView() 88 mLightBgTextColor = res.getColor(R.color.search_query_text); in MaterialSearchActionView() 89 mDarkBgTextColor = res.getColor(android.R.color.white); in MaterialSearchActionView()
|
/packages/apps/Calendar/src/com/android/calendar/agenda/ |
D | AgendaAdapter.java | 88 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/UnifiedEmail/src/com/android/mail/bitmap/ |
D | ColorPicker.java | 57 sDefaultColor = res.getColor(R.color.letter_tile_default_color); in PaletteColorPicker() 64 return sColors.getColor(color, sDefaultColor); in pickColor()
|
/packages/apps/Settings/src/com/android/settings/display/ |
D | ConversationMessageView.java | 76 mIconTextColor = a.getColor(R.styleable.ConversationMessageView_iconTextColor, 0); in ConversationMessageView() 77 mIconBackgroundColor = a.getColor(R.styleable.ConversationMessageView_iconBackgroundColor, in ConversationMessageView() 220 context.getColor(bubbleColorResId)); in updateViewAppearance() 246 final int messageColor = getContext().getColor(messageColorResId); in updateTextAppearance()
|
/packages/apps/Calendar/src/com/android/calendar/alerts/ |
D | AlertAdapter.java | 90 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/services/Car/car-ui-provider/src/android/car/ui/provider/ |
D | CarDrawerLayout.java | 271 mEndingViewColor = getResources().getColor(R.color.car_tint); in CarDrawerLayout() 273 mEdgeHighlightPaint.setColor(getResources().getColor(android.R.color.black)); in CarDrawerLayout() 293 setScrimColor(ta.getColor(0, context.getResources().getColor(R.color.car_grey_900))); in CarDrawerLayout() 470 mStartingViewColor = getResources().getColor(R.color.car_title_light); in setLightMode() 471 mEndingViewColor = getResources().getColor(R.color.car_tint); in setLightMode() 480 mStartingViewColor = getResources().getColor(R.color.car_title_dark); in setDarkMode() 481 mEndingViewColor = getResources().getColor(R.color.car_tint); in setDarkMode() 490 mStartingViewColor = getResources().getColor(R.color.car_title); in setAutoDayNightMode() 491 mEndingViewColor = getResources().getColor(R.color.car_tint); in setAutoDayNightMode()
|
/packages/apps/ContactsCommon/src/com/android/contacts/common/vcard/ |
D | NotificationImportExportListener.java | 227 .setColor(context.getResources().getColor(R.color.dialtacts_theme_color)) in constructProgressNotification() 251 .setColor(context.getResources().getColor(R.color.dialtacts_theme_color)) in constructCancelNotification() 280 .setColor(context.getResources().getColor(R.color.dialtacts_theme_color)) in constructFinishNotificationWithFlags() 303 .setColor(context.getResources().getColor(R.color.dialtacts_theme_color)) in constructImportFailureNotification()
|
/packages/apps/Contacts/src/com/android/contacts/interactions/ |
D | CallLogInteraction.java | 116 callArrow.setColorFilter(res.getColor(R.color.call_arrow_green), in getFooterIcon() 121 callArrow.setColorFilter(res.getColor(R.color.call_arrow_red), in getFooterIcon() 126 callArrow.setColorFilter(res.getColor(R.color.call_arrow_green), in getFooterIcon()
|