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/base/packages/SystemUI/src/com/android/systemui/
DBatteryMeterView.java65 private int mTextColor; field in BatteryMeterView
197 if (mTextColor != 0) mBatteryPercentView.setTextColor(mTextColor); in updateShowPercent()
252 mTextColor = color; in setTextColor()
/frameworks/support/core-ui/java/android/support/v4/view/
DPagerTitleStrip.java85 int mTextColor; field in PagerTitleStrip
136 mTextColor = mCurrText.getTextColors().getDefaultColor(); in PagerTitleStrip()
188 final int transparentColor = (mNonPrimaryAlpha << 24) | (mTextColor & 0xFFFFFF); in setNonPrimaryAlpha()
200 mTextColor = color; in setTextColor()
202 final int transparentColor = (mNonPrimaryAlpha << 24) | (mTextColor & 0xFFFFFF); in setTextColor()
DPagerTabStrip.java86 mIndicatorColor = mTextColor; in PagerTabStrip()
/frameworks/support/design/src/android/support/design/internal/
DNavigationMenuPresenter.java74 ColorStateList mTextColor; field in NavigationMenuPresenter
249 return mTextColor; in getItemTextColor()
253 mTextColor = textColor; in setItemTextColor()
422 if (mTextColor != null) { in onBindViewHolder()
423 itemView.setTextColor(mTextColor); in onBindViewHolder()
/frameworks/base/core/java/android/widget/
DRadialTimePickerView.java141 private final ColorStateList[] mTextColor = new ColorStateList[3]; field in RadialTimePickerView
412 mTextColor[HOURS] = numbersTextColor == null ? in applyAttributes()
414 mTextColor[HOURS_INNER] = numbersInnerTextColor == null ? in applyAttributes()
416 mTextColor[MINUTES] = mTextColor[HOURS]; in applyAttributes()
437 mSelectorDotColor = mTextColor[HOURS].getColorForState(stateSetActivated, 0); in applyAttributes()
744 drawTextElements(canvas, mTextSize[HOURS], mTypeface, mTextColor[HOURS], mOuterTextHours, in drawHoursClipped()
750 drawTextElements(canvas, mTextSize[HOURS_INNER], mTypeface, mTextColor[HOURS_INNER], in drawHoursClipped()
776 drawTextElements(canvas, mTextSize[MINUTES], mTypeface, mTextColor[MINUTES], mMinutesText, in drawMinutesClipped()
DFastScroller.java134 private ColorStateList mTextColor; field in FastScroller
316 if (mTextColor != null) { in updateAppearance()
317 mPrimaryText.setTextColor(mTextColor); in updateAppearance()
318 mSecondaryText.setTextColor(mTextColor); in updateAppearance()
362 mTextColor = ta.getColorStateList(index); in setStyle()
DTextView.java380 private ColorStateList mTextColor; field in TextView
4004 mTextColor = ColorStateList.valueOf(color);
4024 mTextColor = colors;
4037 return mTextColor;
4937 int color = mTextColor.getColorForState(getDrawableState(), 0);
4969 if (mTextColor != null && mTextColor.isStateful()
/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/support/v17/leanback/src/android/support/v17/leanback/widget/
DSearchBar.java140 private final int mTextColor; field in SearchBar
187 mTextColor = r.getColor(R.color.lb_search_bar_text); in SearchBar()
779 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/core/java/android/app/assist/
DAssistStructure.java421 int mTextColor = ViewNode.TEXT_COLOR_UNDEFINED; field in AssistStructure.ViewNodeText
442 mTextColor = in.readInt(); in ViewNodeText()
457 out.writeInt(mTextColor); in writeToParcel()
1331 return mText != null ? mText.mTextColor : TEXT_COLOR_UNDEFINED; in getTextColor()
1610 t.mTextColor = fgColor; in setTextStyle()
/frameworks/base/core/java/com/android/internal/policy/
DPhoneWindow.java233 private int mTextColor = 0; field in PhoneWindow
2512 mTextColor = a.getColor(R.styleable.Window_textColor, Color.TRANSPARENT); in generateLayout()
2624 mTitleColor = mTextColor; in generateLayout()