[go: nahoru, domu]

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

/frameworks/base/core/java/android/text/
H A DSpannableStringBuilder.java329 final int nbNewChars = replacementLength - replacedLength;
366 else if (spanStart == end + nbNewChars) flags |= SPAN_START_AT_END;
368 else if (spanEnd == end + nbNewChars) flags |= SPAN_END_AT_END;
377 if (nbNewChars >= mGapLength) {
378 resizeFor(mText.length + nbNewChars - mGapLength);
392 mGapStart += nbNewChars;
393 mGapLength -= nbNewChars;
406 mSpanStarts[i] = updatedIntervalBound(mSpanStarts[i], start, nbNewChars, startFlag,
410 mSpanEnds[i] = updatedIntervalBound(mSpanEnds[i], start, nbNewChars, endFlag,
447 private int updatedIntervalBound(int offset, int start, int nbNewChars, in argument
601 sendToSpanWatchers(int replaceStart, int replaceEnd, int nbNewChars) argument
[all...]

Completed in 105 milliseconds