Home
last modified time | relevance | path

Searched defs:spannable (Results 1 – 18 of 18) sorted by relevance

/frameworks/base/core/tests/coretests/src/android/text/util/
DLinkifyTest.java111 Spannable spannable = new SpannableString("any https://android.com any android.com any"); in testAddLinks_addsLinksWhenDefaultSchemeIsNull() local
122 Spannable spannable = new SpannableString("any https://android.com any android.com any"); in testAddLinks_addsLinksWhenSchemesArrayIsNull() local
134 Spannable spannable = new SpannableString("any android.com any"); in testAddLinks_prependsDefaultSchemeToBeginingOfLink() local
145 Spannable spannable = new SpannableString("any https://android.com any"); in testAddLinks_doesNotPrependSchemeIfSchemeExists() local
/frameworks/base/core/tests/coretests/src/android/text/
DSpannableTest.java41 Spannable spannable = newSpannableWithText("abcdef"); in testGetSpans() local
64 Spannable spannable = newSpannableWithText("abcdef"); in testRemoveSpanWithIntermediateFlag() local
DDynamicLayoutTest.java198 final SpannableStringBuilder spannable = new SpannableStringBuilder(text); in testReflow_afterSpannableEdit() local
/frameworks/opt/setupwizard/library/main/src/com/android/setupwizardlib/span/
DSpanHelper.java30 public static void replaceSpan(Spannable spannable, Object oldSpan, Object newSpan) { in replaceSpan()
/frameworks/base/core/java/android/text/util/
DLinkify.java469 SpannableString spannable = SpannableString.valueOf(text.getText()); in addLinks() local
510 public static final boolean addLinks(@NonNull Spannable spannable, @NonNull Pattern pattern, in addLinks()
535 public static final boolean addLinks(@NonNull Spannable spannable, @NonNull Pattern pattern, in addLinks()
560 public static final boolean addLinks(@NonNull Spannable spannable, @NonNull Pattern pattern, in addLinks()
/frameworks/base/core/tests/coretests/src/android/text/method/
DEditorState.java147 final Spannable spannable = new SpannableString(sb.toString()); in setByString() local
/frameworks/opt/setupwizard/library/platform/src/com/android/setupwizardlib/view/
DRichTextView.java66 final SpannableString spannable = new SpannableString(text); in getRichText() local
/frameworks/opt/setupwizard/library/gingerbread/src/com/android/setupwizardlib/view/
DRichTextView.java66 final SpannableString spannable = new SpannableString(text); in getRichText() local
/frameworks/base/apct-tests/perftests/core/src/android/text/
DNonEditableTextGenerator.java68 final Spannable spannable = (mTextType == TextType.SPANNABLE_BUILDER) ? in createSpannable() local
/frameworks/opt/chips/src/com/android/ex/chips/
DRecipientEditTextView.java1429 Spannable spannable = getSpannable(); in sanitizeEnd() local
2316 final Spannable spannable = getSpannable(); in getSortedRecipients() local
2445 Spannable spannable = getSpannable(); in createMoreChip() local
2540 Spannable spannable = getSpannable(); in selectChip() local
2698 Spannable spannable = getSpannable(); in removeChip() local
2794 Spannable spannable = getSpannable(); in afterTextChanged() local
/frameworks/base/core/java/android/view/textclassifier/
DTextClassifier.java758 final Spannable spannable = new SpannableString(string); in addLinks() local
/frameworks/base/core/java/android/widget/
DAutoCompleteTextView.java1116 Editable spannable = getText(); in replaceText() local
DEditor.java1594 Spannable spannable = (Spannable) text; in downgradeEasyCorrectionSpans() local
2579 Spannable spannable = (Spannable) mTextView.getText(); in isCursorInsideEasyCorrectionSpan() local
3702 Spannable spannable = (Spannable) mTextView.getText(); in getSortedSuggestionSpans() local
3731 final Spannable spannable = (Spannable) mTextView.getText(); in getSuggestionInfo() local
4071 Spannable spannable = (Spannable) mTextView.getText(); in updateSuggestions() local
DTextView.java6022 void removeMisspelledSpans(Spannable spannable) { in removeMisspelledSpans()
6614 Spannable spannable; in removeSuggestionSpans() local
8813 static void removeParcelableSpans(Spannable spannable, int start, int end) { in removeParcelableSpans()
/frameworks/ex/common/java/com/android/ex/editstyledtext/
DEditStyledText.java1774 Spannable spannable = (Spannable) txt; in dumpSpannableString() local
2509 public HorizontalLineSpan(int color, int width, Spannable spannable) { in HorizontalLineSpan()
2703 public HorizontalLineDrawable(int color, int width, Spannable spannable) { in HorizontalLineDrawable()
/frameworks/base/core/java/android/view/accessibility/
DAccessibilityNodeInfo.java2907 Spannable spannable = new SpannableStringBuilder(text); in replaceClickableSpan() local
2941 SpannableStringBuilder spannable = new SpannableStringBuilder(text); in replaceReplacementSpan() local
/frameworks/base/media/java/android/media/
DClosedCaptionRenderer.java1406 Spannable spannable = (Spannable) text; in setBackgroundSpans() local
/frameworks/base/telephony/java/android/telephony/
DPhoneNumberUtils.java2543 Spannable spannable = Spannable.Factory.getInstance().newSpannable(phoneNumber); in createTtsSpannable() local