/frameworks/base/core/java/android/text/ |
D | SpannedString.java | 25 public final class SpannedString class 34 public SpannedString(CharSequence source, boolean ignoreNoCopySpan) { in SpannedString() method in SpannedString 43 public SpannedString(CharSequence source) { in SpannedString() method in SpannedString 47 private SpannedString(CharSequence source, int start, int end) { in SpannedString() method in SpannedString 53 return new SpannedString(this, start, end); in subSequence() 56 public static SpannedString valueOf(CharSequence source) { in valueOf() 57 if (source instanceof SpannedString) { in valueOf() 58 return (SpannedString) source; in valueOf() 60 return new SpannedString(source); in valueOf()
|
D | TextUtils.java | 596 if (source instanceof SpannedString) in stringOrSpannedString() 599 return new SpannedString(source); in stringOrSpannedString() 1819 return new SpannedString(ssb); in concat()
|
/frameworks/base/core/tests/coretests/src/android/text/ |
D | SpannedStringNoCopyTest.java | 44 final SpannedString copied = new SpannedString(first); in testCopyConstructor_copyNoCopySpans_SpannableStringInternalImpl() 58 final SpannedString copied = new SpannedString(first, true /* ignoreNoCopySpan */); in testCopyConstructor_doesNotCopyNoCopySpans_SpannableStringInternalImpl() 76 final SpannedString copied = new SpannedString(new CustomSpanned(first)); in testCopyConstructor_copyNoCopySpans_OtherSpannedImpl() 90 final SpannedString copied = new SpannedString( in testCopyConstructor_doesNotCopyNoCopySpans_OtherSpannedImpl()
|
D | SpannableStringNoCopyTest.java | 44 final SpannedString copied = new SpannedString(first); in testCopyConstructor_copyNoCopySpans_SpannableStringInternalImpl() 58 final SpannedString copied = new SpannedString(first, true /* ignoreNoCopySpan */); in testCopyConstructor_doesNotCopyNoCopySpans_SpannableStringInternalImpl() 76 final SpannedString copied = new SpannedString(new CustomSpannable(first)); in testCopyConstructor_copyNoCopySpans_OtherSpannableImpl() 90 final SpannedString copied = new SpannedString( in testCopyConstructor_doesNotCopyNoCopySpans_OtherSpannableImpl()
|
D | TextUtilsTest.java | 89 assertTrue(TextUtils.concat(foo, bar) instanceof SpannedString); in testBasic()
|
D | StaticLayoutTest.java | 666 result.add(new SpannedString(str)); in buildTestCharSequences()
|
/frameworks/base/packages/SettingsLib/tests/integ/src/com/android/settingslib/widget/ |
D | UsageProgressBarPreferenceTest.java | 24 import android.text.SpannedString; 67 final SpannedString summary = new SpannedString(usageSummary.getText()); in setUsageSummary_noNumber_noAbsoluteSizeSpan() 79 final SpannedString summary = new SpannedString(usageSummary.getText()); in setUsageSummary_integerNumber_findAbsoluteSizeSpan() 94 final SpannedString summary = new SpannedString(usageSummary.getText()); in setUsageSummary_floatingPointNumber_findAbsoluteSizeSpan() 109 final SpannedString summary = new SpannedString(usageSummary.getText()); in setUsageSummary_commaFloatingPointNumber_findAbsoluteSizeSpan()
|
/frameworks/base/core/tests/benchmarks/src/android/text/ |
D | SpannableStringInternalCopyBenchmark.java | 29 private SpannedString spanned; 39 spanned = new SpannedString(source); in setUp() 50 new SpannedString(spanned); in timeCopyConstructor()
|
/frameworks/layoutlib/bridge/tests/src/com/android/layoutlib/bridge/impl/ |
D | ResourceHelperTest.java | 22 import android.text.SpannedString; 85 SpannedString spanned = (SpannedString)parsed; in testParseHtml()
|
/frameworks/base/core/java/android/text/method/ |
D | ReplacementTransformationMethod.java | 24 import android.text.SpannedString; 83 return new SpannedString(new SpannedReplacementCharSequence( in getTransformation() 180 return new SpannedString(this).subSequence(start, end); in subSequence()
|
/frameworks/base/core/tests/coretests/src/android/widget/ |
D | TextViewPerformanceTest.java | 23 import android.text.SpannedString; 88 CharSequence charSeq = new SpannedString(mString); in testSpan()
|
/frameworks/base/libs/WindowManager/Shell/src/com/android/wm/shell/pip/tv/ |
D | TvPipMenuEduTextDrawer.java | 33 import android.text.SpannedString; 276 final SpannedString eduText = (SpannedString) getResources().getText(R.string.pip_edu_text); in createEduTextString()
|
/frameworks/base/core/java/android/view/textclassifier/ |
D | TextSelection.java | 27 import android.text.SpannedString; 465 return new Request(new SpannedString(mText), mStartIndex, mEndIndex, in build()
|
D | ConversationActions.java | 28 import android.text.SpannedString; 275 mText == null ? null : new SpannedString(mText), in build()
|
D | TextClassification.java | 39 import android.text.SpannedString; 692 return new Request(new SpannedString(mText), mStartIndex, mEndIndex,
|
/frameworks/base/core/java/android/view/inputmethod/ |
D | CursorAnchorInfo.java | 27 import android.text.SpannedString; 347 mComposingText = new SpannedString(composingText); in setComposingText()
|
/frameworks/base/core/java/android/text/format/ |
D | DateFormat.java | 32 import android.text.SpannedString; 584 return new SpannedString(s); in format()
|
/frameworks/base/core/java/android/widget/ |
D | SpellChecker.java | 23 import android.text.SpannedString; 422 visibleToAccessibility ? new SpannedString(editable) : null; in onGetSuggestionsInternal() 585 CharSequence beforeText = sendAccessibilityEvent ? new SpannedString(editable) : null; in createMisspelledSuggestionSpan()
|
D | Editor.java | 77 import android.text.SpannedString; 4407 ? new SpannedString(spannable, true) : null; in updateSuggestions()
|
/frameworks/base/core/java/android/content/res/ |
D | StringBlock.java | 31 import android.text.SpannedString; 428 return new SpannedString(buffer); in applyStyles()
|
/frameworks/layoutlib/bridge/src/com/android/layoutlib/bridge/impl/ |
D | ResourceHelper.java | 74 import android.text.SpannedString; 605 private static SpannedString applyStyles(@NonNull StringBuilder stringBuilder, in applyStyles() 711 return new SpannedString(spannableString); in applyStyles()
|
/frameworks/base/graphics/java/android/graphics/ |
D | BaseCanvas.java | 34 import android.text.SpannedString; 525 if (text instanceof String || text instanceof SpannedString || in drawText() 612 if (text instanceof String || text instanceof SpannedString || in drawTextRun()
|
D | BaseRecordingCanvas.java | 31 import android.text.SpannedString; 463 if (text instanceof String || text instanceof SpannedString in drawText() 550 if (text instanceof String || text instanceof SpannedString in drawTextRun()
|
D | Paint.java | 40 import android.text.SpannedString; 2678 if (text instanceof SpannedString || in measureText() 2895 if (text instanceof SpannedString || in getTextWidths() 3119 if (text instanceof String || text instanceof SpannedString || in getTextRunCursor()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/policy/ |
D | RemoteInputView.java | 36 import android.text.SpannedString; 654 mEntry.remoteInputTextWhenReset = SpannedString.valueOf(mEditText.getText()); in reset()
|