Searched refs:ForegroundColorSpan (Results 1 - 11 of 11) sorted by relevance

/frameworks/base/core/java/android/text/style/
H A DForegroundColorSpan.java24 public class ForegroundColorSpan extends CharacterStyle class in inherits:CharacterStyle,UpdateAppearance,ParcelableSpan
29 public ForegroundColorSpan(int color) { method in class:ForegroundColorSpan
33 public ForegroundColorSpan(Parcel src) { method in class:ForegroundColorSpan
/frameworks/base/tests/BiDiTests/src/com/android/bidi/
H A DBiDiTestBasic.java24 import android.text.style.ForegroundColorSpan;
84 url.setSpan(new ForegroundColorSpan(0xfff00fff),
90 url.setSpan(new ForegroundColorSpan(0xff548aff),
96 url.setSpan(new ForegroundColorSpan(0xfff00fff),
/frameworks/base/core/tests/coretests/src/android/text/
H A DHtmlTest.java23 import android.text.style.ForegroundColorSpan;
80 ForegroundColorSpan[] colors;
83 colors = s.getSpans(0, s.length(), ForegroundColorSpan.class);
88 colors = s.getSpans(0, s.length(), ForegroundColorSpan.class);
93 colors = s.getSpans(0, s.length(), ForegroundColorSpan.class);
/frameworks/base/tests/HwAccelerationTest/src/com/android/test/hwui/
H A DViewPropertyAlphaActivity.java30 import android.text.style.ForegroundColorSpan;
84 text.setSpan(new ForegroundColorSpan(Color.BLUE), 4, 9,
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/policy/
H A DClock.java32 import android.text.style.ForegroundColorSpan;
/frameworks/base/core/java/android/text/
H A DHtml.java36 import android.text.style.ForegroundColorSpan;
312 if (style[j] instanceof ForegroundColorSpan) {
314 String color = Integer.toHexString(((ForegroundColorSpan)
327 if (style[j] instanceof ForegroundColorSpan) {
678 text.setSpan(new ForegroundColorSpan(c | 0xFF000000),
H A DTextUtils.java28 import android.text.style.ForegroundColorSpan;
680 readSpan(p, sp, new ForegroundColorSpan(p));
/frameworks/base/core/java/com/android/internal/widget/
H A DTransportControlView.java42 import android.text.style.ForegroundColorSpan;
303 str.setSpan(new ForegroundColorSpan(0xffffffff), 0, trackTitleLength,
308 str.setSpan(new ForegroundColorSpan(0x7fffffff), trackTitleLength, sb.length(),
/frameworks/base/policy/src/com/android/internal/policy/impl/keyguard/
H A DKeyguardTransportControlView.java37 import android.text.style.ForegroundColorSpan;
314 str.setSpan(new ForegroundColorSpan(0xffffffff), 0, trackTitleLength,
319 str.setSpan(new ForegroundColorSpan(0x7fffffff), trackTitleLength, sb.length(),
/frameworks/ex/common/java/com/android/ex/editstyledtext/
H A DEditStyledText.java67 import android.text.style.ForegroundColorSpan;
878 ForegroundColorSpan[] spans =
879 getText().getSpans(pos, pos, ForegroundColorSpan.class);
1330 if (span instanceof ForegroundColorSpan || span instanceof AbsoluteSizeSpan
1703 setStyledTextSpan(new ForegroundColorSpan(color), mCurStart, mCurEnd);
2743 ForegroundColorSpan[] spans =
2744 text.getSpans(start, end, ForegroundColorSpan.class);
/frameworks/base/core/java/android/content/res/
H A DStringBlock.java240 buffer.setSpan(new ForegroundColorSpan(color),

Completed in 242 milliseconds