/frameworks/base/core/java/android/text/ |
SpannedString.java | 25 public final class SpannedString 29 public SpannedString(CharSequence source) { 33 private SpannedString(CharSequence source, int start, int end) { 38 return new SpannedString(this, start, end); 41 public static SpannedString valueOf(CharSequence source) { 42 if (source instanceof SpannedString) { 43 return (SpannedString) source; 45 return new SpannedString(source);
|
TextUtils.java | 426 if (source instanceof SpannedString) 429 return new SpannedString(source); [all...] |
/cts/tests/tests/text/src/android/text/cts/ |
SpannedStringTest.java | 20 import android.text.SpannedString; 27 @TestTargetClass(SpannedString.class) 31 notes = "Test constructor(s) of {@link SpannedString}", 32 method = "SpannedString", 36 " constructor SpannedString(CharSequence) when param CharSequence is null") 38 new SpannedString("test"); 41 new SpannedString(null); 49 notes = "Test {@link SpannedString#valueOf(CharSequence)}", 54 "SpannedString#valueOf(CharSequence) when param CharSequence is null") 57 SpannedString spanned = SpannedString.valueOf(text) [all...] |
LoginFilterTest.java | 23 import android.text.SpannedString; 52 Spanned dest1 = new SpannedString("dest_without_invalid_char"); 53 Spanned dest2 = new SpannedString("&*dest_with_invalid_char#$"); 56 Spanned spannedSource = new SpannedString("&*spanned_source_with_invalid_char#$");
|
TextUtilsTest.java | 38 import android.text.SpannedString; [all...] |
/frameworks/base/core/java/android/text/method/ |
HideReturnsTransformationMethod.java | 22 import android.text.SpannedString;
|
SingleLineTransformationMethod.java | 24 import android.text.SpannedString;
|
ReplacementTransformationMethod.java | 24 import android.text.SpannedString; 83 return new SpannedString(new SpannedReplacementCharSequence( 180 return new SpannedString(this).subSequence(start, end);
|
/packages/apps/Contacts/tests/src/com/android/contacts/util/ |
HtmlUtilsTest.java | 26 import android.text.SpannedString; 55 // Test with both SpannedString and SpannableStringBuilder. 57 HtmlUtils.postprocess(getContext(), new SpannedString(text)).toString()); 68 // First test with a SpannableStringBuilder, as opposed to SpannedString 71 // Then pass a SpannedString, which is immutable, but the method should still work. 72 checkPostProcess(HtmlUtils.postprocess(getContext(), new SpannedString(builder))); 84 // First test with a SpannableStringBuilder, as opposed to SpannedString 87 // Then pass a SpannedString, which is immutable, but the method should still work. 88 checkPostProcess(HtmlUtils.postprocess(getContext(), new SpannedString(builder)));
|
/frameworks/base/core/tests/coretests/src/android/widget/ |
TextViewPerformanceTest.java | 26 import android.text.SpannedString; 80 CharSequence charSeq = new SpannedString(mString);
|
/cts/tests/tests/view/src/android/view/cts/ |
WindowManager_LayoutParamsTest.java | 29 import android.text.SpannedString; 252 SpannedString spannedTitle = new SpannedString(title);
|
/cts/tests/tests/graphics/src/android/graphics/cts/ |
PaintTest.java | 38 import android.text.SpannedString; 80 SpannedString textSpan = new SpannedString(text); 136 private void assertBreakText(String text, char[] textChars, SpannedString textSpan, 705 SpannedString textSpan = new SpannedString(text); 722 private void assertGetTextWidths(String text, char[] textChars, SpannedString textSpan, [all...] |
CanvasTest.java | 42 import android.text.SpannedString; [all...] |
/frameworks/base/core/java/android/text/format/ |
DateFormat.java | 23 import android.text.SpannedString; 525 return new SpannedString(s);
|
/frameworks/base/graphics/java/android/graphics/ |
Paint.java | 21 import android.text.SpannedString; [all...] |
Canvas.java | 21 import android.text.SpannedString; [all...] |
/frameworks/base/core/java/android/view/ |
GLES20Canvas.java | 36 import android.text.SpannedString; [all...] |
/frameworks/base/core/java/android/content/res/ |
StringBlock.java | 288 return new SpannedString(buffer);
|
/frameworks/base/core/tests/coretests/src/android/text/ |
TextUtilsTest.java | 69 assertTrue(TextUtils.concat(foo, bar) instanceof SpannedString);
|
/frameworks/base/core/java/android/widget/ |
TextView.java | 62 import android.text.SpannedString; [all...] |
/prebuilt/sdk/12/ |
android.jar | |
/prebuilt/sdk/14/ |
android.jar | |
/prebuilt/sdk/6/ |
android.jar | |