Home
last modified time | relevance | path

Searched refs:getSpans (Results 1 – 7 of 7) sorted by relevance

/external/robolectric-shadows/robolectric/src/test/java/org/robolectric/shadows/
DShadowSpannableStringTest.java47 Object[] spans = spanStr.getSpans(0, TEST_STRING.length(), Object.class); in testRemoveSpan()
60 Object[] spans = spanStr.getSpans(0, TEST_STRING.length(), Object.class); in testGetSpans()
65 spans = spanStr.getSpans(0, TEST_STRING.length(), URLSpan.class); in testGetSpans()
70 spans = spanStr.getSpans(11, 35, Object.class); in testGetSpans()
75 spans = spanStr.getSpans(21, 35, Object.class); in testGetSpans()
80 spans = spanStr.getSpans(5, 15, Object.class); in testGetSpans()
87 Object[] spans = spanStr.getSpans(0, TEST_STRING.length(), Object.class); in assertBothSpans()
/external/setupdesign/main/src/com/google/android/setupdesign/util/
DLinkAccessibilityHelper.java162 ClickableSpan[] linkSpans = spannedText.getSpans(offset, offset, ClickableSpan.class); in getVirtualViewAt()
177 spannedText.getSpans(0, spannedText.length(), ClickableSpan.class); in getVisibleVirtualViews()
235 ClickableSpan[] spans = spannedText.getSpans(offset, offset, ClickableSpan.class); in getSpanForOffset()
/external/setupdesign/main/src/com/google/android/setupdesign/view/
DRichTextView.java68 final Annotation[] spans = spannable.getSpans(0, spannable.length(), Annotation.class); in getRichText()
152 ((Spanned) text).getSpans(0, text.length(), ClickableSpan.class); in hasLinks()
/external/sl4a/ScriptingLayerForAndroid/src/com/googlecode/android_scripting/activity/
DScriptEditor.java547 for (Object o : text.getSpans(0, text.length(), UnderlineSpan.class)) { in undo()
564 for (Object o : text.getSpans(0, text.length(), UnderlineSpan.class)) { in redo()
/external/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/lang/
DUnicodeSetStringSpanTest.java401 static int getSpans(final UnicodeSetWithStrings set, boolean isComplement, final String s, in getSpans() method in UnicodeSetStringSpanTest
592 … limitsCount = getSpans(sets[i], (0 != (i & 1)), s, whichSpans, type, typeName, limits, in verifySpan()
/external/icu/android_icu4j/src/main/tests/android/icu/dev/test/lang/
DUnicodeSetStringSpanTest.java404 static int getSpans(final UnicodeSetWithStrings set, boolean isComplement, final String s, in getSpans() method in UnicodeSetStringSpanTest
595 … limitsCount = getSpans(sets[i], (0 != (i & 1)), s, whichSpans, type, typeName, limits, in verifySpan()
/external/icu/icu4c/source/test/intltest/
Dusettest.cpp2906 static int32_t getSpans(const UnicodeSetWithStrings &set, UBool isComplement, in getSpans() function
3127 limitsCount=getSpans(*sets[i], (UBool)(i&1), in testSpan()