/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/apps/Contacts/src/com/android/contacts/util/ |
D | MaterialColorMapUtils.java | 119 final int primaryColor = sPrimaryColors.getColor(i, 0); in calculatePrimaryAndSecondaryColor() 132 return new MaterialPalette(sPrimaryColors.getColor(indexBestMatch, 0), in calculatePrimaryAndSecondaryColor() 133 sSecondaryColors.getColor(indexBestMatch, 0)); in calculatePrimaryAndSecondaryColor() 137 final int primaryColor = resources.getColor( in getDefaultPrimaryAndSecondaryColors() 139 final int secondaryColor = resources.getColor( in getDefaultPrimaryAndSecondaryColors() 191 ? ContextCompat.getColor(activity, R.color.group_primary_color_dark) in getStatusBarColor() 192 : ContextCompat.getColor(activity, R.color.primary_color_dark); in getStatusBarColor() 202 ? ContextCompat.getColor(activity, R.color.group_primary_color) in getToolBarColor() 203 : ContextCompat.getColor(activity, R.color.primary_color); in getToolBarColor()
|
/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/java/com/android/incallui/ |
D | ThemeColorManager.java | 72 backgroundColorTop = context.getColor(R.color.incall_background_gradient_spam_top); in updateThemeColors() 73 backgroundColorMiddle = context.getColor(R.color.incall_background_gradient_spam_middle); in updateThemeColors() 74 backgroundColorBottom = context.getColor(R.color.incall_background_gradient_spam_bottom); in updateThemeColors() 75 backgroundColorSolid = context.getColor(R.color.incall_background_multiwindow_spam); in updateThemeColors() 79 backgroundColorTop = context.getColor(R.color.incall_background_gradient_top); in updateThemeColors() 80 backgroundColorMiddle = context.getColor(R.color.incall_background_gradient_middle); in updateThemeColors() 81 backgroundColorBottom = context.getColor(R.color.incall_background_gradient_bottom); in updateThemeColors() 82 backgroundColorSolid = context.getColor(R.color.incall_background_multiwindow); in updateThemeColors()
|
D | InCallUIMaterialColorMapUtils.java | 42 final int primaryColor = resources.getColor(R.color.dialer_theme_color); in getDefaultPrimaryAndSecondaryColors() 43 final int secondaryColor = resources.getColor(R.color.dialer_theme_color_dark); in getDefaultPrimaryAndSecondaryColors() 59 if (mPrimaryColors.getColor(i, 0) == color) { in calculatePrimaryAndSecondaryColor() 60 return new MaterialPalette(mPrimaryColors.getColor(i, 0), mSecondaryColors.getColor(i, 0)); in calculatePrimaryAndSecondaryColor()
|
/packages/apps/Car/Radio/src/com/android/car/radio/ |
D | RadioChannelColorMapper.java | 53 mDefaultColor = context.getColor(R.color.car_radio_bg_color); in RadioChannelColorMapper() 54 mAmRange1Color = context.getColor(R.color.am_range_1_bg_color); in RadioChannelColorMapper() 55 mAmRange2Color = context.getColor(R.color.am_range_2_bg_color); in RadioChannelColorMapper() 56 mAmRange3Color = context.getColor(R.color.am_range_3_bg_color); in RadioChannelColorMapper() 57 mFmRange1Color = context.getColor(R.color.fm_range_1_bg_color); in RadioChannelColorMapper() 58 mFmRange2Color = context.getColor(R.color.fm_range_2_bg_color); in RadioChannelColorMapper() 59 mFmRange3Color = context.getColor(R.color.fm_range_3_bg_color); in RadioChannelColorMapper()
|
/packages/apps/ManagedProvisioning/tests/instrumentation/src/com/android/managedprovisioning/model/ |
D | CustomizationParamsTest.java | 60 assertThat(instance.statusBarColor, equalTo(getColor(DEFAULT_COLOR_ID_MP))); in defaultColorManagedProfile() 61 assertThat(instance.swiperColor, equalTo(getColor(DEFAULT_COLOR_ID_SWIPER))); in defaultColorManagedProfile() 62 assertThat(instance.buttonColor, equalTo(getColor(DEFAULT_COLOR_ID_BUTTON))); in defaultColorManagedProfile() 74 assertThat(instance.statusBarColor, equalTo(getColor(DEFAULT_COLOR_ID_DO))); in defaultColorDeviceOwner() 75 assertThat(instance.swiperColor, equalTo(getColor(DEFAULT_COLOR_ID_SWIPER))); in defaultColorDeviceOwner() 76 assertThat(instance.buttonColor, equalTo(getColor(DEFAULT_COLOR_ID_BUTTON))); in defaultColorDeviceOwner() 180 private int getColor(int gray_status_bar) { in getColor() method in CustomizationParamsTest 181 return mContext.getColor(gray_status_bar); in getColor()
|
/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/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/Dialer/java/com/android/dialer/calllogutils/ |
D | CallTypeIconsView.java | 247 incoming.setColorFilter(r.getColor(R.color.answered_call), PorterDuff.Mode.MULTIPLY); in Resources() 253 outgoing.setColorFilter(r.getColor(R.color.answered_call), PorterDuff.Mode.MULTIPLY); in Resources() 260 missed.setColorFilter(r.getColor(R.color.missed_call), PorterDuff.Mode.MULTIPLY); in Resources() 265 voicemail.setColorFilter(r.getColor(R.color.call_type_icon_color), PorterDuff.Mode.MULTIPLY); in Resources() 270 blocked.setColorFilter(r.getColor(R.color.blocked_call), PorterDuff.Mode.MULTIPLY); in Resources() 275 videoCall.setColorFilter(r.getColor(R.color.call_type_icon_color), PorterDuff.Mode.MULTIPLY); in Resources() 280 hdCall.setColorFilter(r.getColor(R.color.call_type_icon_color), PorterDuff.Mode.MULTIPLY); in Resources() 285 wifiCall.setColorFilter(r.getColor(R.color.call_type_icon_color), PorterDuff.Mode.MULTIPLY); in Resources()
|
/packages/services/Car/tests/InstrumentClusterRendererSample/src/com/android/car/cluster/sample/ |
D | ClusterView.java | 150 int c = getResources().getColor(R.color.hangout_background, null); in handleHangoutMessage() 204 getResources().getColor(R.color.media_background_dark, null), in createMediaCard() 205 getResources().getColor(R.color.media_background, null)); in createMediaCard() 211 int c = getResources().getColor(R.color.phone_background, null); in createMediaCard() 217 getResources().getColor(R.color.media_icon_foreground, null)); in createMediaCard() 232 card.setBackgroundColor(getResources().getColor(R.color.weather_blue_sky, null)); in createWeatherCard() 264 getResources().getColor(R.color.phone_background_dark, null), in updateContactImage() 265 getResources().getColor(R.color.phone_background, null)); in updateContactImage() 271 int c = getResources().getColor(R.color.phone_background, null); in updateContactImage()
|
/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/TV/src/com/android/tv/dvr/ui/list/ |
D | ScheduleRowPresenter.java | 274 mTimeView.setTextColor(mInfoContainer.getResources().getColor(R.color in greyOutInfo() 276 mProgramTitleView.setTextColor(mInfoContainer.getResources().getColor(R.color in greyOutInfo() 278 mInfoSeparatorView.setTextColor(mInfoContainer.getResources().getColor(R.color in greyOutInfo() 280 mChannelNameView.setTextColor(mInfoContainer.getResources().getColor(R.color in greyOutInfo() 282 mConflictInfoView.setTextColor(mInfoContainer.getResources().getColor(R.color in greyOutInfo() 290 mTimeView.setTextColor(mInfoContainer.getResources().getColor(R.color in whiteBackInfo() 292 mProgramTitleView.setTextColor(mInfoContainer.getResources().getColor(R.color in whiteBackInfo() 294 mInfoSeparatorView.setTextColor(mInfoContainer.getResources().getColor(R.color in whiteBackInfo() 296 mChannelNameView.setTextColor(mInfoContainer.getResources().getColor(R.color in whiteBackInfo() 298 mConflictInfoView.setTextColor(mInfoContainer.getResources().getColor(R.color in whiteBackInfo()
|
/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/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/Car/libs/car-apps-common/src/com/android/car/apps/common/ |
D | ColorChecker.java | 39 int lightTintColor = context.getResources().getColor(R.color.car_tint_light); in getTintColor() 40 int darkTintColor = context.getResources().getColor(R.color.car_tint_dark); in getTintColor() 51 int lightTintColor = context.getResources().getColor(R.color.car_tint_light); in getNonCriticalTintColor() 52 int darkTintColor = context.getResources().getColor(R.color.car_tint_dark); in getNonCriticalTintColor()
|
/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/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/DeskClock/src/com/android/deskclock/alarms/ |
D | AlarmNotifications.java | 94 .setColor(ContextCompat.getColor(context, R.color.default_background)) in showLowPriorityNotification() 142 .setColor(ContextCompat.getColor(context, R.color.default_background)) in showHighPriorityNotification() 249 .setColor(ContextCompat.getColor(context, R.color.default_background)) in updateUpcomingAlarmGroupNotification() 283 .setColor(ContextCompat.getColor(context, R.color.default_background)) in updateMissedAlarmGroupNotification() 305 .setColor(ContextCompat.getColor(context, R.color.default_background)) in showSnoozeNotification() 349 .setColor(ContextCompat.getColor(context, R.color.default_background)) in showMissedNotification() 390 .setColor(ContextCompat.getColor(service, R.color.default_background)) in showAlarmNotification()
|
/packages/apps/Car/Hvac/src/com/android/car/hvac/ui/ |
D | TemperatureBarOverlay.java | 126 mTempColor1 = res.getColor(R.color.temperature_1); in onFinishInflate() 127 mTempColor2 = res.getColor(R.color.temperature_2); in onFinishInflate() 128 mTempColor3 = res.getColor(R.color.temperature_3); in onFinishInflate() 129 mTempColor4 = res.getColor(R.color.temperature_4); in onFinishInflate() 130 mTempColor5 = res.getColor(R.color.temperature_5); in onFinishInflate() 132 mOffColor = res.getColor(R.color.hvac_temperature_off_text_bg_color); in onFinishInflate()
|
/packages/apps/Car/Stream/src/com/android/car/stream/media/ |
D | MediaAppInfo.java | 149 context.getColor(android.R.color.holo_green_light); in fetchAppColors() 150 mPrimaryColor = ta.getColor(0, defaultColor); in fetchAppColors() 151 mAccentColor = ta.getColor(1, defaultColor); in fetchAppColors() 152 mPrimaryColorDark = ta.getColor(2, defaultColor); in fetchAppColors()
|
/packages/apps/Dialer/java/com/android/contacts/common/lettertiles/ |
D | LetterTileDrawable.java | 120 mSpamColor = res.getColor(R.color.spam_contact_background); in LetterTileDrawable() 121 mDefaultColor = res.getColor(R.color.letter_tile_default_color); in LetterTileDrawable() 122 mTileFontColor = res.getColor(R.color.letter_tile_font_color); in LetterTileDrawable() 246 public int getColor() { in getColor() method in LetterTileDrawable 271 return mColors.getColor(color, mDefaultColor); in pickColor()
|
/packages/apps/ManagedProvisioning/tests/instrumentation/src/com/android/managedprovisioning/preprovisioning/ |
D | PreProvisioningActivityTest.java | 92 v.assertStatusBarColorCorrect(activity.getColor(DEFAULT_COLOR_ID_MP)); in profileOwnerDefaultColors() 93 v.assertSwiperColorCorrect(activity.getColor(DEFAULT_COLOR_ID_SWIPER)); in profileOwnerDefaultColors() 94 v.assertNextButtonColorCorrect(activity.getColor(DEFAULT_COLOR_ID_BUTTON)); in profileOwnerDefaultColors() 112 int color = activity.getColor(DEFAULT_COLOR_ID_DO); in deviceOwnerDefaultColorsAndLogo()
|