Home
last modified time | relevance | path

Searched refs:mSpanCount (Results 1 – 2 of 2) sorted by relevance

/frameworks/base/core/java/android/text/
DSpannableStringInternal.java102 final int limit = src.mSpanCount; in copySpans()
123 mSpanCount = src.mSpanCount; in copySpans()
127 mSpanCount = count; in copySpans()
128 mSpans = ArrayUtils.newUnpaddedObjectArray(mSpanCount); in copySpans()
218 int count = mSpanCount; in setSpan()
236 if (mSpanCount + 1 >= mSpans.length) { in setSpan()
238 GrowingArrayUtils.growSize(mSpanCount)); in setSpan()
241 System.arraycopy(mSpans, 0, newtags, 0, mSpanCount); in setSpan()
242 System.arraycopy(mSpanData, 0, newdata, 0, mSpanCount * 3); in setSpan()
248 mSpans[mSpanCount] = what; in setSpan()
[all …]
DSpannableStringBuilder.java70 mSpanCount = 0; in SpannableStringBuilder()
158 if (mSpanCount != 0) { in resizeFor()
159 for (int i = 0; i < mSpanCount; i++) { in resizeFor()
182 if (mSpanCount != 0) { in moveGapTo()
183 for (int i = 0; i < mSpanCount; i++) { in moveGapTo()
246 for (int i = mSpanCount - 1; i >= 0; i--) { in clearSpans()
256 mSpanCount = i; in clearSpans()
308 if (i < mSpanCount) { in removeSpansForChange()
332 for (int i = mSpanCount - 1; i >= 0; i--) { in change()
386 while (mSpanCount > 0 && in change()
[all …]