Home
last modified time | relevance | path

Searched refs:spanStart (Results 1 – 6 of 6) sorted by relevance

/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/compat/
DLocaleSpanCompatUtils.java115 final int spanStart = spannable.getSpanStart(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()
129 if (spanStart < newStart) { in updateLocaleSpan()
130 newStart = spanStart; in updateLocaleSpan()
166 final int spanStart = spannable.getSpanStart(localeSpan); in removeLocaleSpanFromRange() local
168 if (spanStart > spanEnd) { in removeLocaleSpanFromRange()
169 Log.e(TAG, "Invalid span: spanStart=" + spanStart + " spanEnd=" + spanEnd); in removeLocaleSpanFromRange()
176 if (removeEnd < spanStart) { in removeLocaleSpanFromRange()
[all …]
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/utils/
DTextRange.java86 int spanStart = text.getSpanStart(span); in getSuggestionSpansAtWord() local
92 spanStart = Math.min(spanStart, text.getSpanStart(spans[i])); in getSuggestionSpansAtWord()
98 if (spanStart == mWordAtCursorStartIndex && spanEnd == mWordAtCursorEndIndex) { in getSuggestionSpansAtWord()
/packages/apps/PermissionController/src/com/android/permissioncontroller/incident/
DConfirmationActivity.java153 int spanStart = 0; in onCreate() local
157 spanStart, spanStart + length, Spannable.SPAN_EXCLUSIVE_EXCLUSIVE); in onCreate()
158 spanStart += length + 1; in onCreate()
/packages/apps/Messaging/src/com/android/messaging/util/
DUiUtils.java356 final int spanStart = markup.getSpanStart(link); in stripHtml() local
358 if (spanStart > currentIndex) { in stripHtml()
359 result.append(strippedText, currentIndex, spanStart); in stripHtml()
361 final String displayText = strippedText.substring(spanStart, spanEnd); in stripHtml()
/packages/apps/ManagedProvisioning/src/com/android/managedprovisioning/common/
DHtmlToSpannedParser.java69 int spanStart = result.getSpanStart(urlSpan); in parseHtml() local
71 result.setSpan(mClickableSpanFactory.create(intent), spanStart, spanEnd, in parseHtml() local
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/
DRichInputConnection.java318 final int spanStart = mTempObjectForCommitText.getSpanStart(span); in commitText() local
330 mTempObjectForCommitText.setSpan(span, spanStart, spanEnd + 1, spanFlags); in commitText()