/frameworks/base/core/tests/coretests/src/android/text/ |
D | SpannedTest.java | 53 assertEquals(4, ssb.getSpanEnd(o)); in testAppend() 58 assertEquals(8, ssb.getSpanEnd(o)); in testAppend() 86 assertEquals(2, s2.getSpanEnd(style[0])); in testWrapParcel() 91 assertEquals(7, s2.getSpanEnd(style[0])); in testWrapParcel() 97 assertEquals(8, s2.getSpanEnd(appearance[0])); in testWrapParcel() 102 assertEquals(9, s2.getSpanEnd(tf[0])); in testWrapParcel()
|
D | HtmlTest.java | 45 assertEquals(5, spanned.getSpanEnd(span)); in testSingleTagOnWhileString() 62 assertEquals(9, spanned.getSpanEnd(spans[0])); in testBadHtml() 65 assertEquals(9, spanned.getSpanEnd(spans[1])); in testBadHtml() 68 assertEquals(10, spanned.getSpanEnd(spans[2])); in testBadHtml()
|
D | TextUtilsTest.java | 141 assertEquals(end, text.getSpanEnd(i)); in checkContains() 507 public int getSpanEnd(Object tag) { in getSpanEnd() method in TextUtilsTest.MockSpanned
|
/frameworks/ex/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/java/android/text/ |
D | SpannableStringInternal.java | 42 int en = sp.getSpanEnd(spans[i]); in SpannableStringInternal() 177 public int getSpanEnd(Object what) { in getSpanEnd() method in SpannableStringInternal 376 getSpanEnd(thisSpan) != other.getSpanEnd(otherSpan) || in equals() 382 getSpanEnd(thisSpan) != other.getSpanEnd(otherSpan) || in equals() 404 hash = hash * 31 + getSpanEnd(span); in hashCode()
|
D | AlteredCharSequence.java | 74 public int getSpanEnd(Object span) { in getSpanEnd() method in AlteredCharSequence.AlteredSpanned 75 return mSpanned.getSpanEnd(span); in getSpanEnd()
|
D | Spanned.java | 180 public int getSpanEnd(Object tag); in getSpanEnd() method
|
D | SpannableStringBuilder.java | 80 int en = sp.getSpanEnd(spans[i]) - start; in SpannableStringBuilder() 365 int en = sp.getSpanEnd(spans[i]); in change() 729 public int getSpanEnd(Object what) { in getSpanEnd() method in SpannableStringBuilder 1306 getSpanEnd(thisSpan) != other.getSpanEnd(otherSpan) || in equals() 1312 getSpanEnd(thisSpan) != other.getSpanEnd(otherSpan) || in equals() 1334 hash = hash * 31 + getSpanEnd(span); in hashCode()
|
D | SpanSet.java | 62 final int spanEnd = spanned.getSpanEnd(span); in init()
|
D | TextUtils.java | 660 p.writeInt(sp.getSpanEnd(o)); in writeWhere() 810 sp.getSpanEnd(o)) + ": " in dumpSpans() 813 + " (" + sp.getSpanStart(o) + "-" + sp.getSpanEnd(o) in dumpSpans() 840 int end = tb.getSpanEnd(sources[i]); in replace() 937 int end = ((Spanned) text).getSpanEnd(spans[i]); in getOffsetBefore() 974 int end = ((Spanned) text).getSpanEnd(spans[i]); in getOffsetAfter() 1010 int en = source.getSpanEnd(spans[i]); in copySpansFrom() 1673 final int end = spanned.getSpanEnd(span); in removeEmptySpans()
|
D | MeasuredText.java | 115 int endInPara = spanned.getSpanEnd(spans[i]) - start; in setPara()
|
D | Layout.java | 1270 int end = ((Spanned) text).getSpanEnd(spans[i]); in getOffsetAtStartOf() 1875 public int getSpanEnd(Object tag) { in getSpanEnd() method in Layout.SpannedEllipsizer 1876 return mSpanned.getSpanEnd(tag); in getSpanEnd()
|
/frameworks/base/core/java/android/text/method/ |
D | PasswordTransformationMethod.java | 155 int en = sp.getSpanEnd(TextKeyListener.ACTIVE); in charAt() 166 en = sp.getSpanEnd(visible[a]); in charAt() 200 en = sp.getSpanEnd(TextKeyListener.ACTIVE); in getChars() 210 ends[i] = sp.getSpanEnd(visible[i]); in getChars()
|
D | LinkMovementMethod.java | 150 int end = buffer.getSpanEnd(candidates[i]); in action() 177 bestend = buffer.getSpanEnd(candidates[i]); in action() 221 buffer.getSpanEnd(link[0])); in onTouchEvent()
|
D | QwertyKeyListener.java | 107 int activeEnd = content.getSpanEnd(TextKeyListener.ACTIVE); in onKeyDown() 197 int where = content.getSpanEnd(TextKeyListener.CAPPED); in onKeyDown() 249 content.getSpanEnd(TextKeyListener.INHIBIT_REPLACEMENT) in onKeyDown() 315 if (content.getSpanEnd(TextKeyListener.LAST_TYPED) == selStart) { in onKeyDown() 325 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 | 103 int activeEnd = content.getSpanEnd(TextKeyListener.ACTIVE); in onKeyDown() 274 int end = buf.getSpanEnd(TextKeyListener.ACTIVE); in run()
|
/frameworks/base/core/java/android/widget/ |
D | SpellChecker.java | 283 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() 754 final int end = editable.getSpanEnd(span); in removeSpansAt()
|
D | Editor.java | 666 selectionEnd = ((Spanned) mTextView.getText()).getSpanEnd(urlSpan); in selectCurrentWord() 1145 j = spanned.getSpanEnd(spans[i]); in extractTextInternal() 1946 int end = editable.getSpanEnd(span); in onSpanAdded() 2102 return editable.getSpanEnd(mEasyEditSpan); in getTextOffset() 2465 int end = spannable.getSpanEnd(suggestionSpan); in getSuggestionSpans() 2558 final int spanEnd = spannable.getSpanEnd(suggestionSpan); in updateSuggestions() 2579 final int otherSpanEnd = spannable.getSpanEnd(otherSuggestionSpan); in updateSuggestions() 2611 final int misspelledEnd = spannable.getSpanEnd(misspelledSpan); in updateSuggestions() 2656 final int spanEnd = text.getSpanEnd(suggestionInfo.suggestionSpan); in highlightTextDifferences() 2679 int spanUnionEnd = editable.getSpanEnd(mSuggestionRangeSpan); in onItemClick() [all …]
|
/frameworks/base/core/java/android/text/style/ |
D | IconMarginSpan.java | 58 if (end == ((Spanned) text).getSpanEnd(this)) { in chooseHeight()
|
D | DrawableMarginSpan.java | 61 if (end == ((Spanned) text).getSpanEnd(this)) { in chooseHeight()
|
/frameworks/ex/chips/src/com/android/ex/chips/ |
D | RecipientEditTextView.java | 357 if (last != null && start < getSpannable().getSpanEnd(last)) { in onSelectionChanged() 359 setSelection(Math.min(getSpannable().getSpanEnd(last) + 1, getText().length())); in onSelectionChanged() 945 end = spannable.getSpanEnd(mMoreChip); in sanitizeEnd() 947 end = getSpannable().getSpanEnd(getLastChip()); in sanitizeEnd() 1261 startLooking = getSpannable().getSpanEnd(beforeLast); in sanitizeBetween() 1359 return getSpannable().getSpanEnd(chip); in getChipEnd() 1895 totalReplaceEnd = spannable.getSpanEnd(recipients[i]); in createMoreChip() 1899 int spanEnd = spannable.getSpanEnd(recipients[i]); in createMoreChip() 1938 int end = span.getSpanEnd(recipients[recipients.length - 1]); in removeMoreChip() 1981 int spanEnd = spannable.getSpanEnd(currentChip); in selectChip() [all …]
|
/frameworks/base/core/java/com/android/internal/notification/ |
D | DemoContactNotificationScorer.java | 80 spannableString.getSpanEnd(spanObj)).toString()); in extractSpannedStrings()
|
/frameworks/base/core/java/android/view/inputmethod/ |
D | BaseInputConnection.java | 107 text.setSpan(o, text.getSpanStart(o), text.getSpanEnd(o), in setComposingSpans() 124 return text.getSpanEnd(COMPOSING); in getComposingSpanEnd()
|
/frameworks/ex/common/java/com/android/ex/editstyledtext/ |
D | EditStyledText.java | 1090 int end = editable.getSpanEnd(style); in clearStyles() 1333 int spanend = txt.getSpanEnd(span); in updateSpanPreviousFromCursor() 1355 int spanend = txt.getSpanEnd(span); in updateSpanPreviousFromCursor() 1385 int spanend = txt.getSpanEnd(span); in updateSpanNextToCursor() 1466 int end = buf.getSpanEnd(style); in removeImageChar() 1785 + spannable.getSpanEnd(style) + "," in dumpSpannableString() 2742 int end = text.getSpanEnd(parent); in renewColor()
|