/frameworks/rs/tests/java_api/RSUnitTests/gui/com/android/rs/unittest/ |
H A D | RSListActivity.java | 48 int textColor = Color.BLACK; 55 textColor = Color.GREEN; 59 textColor = Color.RED; 64 textView.setTextColor(textColor);
|
/frameworks/support/v7/appcompat/src/main/java/androidx/appcompat/widget/ |
H A D | AppCompatTextHelper.java | 116 ColorStateList textColor = null; 133 textColor = a.getColorStateList(R.styleable.TextAppearance_android_textColor); 158 textColor = a.getColorStateList(R.styleable.TextAppearance_android_textColor); 173 if (textColor != null) { 174 mView.setTextColor(textColor); 319 final ColorStateList textColor 321 if (textColor != null) { 322 mView.setTextColor(textColor);
|
H A D | ThemeUtils.java | 42 public static ColorStateList createDisabledStateList(int textColor, int disabledTextColor) { argument 56 colors[i] = textColor;
|
/frameworks/base/core/java/android/text/style/ |
H A D | TextAppearanceSpan.java | 59 ColorStateList textColor; 65 textColor = a.getColorStateList(com.android.internal.R.styleable. 113 textColor = a.getColorStateList(colorList); 117 mTextColor = textColor;
|
/frameworks/layoutlib/bridge/src/com/android/layoutlib/bridge/bars/ |
H A D | CustomBar.java | 207 ResourceValue textColor = res.findItemInStyle(textStyle, "textColor", 209 textColor = res.resolveResValue(textColor); 210 if (textColor != null) { 212 textColor, bridgeContext, null);
|
/frameworks/support/viewpager/src/main/java/androidx/viewpager/widget/ |
H A D | PagerTitleStrip.java | 76 android.R.attr.textColor, 131 final int textColor = a.getColor(2, 0); 132 mPrevText.setTextColor(textColor); 133 mCurrText.setTextColor(textColor); 134 mNextText.setTextColor(textColor);
|
/frameworks/base/tests/VoiceInteraction/src/com/android/test/voiceinteraction/ |
H A D | AssistVisualizer.java | 41 final int textColor; field in class:AssistVisualizer.TextEntry 56 this.textColor = node.getTextColor(); 121 + " size=" + te.textSize + " color=#" + Integer.toHexString(te.textColor)
|
/frameworks/base/core/java/com/android/internal/widget/ |
H A D | MessagingMessage.java | 142 default void setColor(int textColor) {} argument
|
/frameworks/opt/datetimepicker/src/com/android/datetimepicker/time/ |
H A D | RadialTextsView.java | 148 int textColor; 150 textColor = res.getColor(android.R.color.white); 152 textColor = res.getColor(R.color.numbers_text_color); 154 mPaint.setColor(textColor);
|
/frameworks/base/core/java/android/widget/ |
H A D | SimpleMonthView.java | 222 final ColorStateList textColor = ta.getColorStateList(R.styleable.TextAppearance_textColor); 223 if (textColor != null) { 224 final int enabledColor = textColor.getColorForState(ENABLED_STATE_SET, 0); 230 return textColor; 253 final ColorStateList textColor = applyTextAppearance(mDayPaint, resId); 254 if (textColor != null) { 255 mDayTextColor = textColor;
|
H A D | DayPickerView.java | 45 private static final int[] ATTRS_TEXT_COLOR = new int[] { R.attr.textColor };
|
H A D | RemoteViews.java | 260 * @param textColor The color to use. 264 public void overrideTextColors(int textColor) { argument 265 addAction(new OverrideTextColorsAction(textColor)); 2135 private final int textColor; field in class:RemoteViews.OverrideTextColorsAction 2137 public OverrideTextColorsAction(int textColor) { argument 2138 this.textColor = textColor; 2142 textColor = parcel.readInt(); 2146 dest.writeInt(textColor); 2159 textView.setTextColor(textColor); [all...] |
H A D | DatePickerCalendarDelegate.java | 60 com.android.internal.R.attr.textColor};
|
H A D | RadialTimePickerView.java | 893 ColorStateList textColor, String[] texts, float[] textX, float[] textY, Paint paint, 911 final int color = textColor.getColorForState(StateSet.get(stateMask), 0); 892 drawTextElements(Canvas canvas, float textSize, Typeface typeface, ColorStateList textColor, String[] texts, float[] textX, float[] textY, Paint paint, int alpha, boolean showActivated, int activatedDegrees, boolean activatedOnly) argument
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/policy/ |
H A D | SmartReplyView.java | 579 int textColor = NotificationColorUtil.ensureTextContrast( 589 setColors(child, backgroundColor, strokeColor, textColor, rippleColor); 593 private void setColors(Button button, int backgroundColor, int strokeColor, int textColor, argument 612 button.setTextColor(textColor);
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/ |
H A D | KeyguardStatusBarView.java | 437 @ColorInt int textColor = Utils.getColorAttr(mContext, R.attr.wallpaperTextColor); 438 @ColorInt int iconColor = Utils.getDefaultColor(mContext, Color.luminance(textColor) < 0.5 ? 441 float intensity = textColor == Color.WHITE ? 0 : 1;
|
H A D | ScrimController.java | 502 int textColor = currentScrimColors.supportsDarkText() ? Color.BLACK : Color.WHITE; 504 float minOpacity = ColorUtils.calculateMinimumBackgroundAlpha(textColor, mainColor,
|
H A D | StatusBarWindowView.java | 588 public void setTitleColor(@ColorInt int textColor) {
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/recents/views/ |
H A D | RecentsView.java | 201 int textColor = Utils.getColorAttr(mContext, R.attr.wallpaperTextColor); 202 boolean usingDarkText = Color.luminance(textColor) < 0.5f; 204 mEmptyView.setTextColor(textColor); 206 {android.R.attr.state_enabled}}, new int[]{textColor})); 209 mStackActionButton.setTextColor(textColor);
|
/frameworks/base/packages/SystemUI/src/com/android/keyguard/ |
H A D | KeyguardSliceView.java | 374 void setTextColor(@ColorInt int textColor) { argument 375 mTextColor = textColor;
|
H A D | PasswordTextView.java | 132 int textColor = a.getColor(R.styleable.PasswordTextView_android_textColor, Color.WHITE); 133 mDrawPaint.setColor(textColor);
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/ |
H A D | KeyguardIndicationController.java | 264 public void showTransientIndication(CharSequence transientIndication, int textColor) { argument 266 mTransientTextColor = textColor;
|
/frameworks/base/core/java/com/android/internal/util/ |
H A D | NotificationColorUtil.java | 443 public static int ensureTextBackgroundColor(int color, int textColor, int hintColor) { argument 445 return findContrastColor(color, textColor, false, 4.5);
|
/frameworks/base/core/java/android/app/ |
H A D | Notification.java | 5262 int textColor = NotificationColorUtil.resolvePrimaryColor(mContext, 5264 button.setTextColor(R.id.action0, textColor); 5265 rippleColor = textColor; 5318 ColorStateList textColor = originalSpan.getTextColor(); 5319 if (textColor != null) { 5320 int[] colors = textColor.getColors(); 5326 textColor = new ColorStateList(textColor.getStates().clone(), 5329 outResultColor[0] = textColor; 5331 textColor [all...] |
/frameworks/base/core/java/android/view/ |
H A D | Window.java | 1459 public abstract void setTitleColor(@ColorInt int textColor); argument
|