Searched refs:spanEnd (Results 1 – 5 of 5) sorted by relevance
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/compat/ |
D | LocaleSpanCompatUtils.java | 116 final int spanEnd = spannable.getSpanEnd(existingLocaleSpan); in updateLocaleSpan() local 117 if (spanEnd < spanStart) { in updateLocaleSpan() 118 Log.e(TAG, "Invalid span: spanStart=" + spanStart + " spanEnd=" + spanEnd); in updateLocaleSpan() 121 if (spanEnd < start || end < spanStart) { in updateLocaleSpan() 134 if (newEnd < spanEnd) { in updateLocaleSpan() 135 newEnd = spanEnd; in updateLocaleSpan() 167 final int spanEnd = spannable.getSpanEnd(localeSpan); in removeLocaleSpanFromRange() local 168 if (spanStart > spanEnd) { in removeLocaleSpanFromRange() 169 Log.e(TAG, "Invalid span: spanStart=" + spanStart + " spanEnd=" + spanEnd); in removeLocaleSpanFromRange() 172 if (spanEnd < removeStart) { in removeLocaleSpanFromRange() [all …]
|
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/utils/ |
D | TextRange.java | 87 int spanEnd = text.getSpanEnd(span); in getSuggestionSpansAtWord() local 93 spanEnd = Math.max(spanEnd, text.getSpanEnd(spans[i])); in getSuggestionSpansAtWord() 98 if (spanStart == mWordAtCursorStartIndex && spanEnd == mWordAtCursorEndIndex) { in getSuggestionSpansAtWord()
|
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/ |
D | RichInputConnection.java | 319 final int spanEnd = mTempObjectForCommitText.getSpanEnd(span); in commitText() local 325 if (0 < spanEnd && spanEnd < mTempObjectForCommitText.length()) { in commitText() 326 final char spanEndChar = mTempObjectForCommitText.charAt(spanEnd - 1); in commitText() 327 final char nextChar = mTempObjectForCommitText.charAt(spanEnd); in commitText() 330 mTempObjectForCommitText.setSpan(span, spanStart, spanEnd + 1, spanFlags); in commitText()
|
/packages/apps/ManagedProvisioning/src/com/android/managedprovisioning/common/ |
D | HtmlToSpannedParser.java | 70 int spanEnd = result.getSpanEnd(urlSpan); in parseHtml() local 71 result.setSpan(mClickableSpanFactory.create(intent), spanStart, spanEnd, in parseHtml() local
|
/packages/apps/Messaging/src/com/android/messaging/util/ |
D | UiUtils.java | 357 final int spanEnd = markup.getSpanEnd(link); in stripHtml() local 361 final String displayText = strippedText.substring(spanStart, spanEnd); in stripHtml() 365 currentIndex = spanEnd; in stripHtml()
|