Searched defs:nbNewChars (Results 1 - 1 of 1) sorted by relevance
/frameworks/base/core/java/android/text/ |
H A D | SpannableStringBuilder.java | 284 final int nbNewChars = replacementLength - replacedLength; 318 else if (spanStart == end + nbNewChars) flags |= SPAN_START_AT_END; 320 else if (spanEnd == end + nbNewChars) flags |= SPAN_END_AT_END; 326 if (nbNewChars >= mGapLength) { 327 resizeFor(mText.length + nbNewChars - mGapLength); 354 mGapStart += nbNewChars; 355 mGapLength -= nbNewChars; 367 mSpanStarts[i] = updatedIntervalBound(mSpanStarts[i], start, nbNewChars, startFlag, 371 mSpanEnds[i] = updatedIntervalBound(mSpanEnds[i], start, nbNewChars, endFlag, 398 private int updatedIntervalBound(int offset, int start, int nbNewChars, in argument 538 sendToSpanWatchers(int replaceStart, int replaceEnd, int nbNewChars) argument [all...] |
Completed in 25 milliseconds