/frameworks/support/v7/appcompat/src/android/support/v7/widget/ |
D | AppCompatTextHelper.java | 99 ColorStateList textColor = null; in loadFromAttributes() local 116 textColor = a.getColorStateList(R.styleable.TextAppearance_android_textColor); in loadFromAttributes() 141 textColor = a.getColorStateList(R.styleable.TextAppearance_android_textColor); in loadFromAttributes() 156 if (textColor != null) { in loadFromAttributes() 157 mView.setTextColor(textColor); in loadFromAttributes() 235 final ColorStateList textColor in onSetTextAppearance() local 237 if (textColor != null) { in onSetTextAppearance() 238 mView.setTextColor(textColor); in onSetTextAppearance()
|
D | ThemeUtils.java | 41 public static ColorStateList createDisabledStateList(int textColor, int disabledTextColor) { in createDisabledStateList() argument 55 colors[i] = textColor; in createDisabledStateList()
|
/frameworks/base/core/java/android/text/style/ |
D | TextAppearanceSpan.java | 57 ColorStateList textColor; in TextAppearanceSpan() local 63 textColor = a.getColorStateList(com.android.internal.R.styleable. in TextAppearanceSpan() 102 textColor = a.getColorStateList(colorList); in TextAppearanceSpan() 106 mTextColor = textColor; in TextAppearanceSpan()
|
/frameworks/base/tools/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); in setStyle()
|
/frameworks/support/design/tests/src/android/support/design/testutils/ |
D | TestUtilsMatchers.java | 127 public static Matcher withTextColor(final @ColorInt int textColor) { 139 if (ourTextColor != textColor) { 145 int expectedAlpha = Color.alpha(textColor); 146 int expectedRed = Color.red(textColor); 147 int expectedGreen = Color.green(textColor); 148 int expectedBlue = Color.blue(textColor);
|
D | NavigationViewActions.java | 69 public static ViewAction setItemTextColor(final ColorStateList textColor) { 86 navigationView.setItemTextColor(textColor);
|
/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/core-ui/java/android/support/v4/view/ |
D | PagerTitleStrip.java | 73 android.R.attr.textColor, 128 final int textColor = a.getColor(2, 0); in PagerTitleStrip() local 129 mPrevText.setTextColor(textColor); in PagerTitleStrip() 130 mCurrText.setTextColor(textColor); in PagerTitleStrip() 131 mNextText.setTextColor(textColor); in PagerTitleStrip()
|
/frameworks/support/design/src/android/support/design/widget/ |
D | CollapsingTextHelper.java | 144 void setCollapsedTextColor(ColorStateList textColor) { 145 if (mCollapsedTextColor != textColor) { 146 mCollapsedTextColor = textColor; 151 void setExpandedTextColor(ColorStateList textColor) { 152 if (mExpandedTextColor != textColor) { 153 mExpandedTextColor = textColor;
|
D | BottomNavigationView.java | 292 public void setItemTextColor(@Nullable ColorStateList textColor) { in setItemTextColor() argument 293 mMenuView.setItemTextColor(textColor); in setItemTextColor()
|
D | NavigationView.java | 350 public void setItemTextColor(@Nullable ColorStateList textColor) { in setItemTextColor() argument 351 mPresenter.setItemTextColor(textColor); in setItemTextColor()
|
D | TabLayout.java | 719 public void setTabTextColors(@Nullable ColorStateList textColor) { in setTabTextColors() argument 720 if (mTabTextColors != textColor) { in setTabTextColors() 721 mTabTextColors = textColor; in setTabTextColors()
|
/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 | 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 | 61 com.android.internal.R.attr.textColor};
|
D | TimePickerClockDelegate.java | 77 private static final int[] ATTRS_TEXT_COLOR = new int[] {R.attr.textColor};
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/ |
D | KeyguardIndicationController.java | 230 public void showTransientIndication(String transientIndication, int textColor) { in showTransientIndication() argument 232 mTransientTextColor = textColor; in showTransientIndication()
|
/frameworks/support/design/src/android/support/design/internal/ |
D | NavigationMenuPresenter.java | 252 public void setItemTextColor(@Nullable ColorStateList textColor) { in setItemTextColor() argument 253 mTextColor = textColor; in setItemTextColor()
|
/frameworks/support/design/tests/src/android/support/design/widget/ |
D | TextInputLayoutTest.java | 479 final int textColor = TestUtils.getThemeAttrColor(activity, R.attr.colorAccent); in testThemedColorStateListForErrorTextColor() local 487 .check(matches(withTextColor(textColor))); in testThemedColorStateListForErrorTextColor()
|
/frameworks/base/core/java/com/android/internal/util/ |
D | NotificationColorUtil.java | 382 public static int ensureTextBackgroundColor(int color, int textColor, int hintColor) { in ensureTextBackgroundColor() argument 384 return findContrastColor(color, textColor, false, 4.5); in ensureTextBackgroundColor()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/ |
D | StatusBarWindowView.java | 560 public void setTitleColor(@ColorInt int textColor) {
|
/frameworks/base/core/java/android/view/ |
D | Window.java | 1417 public abstract void setTitleColor(@ColorInt int textColor); in setTitleColor() argument
|
/frameworks/base/core/java/com/android/internal/policy/ |
D | PhoneWindow.java | 563 public void setTitleColor(int textColor) { in setTitleColor() argument 565 mTitleView.setTextColor(textColor); in setTitleColor() 567 mTitleColor = textColor; in setTitleColor()
|