Home
last modified time | relevance | path

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

/aosp14/frameworks/base/core/java/android/text/
H A DSpannableStringBuilder.java330 final int nbNewChars = replacementLength - replacedLength; in change() local
370 else if (spanEnd == end + nbNewChars) flags |= SPAN_END_AT_END; in change()
379 if (nbNewChars >= mGapLength) { in change()
380 resizeFor(mText.length + nbNewChars - mGapLength); in change()
394 mGapStart += nbNewChars; in change()
395 mGapLength -= nbNewChars; in change()
612 int newReplaceEnd = replaceEnd + nbNewChars; in sendToSpanWatchers()
617 if (nbNewChars != 0) { in sendToSpanWatchers()
618 previousSpanStart -= nbNewChars; in sendToSpanWatchers()
636 if (nbNewChars != 0) { in sendToSpanWatchers()
[all …]