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

/frameworks/base/core/java/android/text/
H A DSpannableStringBuilder.java265 final int nbNewChars = replacementLength - replacedLength;
299 else if (spanStart == end + nbNewChars) flags |= SPAN_START_AT_END;
301 else if (spanEnd == end + nbNewChars) flags |= SPAN_END_AT_END;
307 if (nbNewChars >= mGapLength) {
308 resizeFor(mText.length + nbNewChars - mGapLength);
335 mGapStart += nbNewChars;
336 mGapLength -= nbNewChars;
348 mSpanStarts[i] = updatedIntervalBound(mSpanStarts[i], start, nbNewChars, startFlag,
352 mSpanEnds[i] = updatedIntervalBound(mSpanEnds[i], start, nbNewChars, endFlag,
379 private int updatedIntervalBound(int offset, int start, int nbNewChars, in argument
519 sendToSpanWatchers(int replaceStart, int replaceEnd, int nbNewChars) argument
[all...]

Completed in 42 milliseconds