/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/support/v7/appcompat/src/main/java/androidx/appcompat/widget/ |
D | AppCompatTextHelper.java | 116 ColorStateList textColor = null; in loadFromAttributes() local 133 textColor = a.getColorStateList(R.styleable.TextAppearance_android_textColor); in loadFromAttributes() 158 textColor = a.getColorStateList(R.styleable.TextAppearance_android_textColor); in loadFromAttributes() 173 if (textColor != null) { in loadFromAttributes() 174 mView.setTextColor(textColor); in loadFromAttributes() 319 final ColorStateList textColor in onSetTextAppearance() local 321 if (textColor != null) { in onSetTextAppearance() 322 mView.setTextColor(textColor); in onSetTextAppearance()
|
D | ThemeUtils.java | 42 public static ColorStateList createDisabledStateList(int textColor, int disabledTextColor) { in createDisabledStateList() argument 56 colors[i] = textColor; in createDisabledStateList()
|
/frameworks/layoutlib/bridge/src/com/android/layoutlib/bridge/bars/ |
D | CustomBar.java | 207 ResourceValue textColor = res.findItemInStyle(textStyle, "textColor", in setStyle() local 209 textColor = res.resolveResValue(textColor); in setStyle() 210 if (textColor != null) { in setStyle() 212 textColor, bridgeContext, null); in setStyle()
|
/frameworks/base/core/java/android/text/style/ |
D | TextAppearanceSpan.java | 59 ColorStateList textColor; in TextAppearanceSpan() local 65 textColor = a.getColorStateList(com.android.internal.R.styleable. in TextAppearanceSpan() 113 textColor = a.getColorStateList(colorList); in TextAppearanceSpan() 117 mTextColor = textColor; in TextAppearanceSpan()
|
/frameworks/opt/datetimepicker/src/com/android/datetimepicker/time/ |
D | RadialTextsView.java | 148 int textColor; in setTheme() local 150 textColor = res.getColor(android.R.color.white); in setTheme() 152 textColor = res.getColor(R.color.numbers_text_color); in setTheme() 154 mPaint.setColor(textColor); in setTheme()
|
/frameworks/support/viewpager/src/main/java/androidx/viewpager/widget/ |
D | PagerTitleStrip.java | 76 android.R.attr.textColor, 131 final int textColor = a.getColor(2, 0); in PagerTitleStrip() local 132 mPrevText.setTextColor(textColor); in PagerTitleStrip() 133 mCurrText.setTextColor(textColor); in PagerTitleStrip() 134 mNextText.setTextColor(textColor); in PagerTitleStrip()
|
/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 | 264 public void overrideTextColors(int textColor) { in overrideTextColors() argument 265 addAction(new OverrideTextColorsAction(textColor)); in overrideTextColors() 2135 private final int textColor; 2137 public OverrideTextColorsAction(int textColor) { 2138 this.textColor = textColor; 2142 textColor = parcel.readInt(); 2146 dest.writeInt(textColor); 2159 textView.setTextColor(textColor);
|
D | DayPickerView.java | 45 private static final int[] ATTRS_TEXT_COLOR = new int[] { R.attr.textColor };
|
D | RadialTimePickerView.java | 893 ColorStateList textColor, String[] texts, float[] textX, float[] textY, Paint paint, in drawTextElements() argument 911 final int color = textColor.getColorForState(StateSet.get(stateMask), 0); in drawTextElements()
|
D | DatePickerCalendarDelegate.java | 60 com.android.internal.R.attr.textColor};
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/policy/ |
D | SmartReplyView.java | 579 int textColor = NotificationColorUtil.ensureTextContrast( in setBackgroundTintColor() local 589 setColors(child, backgroundColor, strokeColor, textColor, rippleColor); in setBackgroundTintColor() 593 private void setColors(Button button, int backgroundColor, int strokeColor, int textColor, in setColors() argument 612 button.setTextColor(textColor); in setColors()
|
/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 | 437 @ColorInt int textColor = Utils.getColorAttr(mContext, R.attr.wallpaperTextColor); in onThemeChanged() local 438 @ColorInt int iconColor = Utils.getDefaultColor(mContext, Color.luminance(textColor) < 0.5 ? in onThemeChanged() 441 float intensity = textColor == Color.WHITE ? 0 : 1; in onThemeChanged()
|
D | ScrimController.java | 502 int textColor = currentScrimColors.supportsDarkText() ? Color.BLACK : Color.WHITE; in updateScrims() local 504 float minOpacity = ColorUtils.calculateMinimumBackgroundAlpha(textColor, mainColor, in updateScrims()
|
D | StatusBarWindowView.java | 588 public void setTitleColor(@ColorInt int textColor) {
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/recents/views/ |
D | RecentsView.java | 201 int textColor = Utils.getColorAttr(mContext, R.attr.wallpaperTextColor); in reevaluateStyles() local 202 boolean usingDarkText = Color.luminance(textColor) < 0.5f; in reevaluateStyles() 204 mEmptyView.setTextColor(textColor); in reevaluateStyles() 206 {android.R.attr.state_enabled}}, new int[]{textColor})); in reevaluateStyles() 209 mStackActionButton.setTextColor(textColor); in reevaluateStyles()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/ |
D | KeyguardIndicationController.java | 264 public void showTransientIndication(CharSequence transientIndication, int textColor) { in showTransientIndication() argument 266 mTransientTextColor = textColor; in showTransientIndication()
|
/frameworks/base/packages/SystemUI/src/com/android/keyguard/ |
D | KeyguardSliceView.java | 374 void setTextColor(@ColorInt int textColor) { in setTextColor() argument 375 mTextColor = textColor; in setTextColor()
|
D | PasswordTextView.java | 132 int textColor = a.getColor(R.styleable.PasswordTextView_android_textColor, Color.WHITE); in PasswordTextView() local 133 mDrawPaint.setColor(textColor); in PasswordTextView()
|
/frameworks/base/core/java/com/android/internal/util/ |
D | NotificationColorUtil.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 | 5262 int textColor = NotificationColorUtil.resolvePrimaryColor(mContext, in generateActionButton() local 5264 button.setTextColor(R.id.action0, textColor); in generateActionButton() 5265 rippleColor = textColor; in generateActionButton() 5318 ColorStateList textColor = originalSpan.getTextColor(); in ensureColorSpanContrast() local 5319 if (textColor != null) { in ensureColorSpanContrast() 5320 int[] colors = textColor.getColors(); in ensureColorSpanContrast() 5326 textColor = new ColorStateList(textColor.getStates().clone(), in ensureColorSpanContrast() 5329 outResultColor[0] = textColor; in ensureColorSpanContrast() 5331 textColor = null; in ensureColorSpanContrast() 5337 textColor, in ensureColorSpanContrast()
|
/frameworks/base/core/java/android/view/ |
D | Window.java | 1459 public abstract void setTitleColor(@ColorInt int textColor); in setTitleColor() argument
|