Home
last modified time | relevance | path

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

/frameworks/base/core/java/android/text/
DSpannableStringBuilder.java329 final int nbNewChars = replacementLength - replacedLength; in change() local
367 else if (spanStart == end + nbNewChars) flags |= SPAN_START_AT_END; in change()
369 else if (spanEnd == end + nbNewChars) flags |= SPAN_END_AT_END; in change()
378 if (nbNewChars >= mGapLength) { in change()
379 resizeFor(mText.length + nbNewChars - mGapLength); in change()
393 mGapStart += nbNewChars; in change()
394 mGapLength -= nbNewChars; in change()
407 mSpanStarts[i] = updatedIntervalBound(mSpanStarts[i], start, nbNewChars, startFlag, in change()
411 mSpanEnds[i] = updatedIntervalBound(mSpanEnds[i], start, nbNewChars, endFlag, in change()
443 private int updatedIntervalBound(int offset, int start, int nbNewChars, int flag, boolean atEnd, in updatedIntervalBound() argument
[all …]