Lines Matching defs:spanEnd
2060 final int spanEnd = spannable.getSpanEnd(suggestionSpans[i]);
2062 maxSpanEnd = Math.max(maxSpanEnd, spanEnd);
2063 if (selectionStart < spanStart || selectionStart > spanEnd) {
2072 Math.max(unionOfSpansCoveringSelectionStartEnd, spanEnd);
2604 final int spanEnd = editable.getSpanEnd(targetSuggestionSpan);
2605 if (spanStart < 0 || spanEnd <= spanStart) {
2610 final String originalText = TextUtils.substring(editable, spanStart, spanEnd);
2612 SuggestionSpan[] suggestionSpans = editable.getSpans(spanStart, spanEnd,
2642 mTextView.replaceText_internal(spanStart, spanEnd, suggestion);
2648 final int lengthDelta = suggestion.length() - (spanEnd - spanStart);
2653 if (suggestionSpansStarts[i] <= spanStart && suggestionSpansEnds[i] >= spanEnd) {
2659 final int newCursorPosition = spanEnd + lengthDelta;
3132 void setSpanInfo(SuggestionSpan span, int spanStart, int spanEnd) {
3135 mSuggestionSpanInfo.mSpanEnd = spanEnd;
3223 final int spanEnd = spannable.getSpanEnd(suggestionSpan);
3229 misspelledSpanInfo.mSpanEnd = spanEnd;
3244 if (spanStart == otherSpanStart && spanEnd == otherSpanEnd) {
3251 suggestionInfo.setSpanInfo(suggestionSpan, spanStart, spanEnd);
3380 final int spanEnd = editable.getSpanEnd(misspelledSpan);
3381 if (spanStart < 0 || spanEnd <= spanStart) {
3384 final String originalText = TextUtils.substring(editable, spanStart, spanEnd);
3395 Selection.setSelection(editable, spanEnd);
3396 updateSpellCheckSpans(spanStart, spanEnd, false);
3619 final int spanEnd = suggestionInfo.mSuggestionSpanInfo.mSpanEnd;
3632 suggestionInfo.mText.append(textAsString.substring(spanEnd, unionEnd));