Searched refs:nbNewChars (Results 1 – 1 of 1) sorted by relevance
/frameworks/base/core/java/android/text/ |
D | SpannableStringBuilder.java | 330 final int nbNewChars = replacementLength - replacedLength; in change() local 368 else if (spanStart == end + nbNewChars) flags |= SPAN_START_AT_END; in change() 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() 408 mSpanStarts[i] = updatedIntervalBound(mSpanStarts[i], start, nbNewChars, startFlag, in change() 412 mSpanEnds[i] = updatedIntervalBound(mSpanEnds[i], start, nbNewChars, endFlag, in change() 444 private int updatedIntervalBound(int offset, int start, int nbNewChars, int flag, boolean atEnd, in updatedIntervalBound() argument [all …]
|