/frameworks/base/core/java/android/text/ |
D | SpannableString.java | 25 public class SpannableString class 29 public SpannableString(CharSequence source) { in SpannableString() method in SpannableString 33 private SpannableString(CharSequence source, int start, int end) { in SpannableString() method in SpannableString 37 public static SpannableString valueOf(CharSequence source) { in valueOf() 38 if (source instanceof SpannableString) { in valueOf() 39 return (SpannableString) source; in valueOf() 41 return new SpannableString(source); in valueOf() 54 return new SpannableString(this, start, end); in subSequence()
|
D | InputFilter.java | 59 SpannableString sp = new SpannableString(s); in filter()
|
D | Spannable.java | 67 return new SpannableString(source); in newSpannable()
|
D | TextUtils.java | 696 SpannableString sp = new SpannableString(string); 1166 SpannableString ss = new SpannableString(s); in ellipsize() 1418 SpannableString ss = new SpannableString(sb); in concat()
|
/frameworks/support/compat/tests/java/android/support/v4/text/util/ |
D | LinkifyCompatTest.java | 29 import android.text.SpannableString; 87 SpannableString spannable = new SpannableString("name@gmail.com, " in testAddLinks1() 121 SpannableString spannable = new SpannableString(text); in testAddLinks2() 140 spannable = new SpannableString(text); in testAddLinks2() 152 SpannableString spannable = new SpannableString(text); in testAddLinks3() 176 spannable = new SpannableString(text); in testAddLinks3() 184 spannable = new SpannableString(text); in testAddLinks3() 192 spannable = new SpannableString(text); in testAddLinks3() 208 SpannableString spannable = new SpannableString( in testAddLinks4() 235 SpannableString spannable = new SpannableString("800-555-1211@gmail.com 800-555-1222.com" in testAddLinks_spanOverlapPruning() [all …]
|
/frameworks/base/services/tests/servicestests/src/com/android/server/notification/ |
D | ValidateNotificationPeopleTest.java | 22 import android.text.SpannableString; 58 bundle.putCharSequence(Notification.EXTRA_PEOPLE, new SpannableString(expected[0])); in testSingleCharSequence() 96 charSeqArray[i] = new SpannableString(expected[i]); in testCharSequenceArrayMultiple() 112 charSeqArray[i] = new SpannableString(expected[i]); in testMixedCharSequenceArrayList() 140 stringArrayList.add(new SpannableString(expected[i])); in testCharSequenceArrayList()
|
/frameworks/base/core/tests/coretests/src/android/text/ |
D | SpannableStringTest.java | 20 import android.text.SpannableString; 25 return new SpannableString(text); in newSpannableWithText()
|
D | SpannedTest.java | 36 checkPriority(new SpannableString("the quick brown fox")); in testSpannableString() 47 SpannableString ss = new SpannableString("Test"); in testAppend() 65 SpannableString s = new SpannableString("Hello there world"); in testWrapParcel()
|
D | TextUtilsTest.java | 48 SpannableString foo = new SpannableString("foo"); in testBasic() 51 SpannableString bar = new SpannableString("bar"); in testBasic() 54 SpannableString baz = new SpannableString("baz"); in testBasic() 152 SpannableString template; in testTemplateSpan() 158 template = new SpannableString("a^1b"); in testTemplateSpan() 274 Spannable s3 = new SpannableString(s1); in testEllipsize() 379 TextUtils.writeToParcel(new SpannableString("test"), p, 0); in testCharSequenceCreatorSpannable()
|
/frameworks/opt/setupwizard/library/eclair-mr1/src/com/android/setupwizardlib/view/ |
D | RichTextView.java | 22 import android.text.SpannableString; 62 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/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 | 34 import android.text.SpannableString; 128 SpannableString message = new SpannableString(actionText); in onCreate()
|
/frameworks/base/core/java/android/text/util/ |
D | Linkify.java | 27 import android.text.SpannableString; 296 SpannableString s = SpannableString.valueOf(t); in addLinks() 375 SpannableString spannable = SpannableString.valueOf(text.getText()); in addLinks()
|
/frameworks/support/compat/java/android/support/v4/text/util/ |
D | LinkifyCompat.java | 24 import android.text.SpannableString; 169 SpannableString s = SpannableString.valueOf(t); in addLinks() 238 SpannableString spannable = SpannableString.valueOf(text.getText()); in addLinks()
|
/frameworks/base/core/tests/coretests/src/android/text/method/ |
D | EditorState.java | 23 import android.text.SpannableString; 157 final Spannable spannable = new SpannableString(sb.toString()); in setByString()
|
/frameworks/base/core/java/android/app/ |
D | ProgressDialog.java | 28 import android.text.SpannableString; 147 … SpannableString tmp = new SpannableString(mProgressPercentFormat.format(percent)); in onCreate()
|
/frameworks/support/v7/appcompat/src/android/support/v7/widget/ |
D | SuggestionsAdapter.java | 37 import android.text.SpannableString; 343 SpannableString text = new SpannableString(url); in formatUrl()
|
/frameworks/base/graphics/java/android/graphics/ |
D | Paint.java | 24 import android.text.SpannableString; 1790 text instanceof SpannableString) { in measureText() 2010 text instanceof SpannableString) { in getTextWidths() 2151 text instanceof SpannableString) { in getTextRunAdvances() 2322 text instanceof SpannableString) { in getTextRunCursor()
|
D | Canvas.java | 25 import android.text.SpannableString; 1710 text instanceof SpannableString) { in drawText() 1817 text instanceof SpannableString) { in drawTextRun()
|
/frameworks/base/core/java/android/content/res/ |
D | StringBlock.java | 170 SpannableString buffer = new SpannableString(str); in applyStyles()
|
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/wifi/ |
D | AccessPoint.java | 42 import android.text.SpannableString; 344 SpannableString str = new SpannableString(ssid); in getSsid()
|
/frameworks/opt/chips/src/com/android/ex/chips/ |
D | RecipientEditTextView.java | 55 import android.text.SpannableString; 1990 final SpannableString chipText = new SpannableString(displayText); in createChip() 2175 SpannableString chipText = new SpannableString(text.subSequence(end, text.length())); in createMoreChipPlainText() 2249 SpannableString chipText = new SpannableString(text.subSequence(start, end)); in createMoreChip() 2967 final SpannableString displayText = in processReplacements() 2968 new SpannableString(createAddressText( in processReplacements()
|
/frameworks/data-binding/extensions/baseAdapters/src/main/java/android/databinding/adapters/ |
D | TextViewBindingAdapter.java | 31 import android.text.SpannableString;
|