/frameworks/base/core/java/android/text/ |
SpannableString.java | 45 public void setSpan(Object what, int start, int end, int flags) { 46 super.setSpan(what, start, end, flags);
|
Spannable.java | 39 public void setSpan(Object what, int start, int end, int flags);
|
/external/webkit/Source/WebCore/html/ |
HTMLTableColElement.cpp | 93 void HTMLTableColElement::setSpan(int n)
|
/packages/apps/Contacts/tests/src/com/android/contacts/format/ |
TestTextWithHighlightingFactory.java | 37 setSpan(new StyleSpan(Typeface.ITALIC), 0, baseText.sizeCopied, 0); 38 setSpan(new StyleSpan(Typeface.ITALIC), baseText.sizeCopied + 1,
|
/development/samples/ApiDemos/src/com/example/android/apis/text/ |
Link.java | 75 ss.setSpan(new StyleSpan(Typeface.BOLD), 0, 6, 77 ss.setSpan(new URLSpan("tel:4155551212"), 13, 17,
|
/external/webkit/Source/WebCore/rendering/ |
RenderTableCol.h | 45 void setSpan(int span) { m_span = span; }
|
/frameworks/base/core/tests/coretests/src/android/text/ |
SpannableTest.java | 32 spannable.setSpan(emptySpan, 1, 1, 0); 34 spannable.setSpan(unemptySpan, 1, 2, 0);
|
SpannedTest.java | 48 ss.setSpan(o, 0, ss.length(), Spannable.SPAN_EXCLUSIVE_EXCLUSIVE); 67 s.setSpan(mark, 1, 2, Spannable.SPAN_EXCLUSIVE_EXCLUSIVE); 68 s.setSpan(CharacterStyle.wrap(mark), 3, 7, 70 s.setSpan(new TextAppearanceSpan("mono", 0, -1, null, null), 7, 8, 72 s.setSpan(CharacterStyle.wrap(new TypefaceSpan("mono")), 8, 9, 106 s.setSpan(new Object(), 0, 1, Spannable.SPAN_EXCLUSIVE_EXCLUSIVE | 108 s.setSpan(new Object(), 0, 1, Spannable.SPAN_EXCLUSIVE_EXCLUSIVE | 110 s.setSpan(new Object(), 0, 1, Spannable.SPAN_EXCLUSIVE_EXCLUSIVE | 112 s.setSpan(new Object(), 0, 1, Spannable.SPAN_EXCLUSIVE_EXCLUSIVE | 114 s.setSpan(new Object(), 0, 1, Spannable.SPAN_EXCLUSIVE_EXCLUSIVE [all...] |
HtmlTest.java | 161 s.setSpan(new QuoteSpan(), 0, s.length(), Spannable.SPAN_PARAGRAPH); 165 s.setSpan(new QuoteSpan(), 0, 7, Spannable.SPAN_PARAGRAPH); 188 s.setSpan(new StyleSpan(Typeface.BOLD), 6, s.length() - 6, 193 s.setSpan(new StyleSpan(Typeface.ITALIC), 6, s.length() - 6, 198 s.setSpan(new TypefaceSpan("monospace"), 6, s.length() - 6, 203 s.setSpan(new SuperscriptSpan(), 6, s.length() - 6, 208 s.setSpan(new SubscriptSpan(), 6, s.length() - 6, 213 s.setSpan(new UnderlineSpan(), 6, s.length() - 6, 218 s.setSpan(new StrikethroughSpan(), 6, s.length() - 6, 223 s.setSpan(new URLSpan("http://www.google.com"), 6, s.length() - 6 [all...] |
/packages/apps/Contacts/src/com/android/contacts/format/ |
PrefixHighlighter.java | 60 result.setSpan(mPrefixColorSpan, index, index + prefix.length, 0 /* flags */);
|
FormatUtils.java | 108 text.setSpan(new StyleSpan(style), start, end, flags);
|
/packages/apps/QuickSearchBox/src/com/android/quicksearchbox/ |
SuggestionFormatter.java | 54 text.setSpan(span, start, end, 0);
|
/cts/tests/tests/text/src/android/text/cts/ |
SpannableStringTest.java | 72 method = "setSpan", 76 + "SpannableString#setSpan(Object,int, int, int) when index is out of bounds") 81 spannable.setSpan(null, 1, 4, SpannableString.SPAN_POINT_POINT); 87 spannable.setSpan(underlineSpan, 0, 2, SpannableString.SPAN_EXCLUSIVE_EXCLUSIVE); 94 spannable.setSpan(null, 4, 1, SpannableString.SPAN_POINT_POINT); 100 spannable.setSpan(underlineSpan, -1, text.length() + 1, 118 spannable.setSpan(underlineSpan, 0, 2, 2);
|
TextUtilsTest.java | 166 string1.setSpan(urlSpan, 0, string1.length() - 1, Spanned.SPAN_INCLUSIVE_INCLUSIVE); 168 string2.setSpan(bgColorSpan, 0, string2.length() - 1, Spanned.SPAN_EXCLUSIVE_EXCLUSIVE); 211 source1.setSpan(urlSpan, 0, midPos, Spanned.SPAN_INCLUSIVE_INCLUSIVE); 213 source1.setSpan(bgColorSpan, midPos - 1, 233 source2.setSpan(urlSpan, 0, source2.length() - 1, Spanned.SPAN_EXCLUSIVE_INCLUSIVE); 587 spanString.setSpan(new URLSpan(url), 0, spanString.length(), 598 urlSpanString.setSpan(urlSpan, 0, urlSpanString.length(), 601 bgColorSpanString.setSpan(bgColorSpan, 0, bgColorSpanString.length(), [all...] |
HtmlTest.java | 195 s.setSpan(new QuoteSpan(), start, end, Spannable.SPAN_PARAGRAPH); 200 s.setSpan(new QuoteSpan(), start, end, Spannable.SPAN_PARAGRAPH); 230 s.setSpan(new StyleSpan(Typeface.BOLD), start, end, SPAN_EXCLUSIVE_INCLUSIVE); 235 s.setSpan(new StyleSpan(Typeface.ITALIC), start, end, SPAN_EXCLUSIVE_INCLUSIVE); 240 s.setSpan(new TypefaceSpan("monospace"), start, end, SPAN_EXCLUSIVE_INCLUSIVE); 245 s.setSpan(new SuperscriptSpan(), start, end, SPAN_EXCLUSIVE_INCLUSIVE); 250 s.setSpan(new SubscriptSpan(), start, end, SPAN_EXCLUSIVE_INCLUSIVE); 255 s.setSpan(new UnderlineSpan(), start, end, SPAN_EXCLUSIVE_INCLUSIVE); 260 s.setSpan(new StrikethroughSpan(), start, end, SPAN_EXCLUSIVE_INCLUSIVE); 265 s.setSpan(new URLSpan("http://www.google.com"), start, end, SPAN_EXCLUSIVE_INCLUSIVE) [all...] |
/cts/tests/tests/text/src/android/text/method/cts/ |
MetaKeyKeyListenerTest.java | 54 content.setSpan(Selection.SELECTION_START, 0, 0, Spanned.SPAN_POINT_POINT); 55 content.setSpan(Selection.SELECTION_END, 0, 0, Spanned.SPAN_POINT_POINT); 60 content.setSpan(Selection.SELECTION_START, 1, 1, Spanned.SPAN_POINT_POINT); 61 content.setSpan(Selection.SELECTION_END, 1, 1, Spanned.SPAN_POINT_POINT); 66 content.setSpan(Selection.SELECTION_START, 3, 3, Spanned.SPAN_POINT_POINT); 67 content.setSpan(Selection.SELECTION_END, 3, 3, Spanned.SPAN_POINT_POINT); 85 content.setSpan(Selection.SELECTION_START, 0, 0, Spanned.SPAN_POINT_POINT); 86 content.setSpan(Selection.SELECTION_END, 0, 0, Spanned.SPAN_POINT_POINT); 91 content.setSpan(Selection.SELECTION_START, 1, 1, Spanned.SPAN_POINT_POINT); 92 content.setSpan(Selection.SELECTION_END, 1, 1, Spanned.SPAN_POINT_POINT) [all...] |
/frameworks/base/core/java/com/google/android/util/ |
SmileyParser.java | 73 builder.setSpan(new ImageSpan(context, resid),
|
/device/google/accessory/demokit/app/src/com/google/android/DemoKit/ |
RelayController.java | 37 ssb.setSpan(new SubscriptSpan(), 5, 6, 0); 38 ssb.setSpan(new RelativeSizeSpan(0.7f), 5, 6, 0);
|
ServoController.java | 26 ssb.setSpan(new SubscriptSpan(), 5, 6, 0); 27 ssb.setSpan(new RelativeSizeSpan(0.7f), 5, 6, 0);
|
/packages/apps/CellBroadcastReceiver/src/com/android/cellbroadcastreceiver/ |
CellBroadcastListItem.java | 93 buf.setSpan(STYLE_BOLD, 0, buf.length(),
|
/packages/apps/Contacts/src/com/android/contacts/util/ |
HtmlUtils.java | 131 builder.setSpan(newSpan,
|
/packages/apps/Contacts/tests/src/com/android/contacts/util/ |
HtmlUtilsTest.java | 92 builder.setSpan(new ImageSpan(new ColorDrawable(), ImageSpan.ALIGN_BOTTOM), 0, 2, 0); 93 builder.setSpan(new QuoteSpan(), 2, 4, 0); 94 builder.setSpan(new CustomSpan(), 4, builder.length(), 0);
|
/frameworks/base/core/java/android/text/method/ |
MultiTapKeyListener.java | 186 content.setSpan(OLD_SEL_START, selStart, selStart, 197 content.setSpan(TextKeyListener.LAST_TYPED, 201 content.setSpan(TextKeyListener.ACTIVE, 220 content.setSpan(this, 0, content.length(), 256 mBuffer.setSpan(Timeout.this, 0, mBuffer.length(),
|
/frameworks/base/core/java/android/view/inputmethod/ |
BaseInputConnection.java | 107 text.setSpan(o, text.getSpanStart(o), text.getSpanEnd(o), 115 text.setSpan(COMPOSING, start, end, 451 content.setSpan(mDefaultComposingSpans[i], a, b, 456 content.setSpan(COMPOSING, a, b, 627 sp.setSpan(mDefaultComposingSpans[i], 0, sp.length(),
|
/cts/tests/tests/widget/src/android/widget/cts/ |
MultiAutoCompleteTextView_CommaTokenizerTest.java | 159 spannableString.setSpan(what, 0, spannableString.length(),
|