Searched refs:getSpanEnd (Results 1 - 25 of 54) sorted by relevance

123

/frameworks/opt/setupwizard/library/main/src/com/android/setupwizardlib/span/
H A DSpanHelper.java32 final int spanEnd = spannable.getSpanEnd(oldSpan);
/frameworks/support/core/ktx/src/androidTest/java/androidx/core/text/
H A DSpannableStringBuilderTest.kt62 assertEquals(12, result.getSpanEnd(bold))
80 assertEquals(12, result.getSpanEnd(bold))
98 assertEquals(12, result.getSpanEnd(italic))
115 assertEquals(12, result.getSpanEnd(underline))
133 assertEquals(12, result.getSpanEnd(color))
151 assertEquals(12, result.getSpanEnd(color))
168 assertEquals(12, result.getSpanEnd(strikeThrough))
186 assertEquals(12, result.getSpanEnd(scale))
203 assertEquals(12, result.getSpanEnd(superscript))
220 assertEquals(12, result.getSpanEnd(subscrip
[all...]
H A DSpannableStringTest.kt37 assertEquals(s.length, s.getSpanEnd(bold))
67 assertEquals(5, s.getSpanEnd(bold))
71 assertEquals(12, s.getSpanEnd(underline))
83 assertEquals(5, s.getSpanEnd(bold))
87 assertEquals(12, s.getSpanEnd(underline))
/frameworks/base/core/java/android/text/
H A DSpanned.java182 public int getSpanEnd(Object tag); method in interface:Spanned
H A DAlteredCharSequence.java74 public int getSpanEnd(Object span) { method in class:AlteredCharSequence.AlteredSpanned
75 return mSpanned.getSpanEnd(span);
H A DInputFilter.java147 public int getSpanEnd(Object tag) { method in class:InputFilter.AllCaps.CharSequenceWrapper
148 return ((Spanned) mSource).getSpanEnd(tag) - mStart;
H A DSpanSet.java64 final int spanEnd = spanned.getSpanEnd(span);
H A DSpannableStringInternal.java73 int en = src.getSpanEnd(spans[i]);
298 public int getSpanEnd(Object what) { method in class:SpannableStringInternal
498 getSpanEnd(thisSpan) != other.getSpanEnd(otherSpan) ||
504 getSpanEnd(thisSpan) != other.getSpanEnd(otherSpan) ||
526 hash = hash * 31 + getSpanEnd(span);
/frameworks/base/core/tests/coretests/src/android/text/
H A DSpannedTest.java62 assertEquals(4, ssb.getSpanEnd(o));
67 assertEquals(8, ssb.getSpanEnd(o));
95 assertEquals(2, s2.getSpanEnd(style[0]));
100 assertEquals(7, s2.getSpanEnd(style[0]));
106 assertEquals(8, s2.getSpanEnd(appearance[0]));
111 assertEquals(9, s2.getSpanEnd(tf[0]));
H A DSpannableStringNoCopyTest.java129 public int getSpanEnd(Object tag) { method in class:SpannableStringNoCopyTest.CustomSpannable
130 return mText.getSpanEnd(tag);
H A DSpannedStringNoCopyTest.java119 public int getSpanEnd(Object tag) { method in class:SpannedStringNoCopyTest.CustomSpanned
120 return mText.getSpanEnd(tag);
/frameworks/opt/chips/tests/src/com/android/ex/chips/
H A DChipsTest.java258 assertEquals(mEditable.getSpanEnd(moreChip), thirdEnd + 1);
288 assertEquals(view.getText().getSpanEnd(moreChip), view.length());
322 assertEquals(mEditable.getSpanEnd(moreChip), thirdEnd + 1);
327 assertEquals(mEditable.getSpanEnd(mMockRecips[mMockRecips.length - 3]), firstEnd);
330 assertEquals(mEditable.getSpanEnd(mMockRecips[mMockRecips.length - 1]), thirdEnd);
342 assertEquals(mEditable.getSpanEnd(moreChip), thirdEnd + 1);
347 assertEquals(mEditable.getSpanEnd(mMockRecips[mMockRecips.length - 3]), firstEnd);
350 assertEquals(mEditable.getSpanEnd(mMockRecips[mMockRecips.length - 1]), thirdEnd);
412 assertEquals(mEditable.getSpanEnd(moreChip), tenthEnd + 1);
462 assertEquals(mEditable.getSpanEnd(moreChi
[all...]
/frameworks/base/core/java/android/text/method/
H A DPasswordTransformationMethod.java154 int en = sp.getSpanEnd(TextKeyListener.ACTIVE);
165 en = sp.getSpanEnd(visible[a]);
199 en = sp.getSpanEnd(TextKeyListener.ACTIVE);
209 ends[i] = sp.getSpanEnd(visible[i]);
H A DReplacementTransformationMethod.java191 public int getSpanEnd(Object tag) { method in class:ReplacementTransformationMethod.SpannedReplacementCharSequence
192 return mSpanned.getSpanEnd(tag);
H A DLinkMovementMethod.java160 int end = buffer.getSpanEnd(candidates[i]);
187 bestEnd = buffer.getSpanEnd(candidates[i]);
242 buffer.getSpanEnd(link));
H A DQwertyKeyListener.java112 int activeEnd = content.getSpanEnd(TextKeyListener.ACTIVE);
202 int where = content.getSpanEnd(TextKeyListener.CAPPED);
254 content.getSpanEnd(TextKeyListener.INHIBIT_REPLACEMENT)
320 if (content.getSpanEnd(TextKeyListener.LAST_TYPED) == selStart) {
330 int en = content.getSpanEnd(repl[0]);
H A DMultiTapKeyListener.java106 int activeEnd = content.getSpanEnd(TextKeyListener.ACTIVE);
277 int end = buf.getSpanEnd(TextKeyListener.ACTIVE);
/frameworks/base/core/java/android/widget/
H A DSpellChecker.java275 final int end = editable.getSpanEnd(spellCheckSpan);
351 final int spellCheckSpanEnd = editable.getSpanEnd(spellCheckSpan);
457 final int spellCheckSpanEnd = editable.getSpanEnd(spellCheckSpan);
539 + editable.getSpanEnd(editable));
557 final int end = editable.getSpanEnd(mRange);
623 final int spanEnd = editable.getSpanEnd(spellCheckSpan);
688 final int spanEnd = editable.getSpanEnd(spellCheckSpans[i]);
747 final int end = editable.getSpanEnd(span);
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/notification/
H A DTextViewTransformState.java82 || ownSpanned.getSpanEnd(span) != otherSpanned.getSpanEnd(otherSpan)) {
/frameworks/base/core/java/android/text/style/
H A DDrawableMarginSpan.java101 if (end == ((Spanned) text).getSpanEnd(this)) {
H A DIconMarginSpan.java98 if (end == ((Spanned) text).getSpanEnd(this)) {
/frameworks/support/compat/src/androidTest/java/androidx/core/text/
H A DBidiFormatterTest.java217 assertEquals(EN.length(), wrapped.getSpanEnd(RELATIVE_SIZE_SPAN));
225 assertEquals(EN.length(), wrapped.getSpanEnd(RELATIVE_SIZE_SPAN));
233 assertEquals(EN.length(), wrapped.getSpanEnd(RELATIVE_SIZE_SPAN));
241 assertEquals(EN.length(), wrapped.getSpanEnd(RELATIVE_SIZE_SPAN));
H A DPrecomputedTextCompatTest.java228 assertEquals(SPAN_END, s.getSpanEnd(SPAN));
246 assertEquals(SPAN_END, s.getSpanEnd(span));
280 assertEquals(-1, s.getSpanEnd(SPAN));
/frameworks/base/core/tests/coretests/src/android/text/util/
H A DLinkifyTest.java203 expected.getSpanEnd(expectedSpan),
207 actual.getSpanEnd(actualSpan),
/frameworks/opt/setupwizard/library/gingerbread/src/com/android/setupwizardlib/util/
H A DLinkAccessibilityHelper.java252 spannedText.getSpanEnd(span));
267 final int spanEnd = spannedText.getSpanEnd(span);

Completed in 331 milliseconds

123