/frameworks/rs/tests/java_api/RSUnitTests/gui/com/android/rs/unittest/ |
D | RSListActivity.java | 48 int textColor = Color.BLACK; in onCreate() 55 textColor = Color.GREEN; in onCreate() 59 textColor = Color.RED; in onCreate() 64 textView.setTextColor(textColor); in onCreate()
|
/frameworks/layoutlib/bridge/src/com/android/layoutlib/bridge/bars/ |
D | CustomBar.java | 194 ResourceValue textColor = res.findItemInStyle(textStyle, in setStyle() local 196 textColor = res.resolveResValue(textColor); in setStyle() 197 if (textColor != null) { in setStyle() 199 ResourceHelper.getColorStateList(textColor, bridgeContext, null); in setStyle()
|
/frameworks/base/core/java/android/text/style/ |
D | TextAppearanceSpan.java | 103 ColorStateList textColor; in TextAppearanceSpan() local 109 textColor = a.getColorStateList(com.android.internal.R.styleable. in TextAppearanceSpan() 198 textColor = a.getColorStateList(colorList); in TextAppearanceSpan() 202 mTextColor = textColor; in TextAppearanceSpan()
|
/frameworks/base/tests/VoiceInteraction/src/com/android/test/voiceinteraction/ |
D | AssistVisualizer.java | 41 final int textColor; field in AssistVisualizer.TextEntry 56 this.textColor = node.getTextColor(); in TextEntry() 121 + " size=" + te.textSize + " color=#" + Integer.toHexString(te.textColor) in logText()
|
/frameworks/base/core/java/android/widget/ |
D | SimpleMonthView.java | 222 final ColorStateList textColor = ta.getColorStateList(R.styleable.TextAppearance_textColor); in applyTextAppearance() local 223 if (textColor != null) { in applyTextAppearance() 224 final int enabledColor = textColor.getColorForState(ENABLED_STATE_SET, 0); in applyTextAppearance() 230 return textColor; in applyTextAppearance() 253 final ColorStateList textColor = applyTextAppearance(mDayPaint, resId); in setDayTextAppearance() local 254 if (textColor != null) { in setDayTextAppearance() 255 mDayTextColor = textColor; in setDayTextAppearance()
|
D | RemoteViews.java | 304 public void overrideTextColors(int textColor) { in overrideTextColors() argument 305 addAction(new OverrideTextColorsAction(textColor)); in overrideTextColors() 2126 private final int textColor; 2128 public OverrideTextColorsAction(int textColor) { 2129 this.textColor = textColor; 2133 textColor = parcel.readInt(); 2137 dest.writeInt(textColor); 2150 textView.setTextColor(textColor);
|
D | DayPickerView.java | 41 private static final int[] ATTRS_TEXT_COLOR = new int[] { R.attr.textColor };
|
D | RadialTimePickerView.java | 895 ColorStateList textColor, String[] texts, float[] textX, float[] textY, Paint paint, in drawTextElements() argument 913 final int color = textColor.getColorForState(StateSet.get(stateMask), 0); in drawTextElements()
|
D | DatePickerCalendarDelegate.java | 60 com.android.internal.R.attr.textColor};
|
D | TimePickerClockDelegate.java | 80 private static final int[] ATTRS_TEXT_COLOR = new int[] {R.attr.textColor};
|
/frameworks/base/core/java/com/android/internal/widget/ |
D | MessagingMessage.java | 142 default void setColor(int textColor) {} in setColor() argument
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/ |
D | KeyguardStatusBarView.java | 467 @ColorInt int textColor = Utils.getColorAttrDefaultColor(mContext, in updateIconsAndTextColors() local 470 Color.luminance(textColor) < 0.5 ? R.color.dark_mode_icon_color_single_tone : in updateIconsAndTextColors() 472 float intensity = textColor == Color.WHITE ? 0 : 1; in updateIconsAndTextColors()
|
D | ScrimController.java | 568 int textColor = mColors.supportsDarkText() ? Color.BLACK : Color.WHITE; in updateScrims() local 570 float minOpacity = ColorUtils.calculateMinimumBackgroundAlpha(textColor, mainColor, in updateScrims()
|
D | StatusBarWindowView.java | 715 public void setTitleColor(@ColorInt int textColor) {
|
/frameworks/base/packages/SystemUI/legacy/recents/src/com/android/systemui/recents/views/ |
D | RecentsView.java | 200 int textColor = Utils.getColorAttrDefaultColor(mContext, R.attr.wallpaperTextColor); in reevaluateStyles() local 201 boolean usingDarkText = Color.luminance(textColor) < 0.5f; in reevaluateStyles() 203 mEmptyView.setTextColor(textColor); in reevaluateStyles() 205 {android.R.attr.state_enabled}}, new int[]{textColor})); in reevaluateStyles() 208 mStackActionButton.setTextColor(textColor); in reevaluateStyles()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/policy/ |
D | SmartReplyView.java | 836 int textColor = ContrastColorUtil.ensureTextContrast( in setBackgroundTintColor() local 846 setButtonColors(child, backgroundColor, strokeColor, textColor, rippleColor, in setBackgroundTintColor() 852 int textColor, int rippleColor, int strokeWidth) { in setButtonColors() argument 870 button.setTextColor(textColor); in setButtonColors()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/globalactions/ |
D | GlobalActionsDialog.java | 514 int textColor; in create() local 516 textColor = v.getResources().getColor( in create() 519 textColor = v.getResources().getColor( in create() 523 messageView.setTextColor(textColor); in create() 526 icon.getDrawable().setTint(textColor); in create()
|
/frameworks/base/packages/SystemUI/src/com/android/keyguard/ |
D | PasswordTextView.java | 134 int textColor = a.getColor(R.styleable.PasswordTextView_android_textColor, Color.WHITE); in PasswordTextView() local 135 mDrawPaint.setColor(textColor); in PasswordTextView()
|
D | KeyguardSliceView.java | 375 void setTextColor(@ColorInt int textColor) { in setTextColor() argument 376 mTextColor = textColor; in setTextColor()
|
/frameworks/base/core/java/com/android/internal/util/ |
D | ContrastColorUtil.java | 443 public static int ensureTextBackgroundColor(int color, int textColor, int hintColor) { in ensureTextBackgroundColor() argument 445 return findContrastColor(color, textColor, false, 4.5); in ensureTextBackgroundColor()
|
/frameworks/base/core/java/android/app/ |
D | Notification.java | 5574 int textColor = ContrastColorUtil.resolvePrimaryColor(mContext, in generateActionButton() local 5576 button.setTextColor(R.id.action0, textColor); in generateActionButton() 5577 rippleColor = textColor; in generateActionButton() 5632 ColorStateList textColor = originalSpan.getTextColor(); in ensureColorSpanContrast() local 5633 if (textColor != null) { in ensureColorSpanContrast() 5634 int[] colors = textColor.getColors(); in ensureColorSpanContrast() 5640 textColor = new ColorStateList(textColor.getStates().clone(), in ensureColorSpanContrast() 5643 outResultColor[0] = textColor; in ensureColorSpanContrast() 5645 textColor = null; in ensureColorSpanContrast() 5651 textColor, in ensureColorSpanContrast()
|
D | Activity.java | 6703 public void setTitleColor(int textColor) { in setTitleColor() argument 6704 mTitleColor = textColor; in setTitleColor() 6705 onTitleChanged(mTitle, textColor); in setTitleColor()
|
/frameworks/base/core/java/android/view/ |
D | Window.java | 1501 public abstract void setTitleColor(@ColorInt int textColor); in setTitleColor() argument
|
/frameworks/base/core/java/com/android/internal/policy/ |
D | PhoneWindow.java | 583 public void setTitleColor(int textColor) { in setTitleColor() argument 585 mTitleView.setTextColor(textColor); in setTitleColor() 587 mTitleColor = textColor; in setTitleColor()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/notification/stack/ |
D | NotificationStackScrollLayout.java | 4719 final int textColor = Utils.getColorAttrDefaultColor(context, R.attr.wallpaperTextColor); 4720 mFooterView.setTextColor(textColor); 4721 mEmptyShadeView.setTextColor(textColor);
|