/packages/apps/Dialer/java/com/android/dialer/theme/base/impl/ |
D | AospThemeImpl.java | 73 colorPrimary = array.getColor(/* index= */ 0, /* defValue= */ -1); in AospThemeImpl() 74 colorPrimaryDark = array.getColor(/* index= */ 1, /* defValue= */ -1); in AospThemeImpl() 75 colorAccent = array.getColor(/* index= */ 2, /* defValue= */ -1); in AospThemeImpl() 76 textColorPrimary = array.getColor(/* index= */ 3, /* defValue= */ -1); in AospThemeImpl() 77 textColorSecondary = array.getColor(/* index= */ 4, /* defValue= */ -1); in AospThemeImpl() 78 textColorPrimaryInverse = array.getColor(/* index= */ 5, /* defValue= */ -1); in AospThemeImpl() 79 textColorHint = array.getColor(/* index= */ 6, /* defValue= */ -1); in AospThemeImpl() 80 colorBackground = array.getColor(/* index= */ 7, /* defValue= */ -1); in AospThemeImpl() 81 colorBackgroundFloating = array.getColor(/* index= */ 8, /* defValue= */ -1); in AospThemeImpl() 82 colorIcon = array.getColor(/* index= */ 9, /* defValue= */ -1); in AospThemeImpl() [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 | 74 backgroundColorTop = context.getColor(R.color.incall_background_gradient_spam_top); in updateThemeColors() 75 backgroundColorMiddle = context.getColor(R.color.incall_background_gradient_spam_middle); in updateThemeColors() 76 backgroundColorBottom = context.getColor(R.color.incall_background_gradient_spam_bottom); in updateThemeColors() 77 backgroundColorSolid = context.getColor(R.color.incall_background_multiwindow_spam); in updateThemeColors() 80 backgroundColorTop = context.getColor(R.color.incall_background_gradient_top); in updateThemeColors() 81 backgroundColorMiddle = context.getColor(R.color.incall_background_gradient_middle); in updateThemeColors() 82 backgroundColorBottom = context.getColor(R.color.incall_background_gradient_bottom); in updateThemeColors() 83 backgroundColorSolid = context.getColor(R.color.incall_background_multiwindow); in updateThemeColors()
|
/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/services/Car/tests/EmbeddedKitchenSinkApp/src/com/google/android/car/kitchensink/notification/ |
D | NotificationFragment.java | 140 .setColor(mContext.getColor(android.R.color.holo_orange_dark)) in initCarCategoriesButton() 153 .setColor(mContext.getColor(android.R.color.holo_orange_light)) in initCarCategoriesButton() 184 .setColor(mContext.getColor(android.R.color.holo_red_light)) in initImportanceHighBotton() 293 .setColor(mContext.getColor(android.R.color.holo_green_light)) in initMessagingStyleButton() 328 .setColor(mContext.getColor(android.R.color.holo_green_light)) in initTestMessagesButton() 375 .setColor(mContext.getColor(android.R.color.holo_purple)) in initProgressButton() 392 .setColor(mContext.getColor(android.R.color.holo_purple)) in initProgressButton() 422 .setColor(mContext.getColor(android.R.color.holo_green_dark)) in initNavigationButton() 451 .setColor(mContext.getColor(android.R.color.holo_green_dark)) in initNavigationButton() 477 .setColor(mContext.getColor(android.R.color.holo_orange_dark)) in initMediaButton() [all …]
|
/packages/apps/DocumentsUI/tests/unit/com/android/documentsui/ui/ |
D | DarkThemeUiTest.java | 51 mTheme.getResources().getColor(com.android.documentsui.R.color.app_background_color, in themeNightModeEnable_actionBarColorShouldBeDark() 70 mTheme.getResources().getColor(android.R.color.black, mTheme)); in themeNightModeEnable_navigationBarColorShouldBeDark() 76 mTheme.getResources().getColor(com.android.documentsui.R.color.app_background_color, in themeNightModeEnable_windowBackgroundColorShouldBeDark() 83 mTheme.getResources().getColor(com.android.documentsui.R.color.app_background_color, in themeNightModeEnable_statusBarColorShouldBeDark() 90 mTheme.getResources().getColor(com.android.documentsui.R.color.primary, mTheme)); in appCompatThemeNightModeEnable_colorPrimaryShouldBeThemeable()
|
/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/ThemePicker/src/com/android/customization/model/theme/custom/ |
D | ColorOptionsProvider.java | 99 int lightColor = overlayRes.getColor( in loadOptions() 102 int darkColor = overlayRes.getColor( in loadOptions() 123 lightColor = r.getColor( in addDefault() 126 darkColor = r.getColor( in addDefault() 132 lightColor = system.getColor( in addDefault() 135 darkColor = system.getColor( in addDefault()
|
/packages/apps/WallpaperPicker2/src/com/android/wallpaper/picker/individual/ |
D | IndividualPickerFragment.java | 707 getResources().getColor(R.color.rotation_tile_enabled_background_color)); in RotationHolder() 710 getResources().getColor(R.color.rotation_tile_enabled_title_text_color)); in RotationHolder() 712 getResources().getColor(R.color.rotation_tile_enabled_subtitle_text_color)); in RotationHolder() 714 … getResources().getColor(R.color.rotation_tile_enabled_refresh_icon_color), Mode.SRC_IN); in RotationHolder() 747 … ? getResources().getColor(R.color.rotation_tile_not_enabled_background_color) in bindRotationInitializationState() 748 … : getResources().getColor(R.color.rotation_tile_enabled_background_color); in bindRotationInitializationState() 751 … ? getResources().getColor(R.color.rotation_tile_not_enabled_title_text_color) in bindRotationInitializationState() 752 … : getResources().getColor(R.color.rotation_tile_enabled_title_text_color); in bindRotationInitializationState() 755 … ? getResources().getColor(R.color.rotation_tile_not_enabled_subtitle_text_color) in bindRotationInitializationState() 756 … : getResources().getColor(R.color.rotation_tile_enabled_subtitle_text_color); in bindRotationInitializationState() [all …]
|
/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/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/TV/src/com/android/tv/dvr/ui/list/ |
D | ScheduleRowPresenter.java | 299 .getColor(R.color.dvr_schedules_item_info_grey, null)); in greyOutInfo() 303 .getColor(R.color.dvr_schedules_item_info_grey, null)); in greyOutInfo() 307 .getColor(R.color.dvr_schedules_item_info_grey, null)); in greyOutInfo() 311 .getColor(R.color.dvr_schedules_item_info_grey, null)); in greyOutInfo() 315 .getColor(R.color.dvr_schedules_item_info_grey, null)); in greyOutInfo() 321 mInfoContainer.getResources().getColor(R.color.dvr_schedules_item_info, null)); in whiteBackInfo() 323 mInfoContainer.getResources().getColor(R.color.dvr_schedules_item_main, null)); in whiteBackInfo() 325 mInfoContainer.getResources().getColor(R.color.dvr_schedules_item_info, null)); in whiteBackInfo() 327 mInfoContainer.getResources().getColor(R.color.dvr_schedules_item_info, null)); in whiteBackInfo() 329 mInfoContainer.getResources().getColor(R.color.dvr_schedules_item_info, null)); in whiteBackInfo() [all …]
|
/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/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/biometrics/face/ |
D | ParticleCollection.java | 82 colors.add(resources.getColor(R.color.face_anim_particle_color_1, theme)); in ParticleCollection() 83 colors.add(resources.getColor(R.color.face_anim_particle_color_2, theme)); in ParticleCollection() 84 colors.add(resources.getColor(R.color.face_anim_particle_color_3, theme)); in ParticleCollection() 85 colors.add(resources.getColor(R.color.face_anim_particle_color_4, theme)); in ParticleCollection()
|
/packages/apps/Settings/src/com/android/settings/biometrics/face/ |
D | ParticleCollection.java | 82 colors.add(resources.getColor(R.color.face_anim_particle_color_1, theme)); in ParticleCollection() 83 colors.add(resources.getColor(R.color.face_anim_particle_color_2, theme)); in ParticleCollection() 84 colors.add(resources.getColor(R.color.face_anim_particle_color_3, theme)); in ParticleCollection() 85 colors.add(resources.getColor(R.color.face_anim_particle_color_4, theme)); in ParticleCollection()
|
/packages/apps/Settings/src/com/android/settings/wifi/qrcode/ |
D | QrDecorateView.java | 81 mCornerColor = context.getResources().getColor(R.color.qr_corner_line_color); in QrDecorateView() 82 mFocusedCornerColor = context.getResources().getColor(R.color.qr_focused_corner_line_color); in QrDecorateView() 83 mBackgroundColor = context.getResources().getColor(R.color.qr_background_color); in QrDecorateView() 90 mTransparentPaint.setColor(getResources().getColor(android.R.color.transparent)); in QrDecorateView()
|
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/wifi/qrcode/ |
D | QrDecorateView.java | 81 mCornerColor = context.getResources().getColor(R.color.qr_corner_line_color); in QrDecorateView() 82 mFocusedCornerColor = context.getResources().getColor(R.color.qr_focused_corner_line_color); in QrDecorateView() 83 mBackgroundColor = context.getResources().getColor(R.color.qr_background_color); in QrDecorateView() 90 mTransparentPaint.setColor(getResources().getColor(android.R.color.transparent)); in QrDecorateView()
|
/packages/apps/Car/Hvac/src/com/android/car/hvac/ui/ |
D | TemperatureBarOverlay.java | 127 mTempColor1 = res.getColor(R.color.temperature_1); in onFinishInflate() 128 mTempColor2 = res.getColor(R.color.temperature_2); in onFinishInflate() 129 mTempColor3 = res.getColor(R.color.temperature_3); in onFinishInflate() 130 mTempColor4 = res.getColor(R.color.temperature_4); in onFinishInflate() 131 mTempColor5 = res.getColor(R.color.temperature_5); in onFinishInflate() 133 mOffColor = res.getColor(R.color.hvac_temperature_off_text_bg_color); in onFinishInflate()
|
/packages/apps/ManagedProvisioning/tests/instrumentation/src/com/android/managedprovisioning/model/ |
D | CustomizationParamsTest.java | 72 assertThat(instance.statusBarColor, equalTo(getColor(DEFAULT_STATUS_BAR_COLOR_ID))); in defaultColorManagedProfile() 85 assertThat(instance.statusBarColor, equalTo(getColor(DEFAULT_STATUS_BAR_COLOR_ID))); in defaultColorDeviceOwner() 189 private int getColor(int colorId) { in getColor() method in CustomizationParamsTest 190 return mContext.getColor(colorId); in getColor()
|
/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()
|