[go: nahoru, domu]

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

12

/frameworks/support/v7/appcompat/src/android/support/v7/widget/
H A DAppCompatTextHelper.java87 ColorStateList textColor = null;
100 textColor = a.getColorStateList(R.styleable.TextAppearance_android_textColor);
116 textColor = a.getColorStateList(R.styleable.TextAppearance_android_textColor);
120 if (textColor != null) {
121 mView.setTextColor(textColor);
143 final ColorStateList textColor
145 if (textColor != null) {
146 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.java113 public static Matcher withTextColor(final @ColorInt int textColor) { argument
125 if (ourTextColor != textColor) {
131 int expectedAlpha = Color.alpha(textColor);
132 int expectedRed = Color.red(textColor);
133 int expectedGreen = Color.green(textColor);
134 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/v4/java/android/support/v4/view/
H A DPagerTitleStrip.java71 android.R.attr.textColor,
137 final int textColor = a.getColor(2, 0);
138 mPrevText.setTextColor(textColor);
139 mCurrText.setTextColor(textColor);
140 mNextText.setTextColor(textColor);
/frameworks/support/design/src/android/support/design/widget/
H A DCollapsingTextHelper.java139 void setCollapsedTextColor(int textColor) {
140 if (mCollapsedTextColor != textColor) {
141 mCollapsedTextColor = textColor;
146 void setExpandedTextColor(int textColor) {
147 if (mExpandedTextColor != textColor) {
148 mExpandedTextColor = textColor;
H A DNavigationView.java346 public void setItemTextColor(@Nullable ColorStateList textColor) { argument
347 mPresenter.setItemTextColor(textColor);
H A DTabLayout.java713 public void setTabTextColors(@Nullable ColorStateList textColor) { argument
714 if (mTabTextColors != textColor) {
715 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.java868 ColorStateList textColor, String[] texts, float[] textX, float[] textY, Paint paint,
886 final int color = textColor.getColorForState(StateSet.get(stateMask), 0);
867 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.java67 private static final int[] ATTRS_TEXT_COLOR = new int[] {R.attr.textColor};
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/
H A DKeyguardIndicationController.java138 public void showTransientIndication(String transientIndication, int textColor) { argument
140 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.java230 public void setItemTextColor(@Nullable ColorStateList textColor) { argument
231 mTextColor = textColor;
/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.java494 public void setTitleColor(@ColorInt int textColor) {
/frameworks/base/core/java/android/app/
H A DActivity.java5630 public void setTitleColor(int textColor) { argument
5631 mTitleColor = textColor;
5632 onTitleChanged(mTitle, textColor);
/frameworks/base/core/java/com/android/internal/policy/
H A DPhoneWindow.java552 public void setTitleColor(int textColor) { argument
554 mTitleView.setTextColor(textColor);
556 mTitleColor = textColor;

Completed in 339 milliseconds

12