OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
refs:spannableString
(Results
1 - 7
of
7
) sorted by null
/frameworks/base/core/java/android/view/textservice/
TextInfo.java
73
final SpannableStringBuilder
spannableString
=
76
final SpellCheckSpan[] spans =
spannableString
.getSpans(0,
spannableString
.length(),
79
spannableString
.removeSpan(spans[i]);
82
mCharSequence =
spannableString
;
/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
...]
/external/chromium_org/content/public/android/java/src/org/chromium/content/browser/input/
ImeAdapter.java
11
import android.text.
SpannableString
;
678
if (!(text instanceof
SpannableString
)) return;
680
SpannableString
spannableString
= ((
SpannableString
) text);
682
spannableString
.getSpans(0, text.length(), CharacterStyle.class);
685
nativeAppendBackgroundColorSpan(underlines,
spannableString
.getSpanStart(span),
686
spannableString
.getSpanEnd(span),
689
nativeAppendUnderlineSpan(underlines,
spannableString
.getSpanStart(span),
690
spannableString
.getSpanEnd(span))
[
all
...]
/packages/inputmethods/LatinIME/tests/src/com/android/inputmethod/latin/utils/
StringAndJsonUtilsTests.java
21
import android.text.
SpannableString
;
368
final
SpannableString
spannableString
= new
SpannableString
(" a bcd efg hij ");
375
spannableString
.setSpan(span1, 0, 7, SPAN1_FLAGS);
376
spannableString
.setSpan(span2, 0, 5, SPAN2_FLAGS);
377
spannableString
.setSpan(span3, 12, 13, SPAN3_FLAGS);
379
spannableString
, " ", true /* preserveTrailingEmptySegmengs */);
381
spannableString
.toString(), " ", true /* preserveTrailingEmptySegmengs */);
/packages/apps/UnifiedEmail/src/com/android/mail/utils/
NotificationUtils.java
38
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
;
550
final
SpannableString
spannableString
= new
SpannableString
(context.getString(id));
551
spannableString
.setSpan(notificationAttachmentSpan,
552
0,
spannableString
.length(), 0);
553
return
spannableString
;
[
all
...]
Completed in 193 milliseconds