/frameworks/base/core/tests/coretests/src/android/text/ |
D | HtmlTest.java | 41 Object[] spans = spanned.getSpans(-1, 100, Object.class); in testSingleTagOnWhileString() 51 Object[] spans = spanned.getSpans(0, 100, Object.class); in testEmptyFontTag() 59 Object[] spans = spanned.getSpans(0, 100, Object.class); in testBadHtml() 83 colors = s.getSpans(0, s.length(), ForegroundColorSpan.class); in testColor() 88 colors = s.getSpans(0, s.length(), ForegroundColorSpan.class); in testColor() 93 colors = s.getSpans(0, s.length(), ForegroundColorSpan.class); in testColor() 105 colors = s.getSpans(0, s.length(), TextAppearanceSpan.class); in testResourceColor() 110 colors = s.getSpans(0, s.length(), TextAppearanceSpan.class); in testResourceColor() 115 colors = s.getSpans(0, s.length(), TextAppearanceSpan.class); in testResourceColor() 120 colors = s.getSpans(0, s.length(), TextAppearanceSpan.class); in testResourceColor() [all …]
|
D | SpannableTest.java | 41 spans = spannable.getSpans(0, 1, Object.class); in testGetSpans() 43 spans = spannable.getSpans(0, 2, Object.class); in testGetSpans() 45 spans = spannable.getSpans(1, 2, Object.class); in testGetSpans() 47 spans = spannable.getSpans(2, 2, Object.class); in testGetSpans()
|
D | SpannedTest.java | 54 assertEquals(1, ssb.getSpans(0, 4, Object.class).length); in testAppend() 59 assertEquals(0, ssb.getSpans(0, 4, Object.class).length); in testAppend() 60 assertEquals(1, ssb.getSpans(4, 8, Object.class).length); in testAppend() 83 style = s2.getSpans(1, 2, StyleSpan.class); in testWrapParcel() 88 style = s2.getSpans(3, 7, StyleSpan.class); in testWrapParcel() 93 TextAppearanceSpan[] appearance = s2.getSpans(7, 8, in testWrapParcel() 99 TypefaceSpan[] tf = s2.getSpans(8, 9, TypefaceSpan.class); in testWrapParcel() 121 Object[] spans = s.getSpans(0, s.length(), Object.class); in checkPriority()
|
D | TextUtilsTest.java | 164 spans = result.getSpans(0, result.length(), String.class); in testTemplateSpan() 178 spans = result.getSpans(0, result.length(), String.class); in testTemplateSpan() 497 public <T> T[] getSpans(int start, int end, Class<T> type) { in getSpans() method in TextUtilsTest.MockSpanned
|
/frameworks/base/core/java/android/text/method/ |
D | Touch.java | 84 ds = buffer.getSpans(0, buffer.length(), DragState.class); in onTouchEvent() 96 ds = buffer.getSpans(0, buffer.length(), DragState.class); in onTouchEvent() 109 ds = buffer.getSpans(0, buffer.length(), DragState.class); in onTouchEvent() 170 DragState[] ds = buffer.getSpans(0, buffer.length(), DragState.class); in getInitialScrollX() 175 DragState[] ds = buffer.getSpans(0, buffer.length(), DragState.class); in getInitialScrollY()
|
D | PasswordTransformationMethod.java | 48 ViewReference[] vr = sp.getSpans(0, sp.length(), in getTransformation() 80 ViewReference[] vr = sp.getSpans(0, s.length(), in onTextChanged() 133 Visible[] old = sp.getSpans(0, sp.length(), Visible.class); in removeVisibleSpans() 161 Visible[] visible = sp.getSpans(0, sp.length(), Visible.class); in charAt() 202 Visible[] visible = sp.getSpans(0, sp.length(), Visible.class); in getChars()
|
D | LinkMovementMethod.java | 105 ClickableSpan[] candidates = buffer.getSpans(first, last, ClickableSpan.class); in action() 130 ClickableSpan[] link = buffer.getSpans(selStart, selEnd, ClickableSpan.class); in action() 208 ClickableSpan[] link = buffer.getSpans(off, off, ClickableSpan.class); in onTouchEvent()
|
D | ReplacementTransformationMethod.java | 183 public <T> T[] getSpans(int start, int end, Class<T> type) { in getSpans() method in ReplacementTransformationMethod.SpannedReplacementCharSequence 184 return mSpanned.getSpans(start, end, type); in getSpans()
|
D | MultiTapKeyListener.java | 215 KeyListener[] methods = content.getSpans(0, content.length(), in onKeyDown() 239 Timeout[] timeout = buf.getSpans(0, buf.length(), Timeout.class); in removeTimeouts()
|
D | QwertyKeyListener.java | 258 Replaced[] repl = content.getSpans(0, content.length(), in onKeyDown() 315 Replaced[] repl = content.getSpans(selStart - consider, selStart, in onKeyDown() 413 Replaced[] repl = content.getSpans(0, content.length(), Replaced.class); in markAsReplaced()
|
D | TextKeyListener.java | 164 QwertyKeyListener.Replaced[] repl = e.getSpans(0, e.length(), in clear()
|
/frameworks/base/core/java/android/text/ |
D | SpannableStringInternal.java | 38 Object[] spans = sp.getSpans(start, end, Object.class); in SpannableStringInternal() 205 public <T> T[] getSpans(int queryStart, int queryEnd, Class<T> kind) { in getSpans() method in SpannableStringInternal 308 SpanWatcher[] recip = getSpans(start, end, SpanWatcher.class); in sendSpanAdded() 317 SpanWatcher[] recip = getSpans(start, end, SpanWatcher.class); in sendSpanRemoved() 326 SpanWatcher[] recip = getSpans(Math.min(s, st), Math.max(e, en), in sendSpanChanged()
|
D | AlteredCharSequence.java | 66 public <T> T[] getSpans(int start, int end, Class<T> kind) { in getSpans() method in AlteredCharSequence.AlteredSpanned 67 return mSpanned.getSpans(start, end, kind); in getSpans()
|
D | Spanned.java | 152 public <T> T[] getSpans(int start, int end, Class<T> type); in getSpans() method
|
D | SpannableStringBuilder.java | 69 Object[] spans = sp.getSpans(start, end, Object.class); in SpannableStringBuilder() 329 Object[] spans = sp.getSpans(tbstart, tbend, Object.class); in change() 696 public <T> T[] getSpans(int queryStart, int queryEnd, Class<T> kind) { in getSpans() method in SpannableStringBuilder 867 TextWatcher[] recip = getSpans(start, start + before, TextWatcher.class); in sendTextWillChange() 894 SpanWatcher[] recip = getSpans(start, end, SpanWatcher.class); in sendSpanAdded() 903 SpanWatcher[] recip = getSpans(start, end, SpanWatcher.class); in sendSpanRemoved() 912 SpanWatcher[] recip = getSpans(Math.min(s, st), Math.max(e, en), SpanWatcher.class); in sendSpanChanged()
|
D | Html.java | 157 ParagraphStyle[] style = text.getSpans(i, next, ParagraphStyle.class); in withinHtml() 192 QuoteSpan[] quotes = text.getSpans(i, next, QuoteSpan.class); in withinDiv() 236 CharacterStyle[] style = text.getSpans(i, next, in withinParagraph() 421 …Object[] obj = mSpannableStringBuilder.getSpans(0, mSpannableStringBuilder.length(), ParagraphStyl… in convert() 570 Object[] objs = text.getSpans(0, text.length(), kind); in getLast()
|
D | TextLine.java | 139 ReplacementSpan[] spans = mSpanned.getSpans(start, limit, ReplacementSpan.class); in set() 160 ReplacementSpan[] spans = mSpanned.getSpans(i, inext, ReplacementSpan.class); in set() 638 MetricAffectingSpan[] spans = mSpanned.getSpans(mStart + spanStart, in getOffsetBeforeAfter() 864 final E[] allSpans = spanned.getSpans(start, limit, type); in SpanSet() 1073 MetricAffectingSpan[] spans = mSpanned.getSpans(pos, pos + 1, MetricAffectingSpan.class); in ascent()
|
D | TextUtils.java | 602 Object[] os = sp.getSpans(0, cs.length(), Object.class); in writeToParcel() 779 Object[] os = sp.getSpans(0, cs.length(), Object.class); in dumpSpans() 906 ReplacementSpan[] spans = ((Spanned) text).getSpans(offset, offset, in getOffsetBefore() 943 ReplacementSpan[] spans = ((Spanned) text).getSpans(offset, offset, in getOffsetAfter() 980 Object[] spans = source.getSpans(start, end, kind); in copySpansFrom() 1252 MetricAffectingSpan[] spans = sp.getSpans( in setPara()
|
D | DynamicLayout.java | 177 ChangeWatcher[] spans = sp.getSpans(0, sp.length(), ChangeWatcher.class); in DynamicLayout() 230 Object[] force = sp.getSpans(where, where + after, in reflow()
|
/frameworks/base/core/java/android/widget/ |
D | SpellChecker.java | 245 SuggestionSpan[] suggestionSpans = editable.getSpans(start, end, SuggestionSpan.class); in createMisspelledSuggestionSpan() 345 SpellCheckSpan[] spellCheckSpans = editable.getSpans(start - 1, end + 1, in parse() 347 SuggestionSpan[] suggestionSpans = editable.getSpans(start - 1, end + 1, in parse()
|
/frameworks/ex/common/java/com/android/ex/editstyledtext/ |
D | EditStyledText.java | 879 getText().getSpans(pos, pos, ForegroundColorSpan.class); in getForegroundColor() 1083 Object[] styles = editable.getSpans(0, len, Object.class); in clearStyles() 1134 HorizontalLineSpan[] lines = txt.getSpans(0, len, HorizontalLineSpan.class); in onRefreshStyles() 1138 MarqueeSpan[] marquees = txt.getSpans(0, len, MarqueeSpan.class); in onRefreshStyles() 1270 if (txt.getSpans(0, len, ParagraphStyle.class).length > 0 in isStyledText() 1271 || txt.getSpans(0, len, QuoteSpan.class).length > 0 in isStyledText() 1272 || txt.getSpans(0, len, CharacterStyle.class).length > 0 in isStyledText() 1328 Object[] spansBefore = txt.getSpans(min, min, Object.class); in updateSpanPreviousFromCursor() 1381 Object[] spansAfter = txt.getSpans(max, max, Object.class); in updateSpanNextToCursor() 1461 buf.getSpans(0, buf.length(), DynamicDrawableSpan.class); in removeImageChar() [all …]
|
/frameworks/ex/chips/tests/src/com/android/ex/chips/ |
D | ChipsTest.java | 532 RecipientChip[] spans = mEditable.getSpans(0, mEditable.length(), RecipientChip.class); in testReplaceChip() 535 .getSpans(0, mEditable.toString().indexOf(second) - 1, RecipientChip.class); in testReplaceChip() 565 spans = mEditable.getSpans(0, mEditable.length(), RecipientChip.class); in testReplaceChip() 568 .getSpans(firstEnd, mEditable.toString().indexOf(third) - 1, RecipientChip.class); in testReplaceChip() 595 spans = mEditable.getSpans(0, mEditable.length(), RecipientChip.class); in testReplaceChip() 598 .getSpans(secondEnd, mEditable.length(), RecipientChip.class); in testReplaceChip()
|
/frameworks/base/core/java/android/view/inputmethod/ |
D | BaseInputConnection.java | 78 Object[] sps = text.getSpans(0, text.length(), Object.class); in removeComposingSpans() 95 final Object[] sps = text.getSpans(start, end, Object.class); in setComposingSpans() 577 mDefaultComposingSpans = ((Spanned)style).getSpans( in ensureDefaultComposingSpans()
|
/frameworks/base/core/java/com/android/internal/widget/ |
D | EditableInputConnection.java | 144 SuggestionSpan[] spans = spanned.getSpans(0, text.length(), SuggestionSpan.class); in commitText()
|
/frameworks/ex/chips/src/com/android/ex/chips/ |
D | RecipientEditTextView.java | 262 RecipientChip[] chips = span.getSpans(start, textLength, RecipientChip.class); in onSelectionChanged() 356 RecipientChip[] chips = getSpannable().getSpans(start, end, RecipientChip.class); in shrink() 1045 RecipientChip[] chips = getSpannable().getSpans(start, end, RecipientChip.class); in alreadyHasChip() 1122 RecipientChip[] chips = span.getSpans(start, end, RecipientChip.class); in performFiltering() 1285 RecipientChip[] chips = getSpannable().getSpans(0, getText().length(), RecipientChip.class); in findChip() 1405 return getSpannable().getSpans(0, getText().length(), RecipientChip.class); in getRecipients() 1468 MoreImageSpan[] moreSpans = getSpannable().getSpans(0, getText().length(), in getMoreChip() 1484 ImageSpan[] tempMore = getSpannable().getSpans(0, getText().length(), MoreImageSpan.class); in createMoreChip() 1851 RecipientChip[] chips = spannable.getSpans(0, getText().length(), in afterTextChanged()
|