/frameworks/opt/chips/tests/src/com/android/ex/chips/ |
D | ChipsTest.java | 258 assertEquals(mEditable.getSpanEnd(moreChip), thirdEnd + 1); in testMoreChipPlainText() 288 assertEquals(view.getText().getSpanEnd(moreChip), view.length()); in testTooManyRecips() 322 assertEquals(mEditable.getSpanEnd(moreChip), thirdEnd + 1); in testMoreChip() 327 assertEquals(mEditable.getSpanEnd(mMockRecips[mMockRecips.length - 3]), firstEnd); in testMoreChip() 330 assertEquals(mEditable.getSpanEnd(mMockRecips[mMockRecips.length - 1]), thirdEnd); in testMoreChip() 342 assertEquals(mEditable.getSpanEnd(moreChip), thirdEnd + 1); in testMoreChip() 347 assertEquals(mEditable.getSpanEnd(mMockRecips[mMockRecips.length - 3]), firstEnd); in testMoreChip() 350 assertEquals(mEditable.getSpanEnd(mMockRecips[mMockRecips.length - 1]), thirdEnd); in testMoreChip() 412 assertEquals(mEditable.getSpanEnd(moreChip), tenthEnd + 1); in testMoreChipLotsOfUsers() 462 assertEquals(mEditable.getSpanEnd(moreChip), thirdEnd + 1); in testMoreChipSpecialChars() [all …]
|
/frameworks/base/core/tests/coretests/src/android/text/ |
D | SpannedTest.java | 63 assertEquals(4, ssb.getSpanEnd(o)); in testAppend() 68 assertEquals(8, ssb.getSpanEnd(o)); in testAppend() 96 assertEquals(2, s2.getSpanEnd(style[0])); in testWrapParcel() 101 assertEquals(7, s2.getSpanEnd(style[0])); in testWrapParcel() 107 assertEquals(8, s2.getSpanEnd(appearance[0])); in testWrapParcel() 112 assertEquals(9, s2.getSpanEnd(tf[0])); in testWrapParcel()
|
D | SpannedStringNoCopyTest.java | 120 public int getSpanEnd(Object tag) { in getSpanEnd() method in SpannedStringNoCopyTest.CustomSpanned 121 return mText.getSpanEnd(tag); in getSpanEnd()
|
D | SpannableStringNoCopyTest.java | 130 public int getSpanEnd(Object tag) { in getSpanEnd() method in SpannableStringNoCopyTest.CustomSpannable 131 return mText.getSpanEnd(tag); in getSpanEnd()
|
D | TextUtilsTest.java | 158 assertEquals(end, text.getSpanEnd(i)); in checkContains() 613 public int getSpanEnd(Object tag) { in getSpanEnd() method in TextUtilsTest.MockSpanned 690 assertEquals(2, spanned.getSpanEnd(span)); in testToUpperCase() 745 assertEquals(indexMap[source.getSpanEnd(span)], result.getSpanEnd(span)); in testToUpperCase_SpansArePreserved()
|
/frameworks/base/core/java/android/text/method/ |
D | PasswordTransformationMethod.java | 156 int en = sp.getSpanEnd(TextKeyListener.ACTIVE); in charAt() 167 en = sp.getSpanEnd(visible[a]); in charAt() 201 en = sp.getSpanEnd(TextKeyListener.ACTIVE); in getChars() 211 ends[i] = sp.getSpanEnd(visible[i]); in getChars()
|
D | LinkMovementMethod.java | 161 int end = buffer.getSpanEnd(candidates[i]); in action() 188 bestEnd = buffer.getSpanEnd(candidates[i]); in action() 243 buffer.getSpanEnd(link)); in onTouchEvent()
|
D | QwertyKeyListener.java | 112 int activeEnd = content.getSpanEnd(TextKeyListener.ACTIVE); in onKeyDown() 202 int where = content.getSpanEnd(TextKeyListener.CAPPED); in onKeyDown() 254 content.getSpanEnd(TextKeyListener.INHIBIT_REPLACEMENT) in onKeyDown() 320 if (content.getSpanEnd(TextKeyListener.LAST_TYPED) == selStart) { in onKeyDown() 330 int en = content.getSpanEnd(repl[0]); in onKeyDown()
|
D | ReplacementTransformationMethod.java | 191 public int getSpanEnd(Object tag) { in getSpanEnd() method in ReplacementTransformationMethod.SpannedReplacementCharSequence 192 return mSpanned.getSpanEnd(tag); in getSpanEnd()
|
D | MultiTapKeyListener.java | 106 int activeEnd = content.getSpanEnd(TextKeyListener.ACTIVE); in onKeyDown() 277 int end = buf.getSpanEnd(TextKeyListener.ACTIVE); in run()
|
/frameworks/base/core/java/android/text/ |
D | SpannableStringInternal.java | 77 int en = src.getSpanEnd(spans[i]); in copySpansFromSpanned() 309 public int getSpanEnd(Object what) { in getSpanEnd() method in SpannableStringInternal 518 getSpanEnd(thisSpan) != other.getSpanEnd(otherSpan) || in equals() 524 getSpanEnd(thisSpan) != other.getSpanEnd(otherSpan) || in equals() 546 hash = hash * 31 + getSpanEnd(span); in hashCode()
|
D | AlteredCharSequence.java | 76 public int getSpanEnd(Object span) { in getSpanEnd() method in AlteredCharSequence.AlteredSpanned 77 return mSpanned.getSpanEnd(span); in getSpanEnd()
|
D | InputFilter.java | 148 public int getSpanEnd(Object tag) { in getSpanEnd() method in InputFilter.AllCaps.CharSequenceWrapper 149 return ((Spanned) mSource).getSpanEnd(tag) - mStart; in getSpanEnd()
|
D | Spanned.java | 182 public int getSpanEnd(Object tag); in getSpanEnd() method
|
D | SpanSet.java | 67 final int spanEnd = spanned.getSpanEnd(span); in init()
|
D | TextUtils.java | 797 p.writeInt(sp.getSpanEnd(o)); in writeWhere() 971 sp.getSpanEnd(o)) + ": " in dumpSpans() 974 + " (" + sp.getSpanStart(o) + "-" + sp.getSpanEnd(o) in dumpSpans() 1001 int end = tb.getSpanEnd(sources[i]); in replace() 1098 int end = ((Spanned) text).getSpanEnd(spans[i]); in getOffsetBefore() 1135 int end = ((Spanned) text).getSpanEnd(spans[i]); in getOffsetAfter() 1171 int en = source.getSpanEnd(spans[i]); in copySpansFrom() 1216 final int sourceEnd = spanned.getSpanEnd(span); in toUpperCase() 1996 final int end = spanned.getSpanEnd(span); in removeEmptySpans()
|
D | SpannableStringBuilder.java | 89 int en = sp.getSpanEnd(spans[i]) - start; in SpannableStringBuilder() 424 int en = sp.getSpanEnd(spans[i]); in change() 826 public int getSpanEnd(Object what) { in getSpanEnd() method in SpannableStringBuilder 1624 getSpanEnd(thisSpan) != other.getSpanEnd(otherSpan) || in equals() 1630 getSpanEnd(thisSpan) != other.getSpanEnd(otherSpan) || in equals() 1652 hash = hash * 31 + getSpanEnd(span); in hashCode()
|
D | PrecomputedText.java | 683 public int getSpanEnd(Object tag) { in getSpanEnd() method in PrecomputedText 684 return mText.getSpanEnd(tag); in getSpanEnd()
|
/frameworks/base/core/java/android/widget/ |
D | SpellChecker.java | 278 final int end = editable.getSpanEnd(spellCheckSpan); in spellCheck() 354 final int spellCheckSpanEnd = editable.getSpanEnd(spellCheckSpan); in onGetSuggestionsInternal() 460 final int spellCheckSpanEnd = editable.getSpanEnd(spellCheckSpan); in createMisspelledSuggestionSpan() 542 + editable.getSpanEnd(editable)); in removeRangeSpan() 560 final int end = editable.getSpanEnd(mRange); in parse() 626 final int spanEnd = editable.getSpanEnd(spellCheckSpan); in parse() 691 final int spanEnd = editable.getSpanEnd(spellCheckSpans[i]); in parse() 750 final int end = editable.getSpanEnd(span); in removeSpansAt()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/notification/ |
D | TextViewTransformState.java | 82 || ownSpanned.getSpanEnd(span) != otherSpanned.getSpanEnd(otherSpan)) { in hasSameSpans()
|
/frameworks/opt/setupwizard/library/main/src/com/android/setupwizardlib/span/ |
D | SpanHelper.java | 32 final int spanEnd = spannable.getSpanEnd(oldSpan); in replaceSpan()
|
/frameworks/base/core/java/android/text/style/ |
D | IconMarginSpan.java | 98 if (end == ((Spanned) text).getSpanEnd(this)) { in chooseHeight()
|
D | DrawableMarginSpan.java | 101 if (end == ((Spanned) text).getSpanEnd(this)) { in chooseHeight()
|
/frameworks/opt/setupwizard/library/gingerbread/src/com/android/setupwizardlib/util/ |
D | LinkAccessibilityHelper.java | 248 spannedText.getSpanStart(span), spannedText.getSpanEnd(span)); in getTextForSpan() 263 final int spanEnd = spannedText.getSpanEnd(span); in getBoundsForSpan()
|
/frameworks/opt/chips/src/com/android/ex/chips/ |
D | RecipientEditTextView.java | 544 if (mSelectedChip == null && last != null && start < getSpannable().getSpanEnd(last)) { in onSelectionChanged() 546 setSelection(Math.min(getSpannable().getSpanEnd(last) + 1, getText().length())); in onSelectionChanged() 1434 end = spannable.getSpanEnd(mMoreChip); in sanitizeEnd() 1436 end = getSpannable().getSpanEnd(getLastChip()); in sanitizeEnd() 1752 startLooking = getSpannable().getSpanEnd(beforeLast); in sanitizeBetween() 1864 return getSpannable().getSpanEnd(chip); in getChipEnd() 2459 totalReplaceEnd = spannable.getSpanEnd(recipients[i]); in createMoreChip() 2463 int spanEnd = spannable.getSpanEnd(recipients[i]); in createMoreChip() 2502 int end = span.getSpanEnd(recipients[recipients.length - 1]); in removeMoreChip() 2542 int spanEnd = spannable.getSpanEnd(currentChip); in selectChip() [all …]
|