Home
last modified time | relevance | path

Searched refs:getSpanFlags (Results 1 – 10 of 10) sorted by relevance

/cts/tests/tests/text/src/android/text/method/cts/
DMetaKeyKeyListenerTest.java92 assertEquals(Spanned.SPAN_POINT_POINT, content.getSpanFlags(Selection.SELECTION_START)); in testAdjustMetaAfterKeypress()
93 assertEquals(Spanned.SPAN_POINT_POINT, content.getSpanFlags(Selection.SELECTION_END)); in testAdjustMetaAfterKeypress()
101 assertEquals(Spanned.SPAN_POINT_POINT, content.getSpanFlags(Selection.SELECTION_START)); in testAdjustMetaAfterKeypress()
102 assertEquals(Spanned.SPAN_POINT_POINT, content.getSpanFlags(Selection.SELECTION_END)); in testAdjustMetaAfterKeypress()
110 assertEquals(Spanned.SPAN_POINT_POINT, content.getSpanFlags(Selection.SELECTION_START)); in testAdjustMetaAfterKeypress()
111 assertEquals(Spanned.SPAN_POINT_POINT, content.getSpanFlags(Selection.SELECTION_END)); in testAdjustMetaAfterKeypress()
134 assertEquals(Spanned.SPAN_POINT_POINT, text.getSpanFlags(Selection.SELECTION_START)); in testResetMetaState()
135 assertEquals(Spanned.SPAN_POINT_POINT, text.getSpanFlags(Selection.SELECTION_END)); in testResetMetaState()
142 assertEquals(Spanned.SPAN_POINT_POINT, text.getSpanFlags(Selection.SELECTION_START)); in testResetMetaState()
143 assertEquals(Spanned.SPAN_POINT_POINT, text.getSpanFlags(Selection.SELECTION_END)); in testResetMetaState()
[all …]
DQwertyKeyListenerTest.java180 assertEquals(Spannable.SPAN_EXCLUSIVE_EXCLUSIVE, content.getSpanFlags(repl[0])); in testMarkAsReplaced()
187 assertEquals(Spannable.SPAN_EXCLUSIVE_EXCLUSIVE, content.getSpanFlags(repl[0])); in testMarkAsReplaced()
DDigitsKeyListenerTest.java87 assertEquals(Spanned.SPAN_POINT_POINT, filtered.getSpanFlags(what)); in testFilter1()
165 assertEquals(Spanned.SPAN_POINT_POINT, filtered.getSpanFlags(what)); in testFilter2()
247 assertEquals(Spanned.SPAN_POINT_POINT, filtered.getSpanFlags(what)); in testFilter3()
332 assertEquals(Spanned.SPAN_POINT_POINT, filtered.getSpanFlags(what)); in testFilter4()
DNumberKeyListenerTest.java77 assertEquals(Spanned.SPAN_POINT_POINT, filtered.getSpanFlags(what)); in testFilter()
DLinkMovementMethodTest.java112 assertEquals(Spanned.SPAN_POINT_POINT, spannable.getSpanFlags(span)); in testOnTakeFocus()
/cts/tests/tests/text/src/android/text/cts/
DSpannableStringTest.java64 assertEquals(SpannableString.SPAN_POINT_POINT, spannable.getSpanFlags(null)); in testSetSpan()
71 spannable.getSpanFlags(underlineSpan)); in testSetSpan()
96 assertEquals(2, spannable.getSpanFlags(underlineSpan)); in testRemoveSpan()
101 assertEquals(0, spannable.getSpanFlags(underlineSpan)); in testRemoveSpan()
107 assertEquals(0, spannable.getSpanFlags(underlineSpan)); in testRemoveSpan()
159 assertEquals(expected[i][3], second.getSpanFlags(secondSpan)); in testSubsequence_copiesSpans()
183 assertEquals(first.getSpanFlags(firstSpan), second.getSpanFlags(secondSpan)); in testCopyConstructor_copiesAllSpans()
DSpannableStringBuilderTest.java94 assertEquals(0, builder.getSpanFlags(mUnderlineSpan)); in testGetSpanFlags()
100 assertEquals(Spanned.SPAN_EXCLUSIVE_INCLUSIVE, builder.getSpanFlags(mUnderlineSpan)); in testGetSpanFlags()
101 assertEquals(Spanned.SPAN_INCLUSIVE_EXCLUSIVE, builder.getSpanFlags(mStrikethroughSpan)); in testGetSpanFlags()
102 assertEquals(0, builder.getSpanFlags(new Object())); in testGetSpanFlags()
139 assertEquals(Spanned.SPAN_POINT_POINT, builder.getSpanFlags(null)); in testSetSpan()
144 assertEquals(Spanned.SPAN_EXCLUSIVE_EXCLUSIVE, builder.getSpanFlags(mUnderlineSpan)); in testSetSpan()
386 assertEquals(2, builder.getSpanFlags(mUnderlineSpan)); in testClearSpans()
391 assertEquals(0, builder.getSpanFlags(mUnderlineSpan)); in testClearSpans()
422 assertEquals(2, builder.getSpanFlags(mUnderlineSpan)); in testRemoveSpan()
427 assertEquals(2, builder.getSpanFlags(mUnderlineSpan)); in testRemoveSpan()
[all …]
DAlteredCharSequenceTest.java146 public int getSpanFlags(Object tag) { in getSpanFlags() method in AlteredCharSequenceTest.MockSpanned
DTextUtilsTest.java203 assertEquals(Spanned.SPAN_INCLUSIVE_INCLUSIVE, dest1.getSpanFlags(urlSpan)); in testCopySpansFrom()
206 assertEquals(Spanned.SPAN_EXCLUSIVE_EXCLUSIVE, dest1.getSpanFlags(bgColorSpan)); in testCopySpansFrom()
218 assertEquals(Spanned.SPAN_EXCLUSIVE_INCLUSIVE, dest2.getSpanFlags(urlSpan)); in testCopySpansFrom()
1869 assertEquals(Spanned.SPAN_INCLUSIVE_INCLUSIVE, ret.getSpanFlags(spans[0])); in testWriteToParcel()
1895 assertEquals(Spanned.SPAN_INCLUSIVE_INCLUSIVE, ret.getSpanFlags(spans[0])); in testWriteToParcel()
1905 assertEquals(Spanned.SPAN_INCLUSIVE_EXCLUSIVE, ret.getSpanFlags(spans[1])); in testWriteToParcel()
/cts/tools/dex-tools/dex/
Dclasses.out.dex75206 public abstract int getSpanFlags(
75249 public int getSpanFlags(
76845 public int getSpanFlags(
77254 public int getSpanFlags(
77305 public volatile int getSpanFlags(
77527 public int getSpanFlags(
77640 public volatile int getSpanFlags(
79289 public int getSpanFlags(