HomeSort by relevance Sort by last modified time
    Searched refs:getSpanEnd (Results 1 - 25 of 50) sorted by null

1 2

  /packages/apps/Email/tests/src/com/android/emailcommon/utility/
TextUtilitiesTests.java 206 assertEquals(text.indexOf("bl>e"), ssb.getSpanEnd(span));
217 assertEquals(text.indexOf(" word"), ssb.getSpanEnd(span));
220 assertEquals(text.indexOf(" result"), ssb.getSpanEnd(span));
233 assertEquals(text.indexOf(" be"), ssb.getSpanEnd(span));
236 assertEquals(text.indexOf("ble"), ssb.getSpanEnd(span));
249 assertEquals(text.indexOf(" be"), ssb.getSpanEnd(span));
261 assertEquals(text.indexOf("er is"), ssb.getSpanEnd(span));
274 assertEquals(text.indexOf("s are visible"), ssb.getSpanEnd(span));
278 assertEquals(text.indexOf(" are visible"), ssb.getSpanEnd(span));
  /cts/tests/tests/text/src/android/text/cts/
SpannableStringTest.java 83 assertEquals(4, spannable.getSpanEnd(null));
89 assertEquals(2, spannable.getSpanEnd(underlineSpan));
120 assertEquals(2, spannable.getSpanEnd(underlineSpan));
125 assertEquals(-1, spannable.getSpanEnd(underlineSpan));
131 assertEquals(-1, spannable.getSpanEnd(underlineSpan));
SpannableStringBuilderTest.java 165 assertEquals(4, builder.getSpanEnd(null));
170 assertEquals(2, builder.getSpanEnd(mUnderlineSpan));
445 assertEquals(2, builder.getSpanEnd(mUnderlineSpan));
450 assertEquals(-1, builder.getSpanEnd(mUnderlineSpan));
502 assertEquals(2, builder.getSpanEnd(mUnderlineSpan));
507 assertEquals(2, builder.getSpanEnd(mUnderlineSpan));
512 assertEquals(-1, builder.getSpanEnd(mUnderlineSpan));
534 method = "getSpanEnd",
540 assertEquals(3, builder.getSpanEnd(mUnderlineSpan));
541 assertEquals(-1, builder.getSpanEnd(mStrikethroughSpan))
    [all...]
AlteredCharSequenceTest.java 177 public int getSpanEnd(Object tag) {
  /frameworks/base/core/java/android/text/
Spanned.java 164 public int getSpanEnd(Object tag);
AlteredCharSequence.java 74 public int getSpanEnd(Object span) {
75 return mSpanned.getSpanEnd(span);
TextUtils.java 638 p.writeInt(sp.getSpanEnd(o));
784 sp.getSpanEnd(o)) + ": "
787 + " (" + sp.getSpanStart(o) + "-" + sp.getSpanEnd(o)
814 int end = tb.getSpanEnd(sources[i]);
911 int end = ((Spanned) text).getSpanEnd(spans[i]);
948 int end = ((Spanned) text).getSpanEnd(spans[i]);
984 int en = source.getSpanEnd(spans[i]);
    [all...]
  /frameworks/ex/chips/tests/src/com/android/ex/chips/
ChipsTest.java 177 assertEquals(mEditable.getSpanEnd(moreChip), thirdEnd);
182 assertEquals(mEditable.getSpanEnd(mMockRecips[mMockRecips.length - 3]), firstEnd);
185 assertEquals(mEditable.getSpanEnd(mMockRecips[mMockRecips.length - 1]), thirdEnd);
197 assertEquals(mEditable.getSpanEnd(moreChip), thirdEnd);
202 assertEquals(mEditable.getSpanEnd(mMockRecips[mMockRecips.length - 3]), firstEnd);
205 assertEquals(mEditable.getSpanEnd(mMockRecips[mMockRecips.length - 1]), thirdEnd);
267 assertEquals(mEditable.getSpanEnd(moreChip), tenthEnd);
317 assertEquals(mEditable.getSpanEnd(moreChip), thirdEnd);
322 assertEquals(mEditable.getSpanEnd(mMockRecips[mMockRecips.length - 3]), firstEnd);
325 assertEquals(mEditable.getSpanEnd(mMockRecips[mMockRecips.length - 1]), thirdEnd)
    [all...]
  /frameworks/base/core/tests/coretests/src/android/text/
SpannedTest.java 53 assertEquals(4, ssb.getSpanEnd(o));
58 assertEquals(8, ssb.getSpanEnd(o));
86 assertEquals(2, s2.getSpanEnd(style[0]));
91 assertEquals(7, s2.getSpanEnd(style[0]));
97 assertEquals(8, s2.getSpanEnd(appearance[0]));
102 assertEquals(9, s2.getSpanEnd(tf[0]));
HtmlTest.java 45 assertEquals(5, spanned.getSpanEnd(span));
62 assertEquals(9, spanned.getSpanEnd(spans[0]));
65 assertEquals(9, spanned.getSpanEnd(spans[1]));
68 assertEquals(10, spanned.getSpanEnd(spans[2]));
  /frameworks/base/core/java/android/text/method/
PasswordTransformationMethod.java 155 int en = sp.getSpanEnd(TextKeyListener.ACTIVE);
166 en = sp.getSpanEnd(visible[a]);
200 en = sp.getSpanEnd(TextKeyListener.ACTIVE);
210 ends[i] = sp.getSpanEnd(visible[i]);
ReplacementTransformationMethod.java 191 public int getSpanEnd(Object tag) {
192 return mSpanned.getSpanEnd(tag);
LinkMovementMethod.java 145 int end = buffer.getSpanEnd(candidates[i]);
172 bestend = buffer.getSpanEnd(candidates[i]);
216 buffer.getSpanEnd(link[0]));
QwertyKeyListener.java 103 int activeEnd = content.getSpanEnd(TextKeyListener.ACTIVE);
192 int where = content.getSpanEnd(TextKeyListener.CAPPED);
244 content.getSpanEnd(TextKeyListener.INHIBIT_REPLACEMENT)
310 if (content.getSpanEnd(TextKeyListener.LAST_TYPED) == selStart) {
320 int en = content.getSpanEnd(repl[0]);
MultiTapKeyListener.java 99 int activeEnd = content.getSpanEnd(TextKeyListener.ACTIVE);
270 int end = buf.getSpanEnd(TextKeyListener.ACTIVE);
  /frameworks/base/core/java/android/text/style/
IconMarginSpan.java 58 if (end == ((Spanned) text).getSpanEnd(this)) {
DrawableMarginSpan.java 61 if (end == ((Spanned) text).getSpanEnd(this)) {
  /cts/tests/tests/text/src/android/text/method/cts/
LinkMovementMethodTest.java 138 assertEquals(0, spannable.getSpanEnd(span));
190 mSpannable.getSpanEnd(mClickable0));
199 Selection.setSelection(mSpannable, mSpannable.getSpanEnd(mClickable0),
218 Selection.setSelection(mSpannable, mSpannable.getSpanEnd(mClickable0),
219 mSpannable.getSpanEnd(mClickable1));
228 Selection.setSelection(mSpannable, mSpannable.getSpanEnd(mClickable0),
229 mSpannable.getSpanEnd(mClickable1));
632 spannable.getSpanEnd(clickableSpan));
637 assertSelection(spannable, spannable.getSpanEnd(clickableSpan),
DigitsKeyListenerTest.java 122 assertEquals("123".length(), filtered.getSpanEnd(what));
179 assertEquals("5123".length(), filtered.getSpanEnd(what));
249 assertEquals("51.23".length(), filtered.getSpanEnd(what));
321 assertEquals("-51.23".length(), filtered.getSpanEnd(what));
QwertyKeyListenerTest.java 226 assertEquals(content.length(), content.getSpanEnd(repl[0]));
233 assertEquals(2, content.getSpanEnd(repl[0]));
  /cts/tests/tests/widget/src/android/widget/cts/
DialerFilterTest.java 373 assertEquals(-1, span.getSpanEnd(tw));
382 assertEquals(mDialerFilter.getLetters().length(), span.getSpanEnd(tw));
411 assertEquals(-1, span.getSpanEnd(tw));
415 assertEquals(mDialerFilter.getDigits().length(), span.getSpanEnd(tw));
434 assertEquals(-1, span.getSpanEnd(tw));
443 assertEquals(mDialerFilter.getLetters().length(), span.getSpanEnd(tw));
463 assertEquals(-1, span.getSpanEnd(tw));
472 assertEquals(mDialerFilter.getLetters().length(), span.getSpanEnd(tw));
479 assertEquals(-1, span.getSpanEnd(tw));
MultiAutoCompleteTextView_CommaTokenizerTest.java 165 assertEquals(spannableString.length(), actual.getSpanEnd(what));
  /frameworks/base/core/java/android/widget/
SpellChecker.java 181 final int end = editable.getSpanEnd(spellCheckSpan);
241 final int end = editable.getSpanEnd(spellCheckSpan);
249 final int spanEnd = editable.getSpanEnd(suggestionSpans[i]);
324 final int end = editable.getSpanEnd(mRange);
371 final int spanEnd = editable.getSpanEnd(spellCheckSpans[i]);
423 final int end = editable.getSpanEnd(span);
  /packages/apps/Contacts/src/com/android/contacts/util/
HtmlUtils.java 133 builder.getSpanEnd(originalSpan),
  /packages/apps/Contacts/src/com/android/contacts/widget/
TextHighlightingAnimation.java 101 public int getSpanEnd(Object tag) {

Completed in 1355 milliseconds

1 2