Home
last modified time | relevance | path

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

/frameworks/support/emoji/core/tests/java/android/support/text/emoji/widget/
DSpannableBuilderTest.java78 final SpannableBuilder spannable = new SpannableBuilder(mClass, "abc"); in testSubSequence() local
95 final SpannableBuilder spannable = new SpannableBuilder(mClass, "abcde"); in testSetAndGetSpan() local
118 final SpannableBuilder spannable = new SpannableBuilder(mClass, "abcde"); in testNextSpanTransition() local
127 final SpannableBuilder spannable = new SpannableBuilder(mClass, "123456"); in testBlocksSpanCallbacks_forEmojiSpans() local
159 final SpannableBuilder spannable = new SpannableBuilder(mClass, "123456"); in testDoesNotBlockSpanCallbacks_forNonEmojiSpans() local
190 final SpannableBuilder spannable = new SpannableBuilder(mClass, "123456"); in testDoesNotBlockSpanCallbacksForOtherWatchers() local
/frameworks/base/core/tests/coretests/src/android/text/util/
DLinkifyTest.java110 Spannable spannable = new SpannableString("any https://android.com any android.com any"); in testAddLinks_addsLinksWhenDefaultSchemeIsNull() local
121 Spannable spannable = new SpannableString("any https://android.com any android.com any"); in testAddLinks_addsLinksWhenSchemesArrayIsNull() local
133 Spannable spannable = new SpannableString("any android.com any"); in testAddLinks_prependsDefaultSchemeToBeginingOfLink() local
144 Spannable spannable = new SpannableString("any https://android.com any"); in testAddLinks_doesNotPrependSchemeIfSchemeExists() local
/frameworks/support/compat/tests/java/android/support/v4/text/util/
DLinkifyCompatTest.java92 SpannableString spannable = new SpannableString("name@gmail.com, " in testAddLinksToSpannable() local
126 SpannableString spannable = new SpannableString(text); in testAddLinksToSpannableWithScheme() local
157 SpannableString spannable = new SpannableString(text); in testAddLinks3() local
213 SpannableString spannable = new SpannableString( in testAddLinksPhoneNumbers() local
240 SpannableString spannable = new SpannableString("800-555-1211@gmail.com 800-555-1222.com" in testAddLinks_spanOverlapPruning() local
265 Spannable spannable = new SpannableString("any https://android.com any android.com any"); in testAddLinks_addsLinksWhenDefaultSchemeIsNull() local
276 Spannable spannable = new SpannableString("any https://android.com any android.com any"); in testAddLinks_addsLinksWhenSchemesArrayIsNull() local
288 Spannable spannable = new SpannableString("any android.com any"); in testAddLinks_prependsDefaultSchemeToBeginingOfLink() local
299 Spannable spannable = new SpannableString("any https://android.com any"); in testAddLinks_doesNotPrependSchemeIfSchemeExists() local
312 Spannable spannable = new SpannableString("hey man.its me"); in testAddLinks_doesNotAddLinksForUrlWithoutProtocolAndWithoutKnownTld() local
[all …]
/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/tests/coretests/src/android/text/
DSpannableTest.java34 Spannable spannable = newSpannableWithText("abcdef"); in testGetSpans() local
/frameworks/support/emoji/core/tests/java/android/support/text/emoji/util/
DKeyboardUtil.java112 public static void setSelection(Instrumentation instrumentation, final Spannable spannable, in setSelection()
117 public static void setSelection(Instrumentation instrumentation, final Spannable spannable, in setSelection()
/frameworks/support/compat/java/android/support/v4/text/util/
DLinkifyCompat.java262 SpannableString spannable = SpannableString.valueOf(text.getText()); in addLinks() local
304 public static final boolean addLinks(@NonNull Spannable spannable, @NonNull Pattern pattern, in addLinks()
330 public static final boolean addLinks(@NonNull Spannable spannable, @NonNull Pattern pattern, in addLinks()
/frameworks/base/core/tests/coretests/src/android/text/method/
DEditorState.java149 final Spannable spannable = new SpannableString(sb.toString()); in setByString() local
/frameworks/support/emoji/core/src/android/support/text/emoji/widget/
DEmojiInputFilter.java123 static void updateSelection(Spannable spannable, final int start, final int end) { in updateSelection()
/frameworks/base/core/java/android/text/util/
DLinkify.java413 SpannableString spannable = SpannableString.valueOf(text.getText()); in addLinks() local
452 public static final boolean addLinks(@NonNull Spannable spannable, @NonNull Pattern pattern, in addLinks()
479 public static final boolean addLinks(@NonNull Spannable spannable, @NonNull Pattern pattern, in addLinks()
/frameworks/opt/setupwizard/library/platform/src/com/android/setupwizardlib/view/
DRichTextView.java65 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/data-binding/integration-tests/TestApp/app/src/androidTestApi7/java/android/databinding/testapp/
DTextViewBindingAdapterTest.java282 Spannable spannable = Spannable.Factory.getInstance().newSpannable(input); in getDigits() local
/frameworks/support/emoji/core/src/android/support/text/emoji/
DEmojiProcessor.java150 Spannable spannable = null; in process() local
406 private void addEmoji(@NonNull final Spannable spannable, final EmojiMetadata metadata, in addEmoji()
/frameworks/opt/chips/src/com/android/ex/chips/
DRecipientEditTextView.java1426 Spannable spannable = getSpannable(); in sanitizeEnd() local
2313 final Spannable spannable = getSpannable(); in getSortedRecipients() local
2442 Spannable spannable = getSpannable(); in createMoreChip() local
2537 Spannable spannable = getSpannable(); in selectChip() local
2695 Spannable spannable = getSpannable(); in removeChip() local
2791 Spannable spannable = getSpannable(); in afterTextChanged() local
/frameworks/support/emoji/core/tests/java/android/support/text/emoji/
DEmojiCompatTest.java151 final Spannable spannable = new SpannableString(new TestString('a') in testProcessWithStartEnd_withNoOpValues() local
/frameworks/base/core/java/android/view/textclassifier/
DTextClassifierImpl.java604 Spannable spannable = (Spannable) text; in apply() local
/frameworks/base/core/java/android/widget/
DEditor.java1240 Spannable spannable = (Spannable) text; in downgradeEasyCorrectionSpans() local
2192 Spannable spannable = (Spannable) mTextView.getText(); in isCursorInsideEasyCorrectionSpan() local
3297 Spannable spannable = (Spannable) mTextView.getText(); in getSortedSuggestionSpans() local
3325 final Spannable spannable = (Spannable) mTextView.getText(); in getSuggestionInfo() local
3667 Spannable spannable = (Spannable) mTextView.getText(); in updateSuggestions() local
DAutoCompleteTextView.java1062 Editable spannable = getText(); in replaceText() local
DTextView.java7585 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/media/java/android/media/
DClosedCaptionRenderer.java1406 Spannable spannable = (Spannable) text; in setBackgroundSpans() local
/frameworks/base/telephony/java/android/telephony/
DPhoneNumberUtils.java2453 Spannable spannable = Spannable.Factory.getInstance().newSpannable(phoneNumber); in createTtsSpannable() local
/frameworks/base/core/java/android/view/accessibility/
DAccessibilityNodeInfo.java2461 Spannable spannable = new SpannableStringBuilder(text); in setText() local