Searched refs:getSpanFlags (Results 1 – 13 of 13) sorted by relevance
111 assertEquals(Spanned.SPAN_POINT_POINT, content.getSpanFlags(Selection.SELECTION_START)); in testAdjustMetaAfterKeypress()112 assertEquals(Spanned.SPAN_POINT_POINT, content.getSpanFlags(Selection.SELECTION_END)); in testAdjustMetaAfterKeypress()120 assertEquals(Spanned.SPAN_POINT_POINT, content.getSpanFlags(Selection.SELECTION_START)); in testAdjustMetaAfterKeypress()121 assertEquals(Spanned.SPAN_POINT_POINT, content.getSpanFlags(Selection.SELECTION_END)); in testAdjustMetaAfterKeypress()129 assertEquals(Spanned.SPAN_POINT_POINT, content.getSpanFlags(Selection.SELECTION_START)); in testAdjustMetaAfterKeypress()130 assertEquals(Spanned.SPAN_POINT_POINT, content.getSpanFlags(Selection.SELECTION_END)); in testAdjustMetaAfterKeypress()155 assertEquals(Spanned.SPAN_POINT_POINT, text.getSpanFlags(Selection.SELECTION_START)); in testResetMetaState()156 assertEquals(Spanned.SPAN_POINT_POINT, text.getSpanFlags(Selection.SELECTION_END)); in testResetMetaState()163 assertEquals(Spanned.SPAN_POINT_POINT, text.getSpanFlags(Selection.SELECTION_START)); in testResetMetaState()164 assertEquals(Spanned.SPAN_POINT_POINT, text.getSpanFlags(Selection.SELECTION_END)); in testResetMetaState()[all …]
221 assertEquals(Spannable.SPAN_EXCLUSIVE_EXCLUSIVE, content.getSpanFlags(repl[0])); in testMarkAsReplaced()228 assertEquals(Spannable.SPAN_EXCLUSIVE_EXCLUSIVE, content.getSpanFlags(repl[0])); in testMarkAsReplaced()
112 assertEquals(Spanned.SPAN_POINT_POINT, filtered.getSpanFlags(what)); in testFilter1()191 assertEquals(Spanned.SPAN_POINT_POINT, filtered.getSpanFlags(what)); in testFilter2()274 assertEquals(Spanned.SPAN_POINT_POINT, filtered.getSpanFlags(what)); in testFilter3()360 assertEquals(Spanned.SPAN_POINT_POINT, filtered.getSpanFlags(what)); in testFilter4()474 assertEquals(Spanned.SPAN_POINT_POINT, filtered.getSpanFlags(what)); in testFilter4_internationalized()
81 assertEquals(Spanned.SPAN_POINT_POINT, filtered.getSpanFlags(what)); in testFilter()
142 assertEquals(Spanned.SPAN_POINT_POINT, spannable.getSpanFlags(span)); in testOnTakeFocus()
84 assertEquals(SpannableString.SPAN_POINT_POINT, spannable.getSpanFlags(null)); in testSetSpan()91 spannable.getSpanFlags(underlineSpan)); in testSetSpan()117 assertEquals(2, spannable.getSpanFlags(underlineSpan)); in testRemoveSpan()122 assertEquals(0, spannable.getSpanFlags(underlineSpan)); in testRemoveSpan()128 assertEquals(0, spannable.getSpanFlags(underlineSpan)); in testRemoveSpan()181 assertEquals(expected[i][3], second.getSpanFlags(secondSpan)); in testSubsequence_copiesSpans()204 assertEquals(first.getSpanFlags(firstSpan), second.getSpanFlags(secondSpan)); in testCopyConstructor_copiesAllSpans()
99 assertEquals(0, builder.getSpanFlags(mUnderlineSpan)); in testGetSpanFlags()105 assertEquals(Spanned.SPAN_EXCLUSIVE_INCLUSIVE, builder.getSpanFlags(mUnderlineSpan)); in testGetSpanFlags()106 assertEquals(Spanned.SPAN_INCLUSIVE_EXCLUSIVE, builder.getSpanFlags(mStrikethroughSpan)); in testGetSpanFlags()107 assertEquals(0, builder.getSpanFlags(new Object())); in testGetSpanFlags()146 assertEquals(Spanned.SPAN_POINT_POINT, builder.getSpanFlags(null)); in testSetSpan()151 assertEquals(Spanned.SPAN_EXCLUSIVE_EXCLUSIVE, builder.getSpanFlags(mUnderlineSpan)); in testSetSpan()420 assertEquals(2, builder.getSpanFlags(mUnderlineSpan)); in testClearSpans()425 assertEquals(0, builder.getSpanFlags(mUnderlineSpan)); in testClearSpans()459 assertEquals(2, builder.getSpanFlags(mUnderlineSpan)); in testRemoveSpan()464 assertEquals(2, builder.getSpanFlags(mUnderlineSpan)); in testRemoveSpan()[all …]
135 assertEquals(Spanned.SPAN_INCLUSIVE_INCLUSIVE, spannedResult.getSpanFlags(span)); in testFilter_greekWithSpans()
159 public int getSpanFlags(Object tag) { in getSpanFlags() method in AlteredCharSequenceTest.MockSpanned
276 assertTrue((s.getSpanFlags(SPAN) & Spanned.SPAN_INCLUSIVE_EXCLUSIVE) != 0); in testSpannedInterface_Spanned()294 assertTrue((s.getSpanFlags(span) & Spanned.SPAN_INCLUSIVE_EXCLUSIVE) != 0); in testSpannedInterface_Spannable()328 assertEquals(0, s.getSpanFlags(SPAN)); in testSpannedInterface_String()
407 assertEquals(Spanned.SPAN_INCLUSIVE_INCLUSIVE, dest1.getSpanFlags(urlSpan)); in testCopySpansFrom()410 assertEquals(Spanned.SPAN_EXCLUSIVE_EXCLUSIVE, dest1.getSpanFlags(bgColorSpan)); in testCopySpansFrom()422 assertEquals(Spanned.SPAN_EXCLUSIVE_INCLUSIVE, dest2.getSpanFlags(urlSpan)); in testCopySpansFrom()2120 assertEquals(Spanned.SPAN_INCLUSIVE_INCLUSIVE, ret.getSpanFlags(spans[0])); in testWriteToParcel()2146 assertEquals(Spanned.SPAN_INCLUSIVE_INCLUSIVE, ret.getSpanFlags(spans[0])); in testWriteToParcel()2156 assertEquals(Spanned.SPAN_INCLUSIVE_EXCLUSIVE, ret.getSpanFlags(spans[1])); in testWriteToParcel()
6650 assertEquals(source.getSpanFlags(span), result.getSpanFlags(span)); in testAllCaps_SpansArePreserved()
47889 method public int getSpanFlags(Object);47986 method public int getSpanFlags(Object);48013 method public int getSpanFlags(Object);48034 method public int getSpanFlags(Object);48061 method public int getSpanFlags(Object);