Home
last modified time | relevance | path

Searched refs:mSpans (Results 1 – 6 of 6) sorted by relevance

/frameworks/base/core/java/android/text/
DSpannableStringInternal.java35 mSpans = EmptyArray.OBJECT; in SpannableStringInternal()
82 mSpans = ArrayUtils.newUnpaddedObjectArray(src.mSpans.length); in copySpans()
85 System.arraycopy(src.mSpans, 0, mSpans, 0, src.mSpans.length); in copySpans()
100 Object[] srcSpans = src.mSpans; in copySpans()
102 mSpans = ArrayUtils.newUnpaddedObjectArray(mSpanCount); in copySpans()
103 mSpanData = new int[mSpans.length * COLUMNS]; in copySpans()
111 mSpans[j] = srcSpans[i]; in copySpans()
186 Object[] spans = mSpans; in setSpan()
203 if (mSpanCount + 1 >= mSpans.length) { in setSpan()
208 System.arraycopy(mSpans, 0, newtags, 0, mSpanCount); in setSpan()
[all …]
DSpannableStringBuilder.java71 mSpans = EmptyArray.OBJECT; in SpannableStringBuilder()
246 Object what = mSpans[i]; in clearSpans()
256 mSpans[i] = null; in clearSpans()
314 mIndexOfSpan.remove(mSpans[i]); in removeSpansForChange()
358 setSpan(false, mSpans[i], spanStart, spanEnd, mSpanFlags[i], in change()
476 Object object = mSpans[i]; in removeSpan()
485 System.arraycopy(mSpans, i + 1, mSpans, i, count); in removeSpan()
494 mSpans[mSpanCount] = null; in removeSpan()
647 sendSpanChanged(mSpans[i], previousSpanStart, previousSpanEnd, spanStart, spanEnd); in sendToSpanWatchers()
661 sendSpanAdded(mSpans[i], spanStart, spanEnd); in sendToSpanWatchers()
[all …]
/frameworks/support/emoji/core/tests/java/android/support/text/emoji/util/
DEmojiMatcher.java83 private EmojiSpan[] mSpans;
103 mSpans = ((Spanned) charSequence).getSpans(0, charSequence.length(), EmojiSpan.class);
104 return mSpans.length != 0;
111 private EmojiSpan[] mSpans;
126 if (mSpans == null) {
129 mismatchDescription.appendValue(mSpans.length);
139 mSpans = ((Spanned) charSequence).getSpans(0, charSequence.length(), EmojiSpan.class);
140 return mSpans.length == mCount;
/frameworks/support/v7/recyclerview/src/android/support/v7/widget/
DStaggeredGridLayoutManager.java112 Span[] mSpans; field in StaggeredGridLayoutManager
325 mSpans[i].clear(); in onDetachedFromWindow()
432 mSpans = new Span[mSpanCount];
434 mSpans[i] = new Span(i);
645 mSpans[i].clear();
647 mSpans[i].setLine(anchorInfo.mOffset);
653 mSpans[i].cacheReferenceLineAndClear(mShouldReverseLayout,
656 mAnchorInfo.saveSpanReferenceLines(mSpans);
659 final Span span = mSpans[i];
788 mSpans[i].clear();
[all …]
/frameworks/base/core/java/android/view/textclassifier/
DTextClassifierImpl.java565 private final List<SpanSpec> mSpans; field in LinksInfoImpl
569 mSpans = spans; in LinksInfoImpl()
577 final int size = mSpans.size(); in apply()
579 final SpanSpec span = mSpans.get(i); in apply()
/frameworks/base/media/java/android/media/
DWebVttRenderer.java1829 private final TextTrackCueSpan[] mSpans; field in WebVttRenderingWidget.SpanLayout
1834 mSpans = spans; in SpanLayout()
1841 final TextTrackCueSpan[] spans = mSpans; in update()