Home
last modified time | relevance | path

Searched refs:ForegroundColorSpan (Results 1 – 19 of 19) sorted by relevance

/frameworks/base/tests/BiDiTests/src/com/android/bidi/
DBiDiTestBasic.java24 import android.text.style.ForegroundColorSpan;
84 url.setSpan(new ForegroundColorSpan(0xfff00fff), in useSpans()
90 url.setSpan(new ForegroundColorSpan(0xff548aff), in useSpans()
96 url.setSpan(new ForegroundColorSpan(0xfff00fff), in useSpans()
/frameworks/base/core/java/android/text/style/
DForegroundColorSpan.java37 public class ForegroundColorSpan extends CharacterStyle class
50 public ForegroundColorSpan(@ColorInt int color) { in ForegroundColorSpan() method in ForegroundColorSpan
57 public ForegroundColorSpan(@NonNull Parcel src) { in ForegroundColorSpan() method in ForegroundColorSpan
/frameworks/opt/timezonepicker/src/com/android/timezonepicker/
DTimeZonePickerUtils.java26 import android.text.style.ForegroundColorSpan;
109 spannableText.setSpan(new ForegroundColorSpan(GMT_TEXT_COLOR), in buildGmtDisplayName()
113 spannableText.setSpan(new ForegroundColorSpan(DST_SYMBOL_COLOR), in buildGmtDisplayName()
DTimeZoneInfo.java24 import android.text.style.ForegroundColorSpan;
176 spannableText.setSpan(new ForegroundColorSpan(GMT_TEXT_COLOR), in getGmtDisplayName()
180 spannableText.setSpan(new ForegroundColorSpan(DST_SYMBOL_COLOR), in getGmtDisplayName()
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/
DRestrictedLockUtilsInternal.java39 import android.text.style.ForegroundColorSpan;
599 sb.setSpan(new ForegroundColorSpan(disabledColor), 0, sb.length(), in setMenuItemAsDisabledByAdmin()
627 ForegroundColorSpan[] colorSpans = sb.getSpans(0, length, ForegroundColorSpan.class); in removeExistingRestrictedSpans()
628 for (ForegroundColorSpan span : colorSpans) { in removeExistingRestrictedSpans()
667 sb.setSpan(new ForegroundColorSpan(disabledColor), 0, sb.length(), in setTextViewAsDisabledByAdmin()
/frameworks/base/tests/HwAccelerationTest/src/com/android/test/hwui/
DViewPropertyAlphaActivity.java30 import android.text.style.ForegroundColorSpan;
84 text.setSpan(new ForegroundColorSpan(Color.BLUE), 4, 9, in onCreate()
/frameworks/base/core/java/com/android/internal/util/
DContrastColorUtil.java38 import android.text.style.ForegroundColorSpan;
202 } else if (resultSpan instanceof ForegroundColorSpan) { in invertCharSequenceColors()
203 ForegroundColorSpan originalSpan = (ForegroundColorSpan) resultSpan; in invertCharSequenceColors()
205 resultSpan = new ForegroundColorSpan(processColor(foregroundColor)); in invertCharSequenceColors()
269 } else if (resultSpan instanceof ForegroundColorSpan in clearColorSpans()
/frameworks/opt/chips/src/com/android/ex/chips/
DDropdownChipLayouter.java20 import android.text.style.ForegroundColorSpan;
502 ForegroundColorSpan highlightSpan = in getStyledResults()
503 new ForegroundColorSpan(mContext.getResources().getColor( in getStyledResults()
/frameworks/base/core/java/android/text/
DHtml.java31 import android.text.style.ForegroundColorSpan;
570 if (style[j] instanceof ForegroundColorSpan) { in withinParagraph()
571 int color = ((ForegroundColorSpan) style[j]).getForegroundColor(); in withinParagraph()
587 if (style[j] instanceof ForegroundColorSpan) { in withinParagraph()
1115 setSpanFromMark(text, f, new ForegroundColorSpan(f.mForegroundColor)); in endCssStyle()
1165 new ForegroundColorSpan(foreground.mForegroundColor)); in endFont()
DTextUtils.java45 import android.text.style.ForegroundColorSpan;
830 readSpan(p, sp, new ForegroundColorSpan(p));
/frameworks/base/core/java/android/content/res/
DStringBlock.java34 import android.text.style.ForegroundColorSpan;
386 return new ForegroundColorSpan(c); in getColor()
/frameworks/ex/common/java/com/android/ex/editstyledtext/
DEditStyledText.java67 import android.text.style.ForegroundColorSpan;
878 ForegroundColorSpan[] spans = in getForegroundColor()
879 getText().getSpans(pos, pos, ForegroundColorSpan.class); in getForegroundColor()
1330 if (span instanceof ForegroundColorSpan || span instanceof AbsoluteSizeSpan in updateSpanPreviousFromCursor()
1703 setStyledTextSpan(new ForegroundColorSpan(color), mCurStart, mCurEnd); in changeColorSelectedText()
2743 ForegroundColorSpan[] spans = in renewColor()
2744 text.getSpans(start, end, ForegroundColorSpan.class); in renewColor()
/frameworks/base/core/java/android/app/
DNotification.java74 import android.text.style.ForegroundColorSpan;
5654 } else if (resultSpan instanceof ForegroundColorSpan) { in ensureColorSpanContrast()
5655 ForegroundColorSpan originalSpan = (ForegroundColorSpan) resultSpan; in ensureColorSpanContrast()
5663 resultSpan = new ForegroundColorSpan(foregroundColor); in ensureColorSpanContrast()
/frameworks/base/config/
Dpreloaded-classes3542 android.text.style.ForegroundColorSpan
Dboot-image-profile.txt15244 HSPLandroid/text/style/ForegroundColorSpan;-><init>(I)V
15245 HSPLandroid/text/style/ForegroundColorSpan;->getSpanTypeIdInternal()I
15246 HSPLandroid/text/style/ForegroundColorSpan;->updateDrawState(Landroid/text/TextPaint;)V
15247 HSPLandroid/text/style/ForegroundColorSpan;->writeToParcelInternal(Landroid/os/Parcel;I)V
36194 Landroid/text/style/ForegroundColorSpan;
Dhiddenapi-greylist-max-o.txt70801 Landroid/text/style/ForegroundColorSpan;->getSpanTypeIdInternal()I
70802 Landroid/text/style/ForegroundColorSpan;->mColor:I
70803 Landroid/text/style/ForegroundColorSpan;->writeToParcelInternal(Landroid/os/Parcel;I)V
/frameworks/opt/setupwizard/tools/docs/
Dandroid-22.txt30515 …public class ForegroundColorSpan extends android.text.style.CharacterStyle implements android.text…
30516 ctor public ForegroundColorSpan(int);
30517 ctor public ForegroundColorSpan(android.os.Parcel);
/frameworks/base/non-updatable-api/
Dcurrent.txt48100 …public class ForegroundColorSpan extends android.text.style.CharacterStyle implements android.text…
48101 ctor public ForegroundColorSpan(@ColorInt int);
48102 ctor public ForegroundColorSpan(@NonNull android.os.Parcel);
/frameworks/base/api/
Dcurrent.txt48244 …public class ForegroundColorSpan extends android.text.style.CharacterStyle implements android.text…
48245 ctor public ForegroundColorSpan(@ColorInt int);
48246 ctor public ForegroundColorSpan(@NonNull android.os.Parcel);