/frameworks/opt/setupwizard/library/main/src/com/android/setupwizardlib/span/ |
H A D | SpanHelper.java | 32 final int spanEnd = spannable.getSpanEnd(oldSpan);
|
/frameworks/support/core/ktx/src/androidTest/java/androidx/core/text/ |
H A D | SpannableStringBuilderTest.kt | 62 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 D | SpannableStringTest.kt | 37 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 D | Spanned.java | 182 public int getSpanEnd(Object tag); method in interface:Spanned
|
H A D | AlteredCharSequence.java | 74 public int getSpanEnd(Object span) { method in class:AlteredCharSequence.AlteredSpanned 75 return mSpanned.getSpanEnd(span);
|
H A D | InputFilter.java | 147 public int getSpanEnd(Object tag) { method in class:InputFilter.AllCaps.CharSequenceWrapper 148 return ((Spanned) mSource).getSpanEnd(tag) - mStart;
|
H A D | SpanSet.java | 64 final int spanEnd = spanned.getSpanEnd(span);
|
H A D | SpannableStringInternal.java | 73 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 D | SpannedTest.java | 62 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 D | SpannableStringNoCopyTest.java | 129 public int getSpanEnd(Object tag) { method in class:SpannableStringNoCopyTest.CustomSpannable 130 return mText.getSpanEnd(tag);
|
H A D | SpannedStringNoCopyTest.java | 119 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 D | ChipsTest.java | 258 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 D | PasswordTransformationMethod.java | 154 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 D | ReplacementTransformationMethod.java | 191 public int getSpanEnd(Object tag) { method in class:ReplacementTransformationMethod.SpannedReplacementCharSequence 192 return mSpanned.getSpanEnd(tag);
|
H A D | LinkMovementMethod.java | 160 int end = buffer.getSpanEnd(candidates[i]); 187 bestEnd = buffer.getSpanEnd(candidates[i]); 242 buffer.getSpanEnd(link));
|
H A D | QwertyKeyListener.java | 112 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 D | MultiTapKeyListener.java | 106 int activeEnd = content.getSpanEnd(TextKeyListener.ACTIVE); 277 int end = buf.getSpanEnd(TextKeyListener.ACTIVE);
|
/frameworks/base/core/java/android/widget/ |
H A D | SpellChecker.java | 275 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 D | TextViewTransformState.java | 82 || ownSpanned.getSpanEnd(span) != otherSpanned.getSpanEnd(otherSpan)) {
|
/frameworks/base/core/java/android/text/style/ |
H A D | DrawableMarginSpan.java | 101 if (end == ((Spanned) text).getSpanEnd(this)) {
|
H A D | IconMarginSpan.java | 98 if (end == ((Spanned) text).getSpanEnd(this)) {
|
/frameworks/support/compat/src/androidTest/java/androidx/core/text/ |
H A D | BidiFormatterTest.java | 217 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 D | PrecomputedTextCompatTest.java | 228 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 D | LinkifyTest.java | 203 expected.getSpanEnd(expectedSpan), 207 actual.getSpanEnd(actualSpan),
|
/frameworks/opt/setupwizard/library/gingerbread/src/com/android/setupwizardlib/util/ |
H A D | LinkAccessibilityHelper.java | 252 spannedText.getSpanEnd(span)); 267 final int spanEnd = spannedText.getSpanEnd(span);
|