Home
last modified time | relevance | path

Searched refs:mTextColor (Results 1 – 13 of 13) sorted by relevance

/frameworks/base/core/java/android/text/style/
DTextAppearanceSpan.java36 private final ColorStateList mTextColor; field in TextAppearanceSpan
106 mTextColor = textColor; in TextAppearanceSpan()
118 mTextColor = color; in TextAppearanceSpan()
127 mTextColor = ColorStateList.CREATOR.createFromParcel(src); in TextAppearanceSpan()
129 mTextColor = null; in TextAppearanceSpan()
160 if (mTextColor != null) { in writeToParcelInternal()
162 mTextColor.writeToParcel(dest, flags); in writeToParcelInternal()
187 return mTextColor; in getTextColor()
218 if (mTextColor != null) { in updateDrawState()
219 ds.setColor(mTextColor.getColorForState(ds.drawableState, 0)); in updateDrawState()
/frameworks/support/v4/java/android/support/v4/view/
DPagerTitleStrip.java83 int mTextColor; field in PagerTitleStrip
145 mTextColor = mCurrText.getTextColors().getDefaultColor(); in PagerTitleStrip()
197 final int transparentColor = (mNonPrimaryAlpha << 24) | (mTextColor & 0xFFFFFF); in setNonPrimaryAlpha()
209 mTextColor = color; in setTextColor()
211 final int transparentColor = (mNonPrimaryAlpha << 24) | (mTextColor & 0xFFFFFF); in setTextColor()
DPagerTabStrip.java85 mIndicatorColor = mTextColor; in PagerTabStrip()
/frameworks/support/design/src/android/support/design/internal/
DNavigationMenuPresenter.java69 private ColorStateList mTextColor; field in NavigationMenuPresenter
227 return mTextColor; in getItemTextColor()
231 mTextColor = textColor; in setItemTextColor()
399 if (mTextColor != null) { in onBindViewHolder()
400 itemView.setTextColor(mTextColor); in onBindViewHolder()
/frameworks/base/core/java/android/widget/
DRadialTimePickerView.java132 private final ColorStateList[] mTextColor = new ColorStateList[3]; field in RadialTimePickerView
387 mTextColor[HOURS] = numbersTextColor == null ? in applyAttributes()
389 mTextColor[HOURS_INNER] = numbersInnerTextColor == null ? in applyAttributes()
391 mTextColor[MINUTES] = mTextColor[HOURS]; in applyAttributes()
412 mSelectorDotColor = mTextColor[HOURS].getColorForState(stateSetActivated, 0); in applyAttributes()
719 drawTextElements(canvas, mTextSize[HOURS], mTypeface, mTextColor[HOURS], mOuterTextHours, in drawHoursClipped()
725 drawTextElements(canvas, mTextSize[HOURS_INNER], mTypeface, mTextColor[HOURS_INNER], in drawHoursClipped()
751 drawTextElements(canvas, mTextSize[MINUTES], mTypeface, mTextColor[MINUTES], mMinutesText, in drawMinutesClipped()
DFastScroller.java133 private ColorStateList mTextColor; field in FastScroller
315 if (mTextColor != null) { in updateAppearance()
316 mPrimaryText.setTextColor(mTextColor); in updateAppearance()
317 mSecondaryText.setTextColor(mTextColor); in updateAppearance()
361 mTextColor = ta.getColorStateList(index); in setStyle()
DTextView.java326 private ColorStateList mTextColor; field in TextView
3244 mTextColor = ColorStateList.valueOf(color); in setTextColor()
3263 mTextColor = colors; in setTextColor()
3276 return mTextColor; in getTextColors()
4055 int color = mTextColor.getColorForState(getDrawableState(), 0); in updateTextColors()
4087 if (mTextColor != null && mTextColor.isStateful() in drawableStateChanged()
/frameworks/base/core/java/android/app/
DFragmentBreadCrumbs.java62 private int mTextColor; field in FragmentBreadCrumbs
111 mTextColor = a.getColor( in FragmentBreadCrumbs()
326 text.setTextColor(mTextColor); in updateCrumbs()
/frameworks/base/core/java/android/app/assist/
DAssistStructure.java343 int mTextColor = ViewNode.TEXT_COLOR_UNDEFINED; field in AssistStructure.ViewNodeText
364 mTextColor = in.readInt(); in ViewNodeText()
379 out.writeInt(mTextColor); in writeToParcel()
966 return mText != null ? mText.mTextColor : TEXT_COLOR_UNDEFINED; in getTextColor()
1214 t.mTextColor = fgColor; in setTextStyle()
/frameworks/support/v17/leanback/src/android/support/v17/leanback/widget/
DSearchBar.java141 private final int mTextColor; field in SearchBar
188 mTextColor = r.getColor(R.color.lb_search_bar_text); in SearchBar()
756 mSearchTextEditor.setTextColor(mTextColor); in updateUi()
/frameworks/base/media/java/android/media/
DClosedCaptionRenderer.java1269 private int mTextColor = Color.WHITE; field in Cea608CCWidget.CCLineBox
1294 mTextColor = captionStyle.foregroundColor; in setCaptionStyle()
1299 setTextColor(mTextColor); in setCaptionStyle()
1361 setTextColor(mTextColor); in drawEdgeOutline()
/frameworks/base/docs/html/training/custom-views/
Dcustom-drawing.jd87 mTextPaint.setColor(mTextColor);
/frameworks/base/core/java/com/android/internal/policy/
DPhoneWindow.java234 private int mTextColor = 0; field in PhoneWindow
2547 mTextColor = a.getColor(R.styleable.Window_textColor, Color.TRANSPARENT); in generateLayout()
2658 mTitleColor = mTextColor; in generateLayout()