HomeSort by relevance Sort by last modified time
    Searched refs:spannableString (Results 1 - 5 of 5) sorted by null

  /cts/tests/tests/widget/src/android/widget/cts/
MultiAutoCompleteTextView_CommaTokenizerTest.java 20 import android.text.SpannableString;
123 SpannableString spannableString = new SpannableString(text);
124 SpannableString expected = new SpannableString(text + ", ");
126 spannableString.setSpan(what, 0, spannableString.length(),
129 SpannableString actual = (SpannableString) mCommaTokenizer.terminateToken(spannableString)
    [all...]
  /frameworks/base/core/java/com/android/internal/notification/
DemoContactNotificationScorer.java 26 import android.text.SpannableString;
69 if (!(charSequence instanceof SpannableString)) {
72 SpannableString spannableString = (SpannableString)charSequence;
74 Object[] ssArr = spannableString.getSpans(0, spannableString.length(), Object.class);
79 sss.add(spannableString.subSequence(spannableString.getSpanStart(spanObj),
80 spannableString.getSpanEnd(spanObj)).toString())
    [all...]
  /packages/apps/UnifiedEmail/src/com/android/mail/utils/
NotificationUtils.java 36 import android.text.SpannableString;
    [all...]
  /cts/tests/tests/text/src/android/text/cts/
TextUtilsTest.java 33 import android.text.SpannableString;
147 SpannableString string1 = new SpannableString("first");
148 SpannableString string2 = new SpannableString("second");
186 SpannableString source1 = new SpannableString(text);
196 SpannableString dest1 = new SpannableString(text);
211 SpannableString source2 = new SpannableString(text)
    [all...]
  /packages/apps/Mms/src/com/android/mms/transaction/
MessagingNotification.java 55 import android.text.SpannableString;
538 final SpannableString spannableString = new SpannableString(context.getString(id));
539 spannableString.setSpan(notificationAttachmentSpan,
540 0, spannableString.length(), 0);
541 return spannableString;
    [all...]

Completed in 70 milliseconds