Searched refs:textColor (Results 1 - 25 of 28) sorted by relevance

12

/frameworks/support/v7/appcompat/src/android/support/v7/widget/
H A DAppCompatTextHelper.java83 ColorStateList textColor = null;
97 textColor = a.getColorStateList(R.styleable.TextAppearance_android_textColor);
118 textColor = a.getColorStateList(R.styleable.TextAppearance_android_textColor);
127 if (textColor != null) {
128 mView.setTextColor(textColor);
152 final ColorStateList textColor
154 if (textColor != null) {
155 mView.setTextColor(textColor);
H A DThemeUtils.java41 public static ColorStateList createDisabledStateList(int textColor, int disabledTextColor) { argument
55 colors[i] = textColor;
/frameworks/support/design/tests/src/android/support/design/testutils/
H A DTestUtilsMatchers.java120 public static Matcher withTextColor(final @ColorInt int textColor) { argument
132 if (ourTextColor != textColor) {
138 int expectedAlpha = Color.alpha(textColor);
139 int expectedRed = Color.red(textColor);
140 int expectedGreen = Color.green(textColor);
141 int expectedBlue = Color.blue(textColor);
H A DNavigationViewActions.java67 public static ViewAction setItemTextColor(final ColorStateList textColor) { argument
84 navigationView.setItemTextColor(textColor);
/frameworks/base/core/java/android/text/style/
H A DTextAppearanceSpan.java57 ColorStateList textColor;
63 textColor = a.getColorStateList(com.android.internal.R.styleable.
102 textColor = a.getColorStateList(colorList);
106 mTextColor = textColor;
/frameworks/base/tools/layoutlib/bridge/src/com/android/layoutlib/bridge/bars/
H A DCustomBar.java207 ResourceValue textColor = res.findItemInStyle(textStyle, "textColor",
209 textColor = res.resolveResValue(textColor);
210 if (textColor != null) {
212 textColor, bridgeContext);
/frameworks/support/core-ui/java/android/support/v4/view/
H A DPagerTitleStrip.java72 android.R.attr.textColor,
140 final int textColor = a.getColor(2, 0);
141 mPrevText.setTextColor(textColor);
142 mCurrText.setTextColor(textColor);
143 mNextText.setTextColor(textColor);
/frameworks/support/design/src/android/support/design/widget/
H A DCollapsingTextHelper.java144 void setCollapsedTextColor(ColorStateList textColor) {
145 if (mCollapsedTextColor != textColor) {
146 mCollapsedTextColor = textColor;
151 void setExpandedTextColor(ColorStateList textColor) {
152 if (mExpandedTextColor != textColor) {
153 mExpandedTextColor = textColor;
H A DBottomNavigationView.java245 public void setItemTextColor(@Nullable ColorStateList textColor) { argument
246 mMenuView.setItemTextColor(textColor);
H A DNavigationView.java352 public void setItemTextColor(@Nullable ColorStateList textColor) { argument
353 mPresenter.setItemTextColor(textColor);
H A DTabLayout.java717 public void setTabTextColors(@Nullable ColorStateList textColor) { argument
718 if (mTabTextColors != textColor) {
719 mTabTextColors = textColor;
/frameworks/base/tests/VoiceInteraction/src/com/android/test/voiceinteraction/
H A DAssistVisualizer.java41 final int textColor; field in class:AssistVisualizer.TextEntry
56 this.textColor = node.getTextColor();
121 + " size=" + te.textSize + " color=#" + Integer.toHexString(te.textColor)
/frameworks/opt/datetimepicker/src/com/android/datetimepicker/time/
H A DRadialTextsView.java148 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 DSimpleMonthView.java221 final ColorStateList textColor = ta.getColorStateList(R.styleable.TextAppearance_textColor);
222 if (textColor != null) {
223 final int enabledColor = textColor.getColorForState(ENABLED_STATE_SET, 0);
229 return textColor;
252 final ColorStateList textColor = applyTextAppearance(mDayPaint, resId);
253 if (textColor != null) {
254 mDayTextColor = textColor;
H A DDayPickerView.java44 private static final int[] ATTRS_TEXT_COLOR = new int[] { R.attr.textColor };
H A DDatePickerCalendarDelegate.java62 com.android.internal.R.attr.textColor};
H A DRadialTimePickerView.java892 ColorStateList textColor, String[] texts, float[] textX, float[] textY, Paint paint,
910 final int color = textColor.getColorForState(StateSet.get(stateMask), 0);
891 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
H A DTextView.java729 ColorStateList textColor = null;
775 textColor = appearance.getColorStateList(attr);
1076 textColor = a.getColorStateList(attr);
1403 setTextColor(textColor != null ? textColor : ColorStateList.valueOf(0xFF000000));
2810 final ColorStateList textColor = ta.getColorStateList(R.styleable.TextAppearance_textColor);
2811 if (textColor != null) {
2812 setTextColor(textColor);
H A DTimePickerClockDelegate.java64 private static final int[] ATTRS_TEXT_COLOR = new int[] {R.attr.textColor};
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/
H A DKeyguardIndicationController.java142 public void showTransientIndication(String transientIndication, int textColor) { argument
144 mTransientTextColor = textColor;
/frameworks/base/core/java/com/android/internal/util/
H A DNotificationColorUtil.java289 public static int ensureTextBackgroundColor(int color, int textColor, int hintColor) { argument
291 return findContrastColor(color, textColor, false, 4.5);
/frameworks/support/design/src/android/support/design/internal/
H A DNavigationMenuPresenter.java242 public void setItemTextColor(@Nullable ColorStateList textColor) { argument
243 mTextColor = textColor;
/frameworks/base/core/java/android/app/
H A DNotification.java3817 ColorStateList textColor = originalSpan.getTextColor();
3818 if (textColor != null) {
3819 int[] colors = textColor.getColors();
3825 textColor = new ColorStateList(textColor.getStates().clone(),
3831 textColor,
3835 textColor.getStates().clone(), newColors);
/frameworks/base/core/java/android/view/
H A DWindow.java1349 public abstract void setTitleColor(@ColorInt int textColor); argument
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/
H A DStatusBarWindowView.java502 public void setTitleColor(@ColorInt int textColor) {

Completed in 564 milliseconds

12