/cts/tests/tests/text/src/android/text/cts/ |
SpannableStringTest.java | 58 assertEquals(SpannableString.SPAN_POINT_POINT, spannable.getSpanFlags(null)); 65 spannable.getSpanFlags(underlineSpan)); 90 assertEquals(2, spannable.getSpanFlags(underlineSpan)); 95 assertEquals(0, spannable.getSpanFlags(underlineSpan)); 101 assertEquals(0, spannable.getSpanFlags(underlineSpan));
|
SpannableStringBuilderTest.java | 86 assertEquals(0, builder.getSpanFlags(mUnderlineSpan)); 92 assertEquals(Spanned.SPAN_EXCLUSIVE_INCLUSIVE, builder.getSpanFlags(mUnderlineSpan)); 93 assertEquals(Spanned.SPAN_INCLUSIVE_EXCLUSIVE, builder.getSpanFlags(mStrikethroughSpan)); 94 assertEquals(0, builder.getSpanFlags(new Object())); 131 assertEquals(Spanned.SPAN_POINT_POINT, builder.getSpanFlags(null)); 136 assertEquals(Spanned.SPAN_EXCLUSIVE_EXCLUSIVE, builder.getSpanFlags(mUnderlineSpan)); 376 assertEquals(2, builder.getSpanFlags(mUnderlineSpan)); 381 assertEquals(0, builder.getSpanFlags(mUnderlineSpan)); 412 assertEquals(2, builder.getSpanFlags(mUnderlineSpan)); 417 assertEquals(2, builder.getSpanFlags(mUnderlineSpan)) [all...] |
AlteredCharSequenceTest.java | 146 public int getSpanFlags(Object tag) {
|
TextUtilsTest.java | 206 assertEquals(Spanned.SPAN_INCLUSIVE_INCLUSIVE, dest1.getSpanFlags(urlSpan)); 209 assertEquals(Spanned.SPAN_EXCLUSIVE_EXCLUSIVE, dest1.getSpanFlags(bgColorSpan)); 221 assertEquals(Spanned.SPAN_EXCLUSIVE_INCLUSIVE, dest2.getSpanFlags(urlSpan)); [all...] |
/cts/tests/tests/text/src/android/text/method/cts/ |
MetaKeyKeyListenerTest.java | 92 assertEquals(Spanned.SPAN_POINT_POINT, content.getSpanFlags(Selection.SELECTION_START)); 93 assertEquals(Spanned.SPAN_POINT_POINT, content.getSpanFlags(Selection.SELECTION_END)); 101 assertEquals(Spanned.SPAN_POINT_POINT, content.getSpanFlags(Selection.SELECTION_START)); 102 assertEquals(Spanned.SPAN_POINT_POINT, content.getSpanFlags(Selection.SELECTION_END)); 110 assertEquals(Spanned.SPAN_POINT_POINT, content.getSpanFlags(Selection.SELECTION_START)); 111 assertEquals(Spanned.SPAN_POINT_POINT, content.getSpanFlags(Selection.SELECTION_END)); 134 assertEquals(Spanned.SPAN_POINT_POINT, text.getSpanFlags(Selection.SELECTION_START)); 135 assertEquals(Spanned.SPAN_POINT_POINT, text.getSpanFlags(Selection.SELECTION_END)); 142 assertEquals(Spanned.SPAN_POINT_POINT, text.getSpanFlags(Selection.SELECTION_START)); 143 assertEquals(Spanned.SPAN_POINT_POINT, text.getSpanFlags(Selection.SELECTION_END)) [all...] |
QwertyKeyListenerTest.java | 183 assertEquals(Spannable.SPAN_EXCLUSIVE_EXCLUSIVE, content.getSpanFlags(repl[0])); 190 assertEquals(Spannable.SPAN_EXCLUSIVE_EXCLUSIVE, content.getSpanFlags(repl[0]));
|
DigitsKeyListenerTest.java | 78 assertEquals(Spanned.SPAN_POINT_POINT, filtered.getSpanFlags(what)); 156 assertEquals(Spanned.SPAN_POINT_POINT, filtered.getSpanFlags(what)); 238 assertEquals(Spanned.SPAN_POINT_POINT, filtered.getSpanFlags(what)); 323 assertEquals(Spanned.SPAN_POINT_POINT, filtered.getSpanFlags(what));
|
NumberKeyListenerTest.java | 71 assertEquals(Spanned.SPAN_POINT_POINT, filtered.getSpanFlags(what));
|
/frameworks/base/core/java/android/text/ |
Spanned.java | 187 public int getSpanFlags(Object tag);
|
AlteredCharSequence.java | 78 public int getSpanFlags(Object span) { 79 return mSpanned.getSpanFlags(span);
|
SpannableStringInternal.java | 43 int fl = sp.getSpanFlags(spans[i]); 191 public int getSpanFlags(Object what) { 252 int p = getSpanFlags(ret[j]) & Spanned.SPAN_PRIORITY; 377 getSpanFlags(thisSpan) != other.getSpanFlags(otherSpan)) { 383 getSpanFlags(thisSpan) != other.getSpanFlags(otherSpan)) { 405 hash = hash * 31 + getSpanFlags(span);
|
SpanSet.java | 65 final int spanFlag = spanned.getSpanFlags(span);
|
SpannableStringBuilder.java | 81 int fl = sp.getSpanFlags(spans[i]); 373 sp.getSpanFlags(spans[i])); 512 int flags = spanned.getSpanFlags(span); 751 public int getSpanFlags(Object what) { 828 int p = getSpanFlags(ret[j]) & SPAN_PRIORITY; [all...] |
/external/robolectric/src/main/java/com/xtremelabs/robolectric/shadows/ |
ShadowHtml.java | 48 public int getSpanFlags(Object tag) {
|
/packages/inputmethods/LatinIME/tests/src/com/android/inputmethod/latin/utils/ |
SpannableStringUtilsTests.java | 52 final int flags = result.getSpanFlags(spans[i]);
|
/frameworks/base/core/java/android/text/method/ |
ReplacementTransformationMethod.java | 195 public int getSpanFlags(Object tag) { 196 return mSpanned.getSpanFlags(tag);
|
MetaKeyKeyListener.java | 256 int flag = sp.getSpanFlags(meta); 296 int current = content.getSpanFlags(what); 316 int current = content.getSpanFlags(what); 346 int state = content.getSpanFlags(what); 401 int current = content.getSpanFlags(what);
|
MultiTapKeyListener.java | 110 int rec = (content.getSpanFlags(TextKeyListener.ACTIVE)
|
QwertyKeyListener.java | 198 int flags = content.getSpanFlags(TextKeyListener.CAPPED);
|
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/utils/ |
SpannableStringUtils.java | 47 int fl = source.getSpanFlags(spans[i]);
|
/packages/apps/UnifiedEmail/src/com/android/mail/ui/ |
EllipsizedMultilineTextView.java | 108 final int flags = s.getSpanFlags(span);
|
/frameworks/base/core/tests/coretests/src/android/text/ |
SpannedTest.java | 124 assertEquals((s.getSpanFlags(spans[i]) & Spanned.SPAN_PRIORITY) >= 125 (s.getSpanFlags(spans[i + 1]) & Spanned.SPAN_PRIORITY),
|
/packages/apps/Contacts/src/com/android/contacts/util/ |
HtmlUtils.java | 135 builder.getSpanFlags(originalSpan));
|
/packages/apps/Contacts/src/com/android/contacts/widget/ |
TextHighlightingAnimation.java | 106 public int getSpanFlags(Object tag) {
|
/frameworks/base/core/java/android/view/inputmethod/ |
BaseInputConnection.java | 82 if ((text.getSpanFlags(o)&Spanned.SPAN_COMPOSING) != 0) { 104 final int fl = text.getSpanFlags(o);
|