Home
last modified time | relevance | path

Searched refs:composingTextEnd (Results 1 – 2 of 2) sorted by relevance

/aosp12/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/utils/
H A DCursorAnchorInfoUtils.java148 int composingTextEnd = 0; in extractFromTextViewInternal() local
156 composingTextEnd = Math.max(composingTextEnd, spannable.getSpanEnd(span)); in extractFromTextViewInternal()
161 (0 <= composingTextStart) && (composingTextStart < composingTextEnd); in extractFromTextViewInternal()
164 composingTextEnd); in extractFromTextViewInternal()
168 final int maxLine = layout.getLineForOffset(composingTextEnd - 1); in extractFromTextViewInternal()
173 final int offsetEnd = Math.min(lineEnd, composingTextEnd); in extractFromTextViewInternal()
/aosp12/frameworks/base/core/java/android/widget/
H A DEditor.java4575 int composingTextEnd = EditableInputConnection.getComposingSpanEnd(sp); in updatePosition() local
4576 if (composingTextEnd < composingTextStart) { in updatePosition()
4577 final int temp = composingTextEnd; in updatePosition()
4578 composingTextEnd = composingTextStart; in updatePosition()
4582 (0 <= composingTextStart) && (composingTextStart < composingTextEnd); in updatePosition()
4585 composingTextEnd); in updatePosition()
4588 composingTextEnd, viewportToContentHorizontalOffset, in updatePosition()