/frameworks/base/core/java/android/text/ |
D | SpannableString.java | 24 public class SpannableString class 33 public SpannableString(CharSequence source, boolean ignoreNoCopySpan) { in SpannableString() method in SpannableString 42 public SpannableString(CharSequence source) { in SpannableString() method in SpannableString 46 private SpannableString(CharSequence source, int start, int end) { in SpannableString() method in SpannableString 51 public static SpannableString valueOf(CharSequence source) { in valueOf() 52 if (source instanceof SpannableString) { in valueOf() 53 return (SpannableString) source; in valueOf() 55 return new SpannableString(source); in valueOf() 68 return new SpannableString(this, start, end); in subSequence()
|
D | Spannable.java | 82 return new SpannableString(source); in newSpannable()
|
D | InputFilter.java | 103 return copySpans ? new SpannableString(upper) : upper.toString(); in filter()
|
/frameworks/base/core/tests/coretests/src/android/text/ |
D | SpannedStringNoCopyTest.java | 38 final SpannableString first = new SpannableString("t\nest data"); in testCopyConstructor_copyNoCopySpans_SpannableStringInternalImpl() 52 final SpannableString first = new SpannableString("t\nest data"); in testCopyConstructor_doesNotCopyNoCopySpans_SpannableStringInternalImpl() 70 final SpannableString first = new SpannableString("t\nest data"); in testCopyConstructor_copyNoCopySpans_OtherSpannedImpl() 84 final SpannableString first = new SpannableString("t\nest data"); in testCopyConstructor_doesNotCopyNoCopySpans_OtherSpannedImpl()
|
D | SpannableStringNoCopyTest.java | 38 final SpannableString first = new SpannableString("t\nest data"); in testCopyConstructor_copyNoCopySpans_SpannableStringInternalImpl() 52 final SpannableString first = new SpannableString("t\nest data"); in testCopyConstructor_doesNotCopyNoCopySpans_SpannableStringInternalImpl() 70 final SpannableString first = new SpannableString("t\nest data"); in testCopyConstructor_copyNoCopySpans_OtherSpannableImpl() 84 final SpannableString first = new SpannableString("t\nest data"); in testCopyConstructor_doesNotCopyNoCopySpans_OtherSpannableImpl()
|
D | TextUtilsTest.java | 63 SpannableString foo = new SpannableString("foo"); in testBasic() 66 SpannableString bar = new SpannableString("bar"); in testBasic() 69 SpannableString baz = new SpannableString("baz"); in testBasic() 167 SpannableString template; in testTemplateSpan() 173 template = new SpannableString("a^1b"); in testTemplateSpan() 290 Spannable s3 = new SpannableString(s1); in testEllipsize() 469 TextUtils.writeToParcel(new SpannableString("test"), p, 0); in testCharSequenceCreatorSpannable() 678 final SpannableString str = new SpannableString("abc"); in testToUpperCase() 704 final SpannableString str = new SpannableString("ABC"); in testToUpperCase() 721 final Spannable source = new SpannableString(lowerString); in testToUpperCase_SpansArePreserved()
|
D | SpannedTest.java | 46 checkPriority(new SpannableString("the quick brown fox")); in testSpannableString() 57 SpannableString ss = new SpannableString("Test"); in testAppend() 75 SpannableString s = new SpannableString("Hello there world"); in testWrapParcel()
|
D | SpannableStringTest.java | 22 return new SpannableString(text); in newSpannableWithText()
|
D | StaticLayoutTest.java | 667 result.add(new SpannableString(str)); in buildTestCharSequences() 750 final SpannableString text = new SpannableString(sentence); in testLocaleSpanAffectsHyphenation() 768 final SpannableString text = new SpannableString(sentence); in testLocaleSpanAffectsHyphenation() 782 final SpannableString text = new SpannableString(sentence); in testLocaleSpanAffectsHyphenation()
|
/frameworks/base/core/tests/coretests/src/android/text/util/ |
D | LinkifyTest.java | 27 import android.text.SpannableString; 111 Spannable spannable = new SpannableString("any https://android.com any android.com any"); in testAddLinks_addsLinksWhenDefaultSchemeIsNull() 122 Spannable spannable = new SpannableString("any https://android.com any android.com any"); in testAddLinks_addsLinksWhenSchemesArrayIsNull() 134 Spannable spannable = new SpannableString("any android.com any"); in testAddLinks_prependsDefaultSchemeToBeginingOfLink() 145 Spannable spannable = new SpannableString("any https://android.com any"); in testAddLinks_doesNotPrependSchemeIfSchemeExists()
|
/frameworks/base/core/tests/coretests/src/android/text/style/ |
D | UnderlineSpanTest.java | 22 import android.text.SpannableString; 49 final SpannableString text = new SpannableString("P."); in testDoesntAffectWidth_colorUnderlineSubclass()
|
/frameworks/base/services/tests/uiservicestests/src/com/android/server/notification/ |
D | ValidateNotificationPeopleTest.java | 25 import android.text.SpannableString; 70 bundle.putCharSequence(Notification.EXTRA_PEOPLE_LIST, new SpannableString(expected[0])); in testSingleCharSequence() 108 charSeqArray[i] = new SpannableString(expected[i]); in testCharSequenceArrayMultiple() 124 charSeqArray[i] = new SpannableString(expected[i]); in testMixedCharSequenceArrayList() 152 stringArrayList.add(new SpannableString(expected[i])); in testCharSequenceArrayList()
|
/frameworks/opt/setupwizard/library/platform/src/com/android/setupwizardlib/view/ |
D | RichTextView.java | 21 import android.text.SpannableString; 66 final SpannableString spannable = new SpannableString(text); in getRichText()
|
/frameworks/base/core/java/android/widget/ |
D | MultiAutoCompleteTextView.java | 21 import android.text.SpannableString; 272 SpannableString sp = new SpannableString(text + ", "); in terminateToken()
|
D | SuggestionsAdapter.java | 36 import android.text.SpannableString; 384 SpannableString text = new SpannableString(url); in formatUrl()
|
/frameworks/opt/setupwizard/library/gingerbread/src/com/android/setupwizardlib/view/ |
D | RichTextView.java | 26 import android.text.SpannableString; 66 final SpannableString spannable = new SpannableString(text); in getRichText()
|
/frameworks/base/core/tests/benchmarks/src/android/text/util/ |
D | LinkifyBenchmark.java | 25 import android.text.SpannableString; 57 mTestSpannable = new SpannableString(strBuilder.toString()); in setUp()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/media/ |
D | MediaProjectionPermissionActivity.java | 36 import android.text.SpannableString; 133 SpannableString message = new SpannableString(actionText); in onCreate()
|
/frameworks/base/core/tests/coretests/src/android/text/method/ |
D | EditorState.java | 26 import android.text.SpannableString; 147 final Spannable spannable = new SpannableString(sb.toString()); in setByString()
|
/frameworks/base/core/java/android/app/ |
D | ProgressDialog.java | 28 import android.text.SpannableString; 221 … SpannableString tmp = new SpannableString(mProgressPercentFormat.format(percent)); in onCreate()
|
/frameworks/base/core/java/android/text/util/ |
D | Linkify.java | 27 import android.text.SpannableString; 388 SpannableString s = SpannableString.valueOf(t); in addLinks() 467 SpannableString spannable = SpannableString.valueOf(text.getText()); in addLinks()
|
/frameworks/base/apct-tests/perftests/core/src/android/text/ |
D | NonEditableTextGenerator.java | 69 new SpannableStringBuilder(charSequence) : new SpannableString(charSequence); in createSpannable()
|
/frameworks/base/core/java/android/content/res/ |
D | StringBlock.java | 26 import android.text.SpannableString; 208 SpannableString buffer = new SpannableString(str); in applyStyles()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/notification/row/ |
D | NotificationSnooze.java | 31 import android.text.SpannableString; 264 SpannableString string = new SpannableString(resultText); in createOption()
|
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/datetime/ |
D | ZoneGetter.java | 23 import android.text.SpannableString; 357 CharSequence gmtText = new SpannableString(builder); in getGmtOffsetText()
|