Home
last modified time | relevance | path

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

/aosp14/frameworks/base/core/java/android/view/inputmethod/
H A DBaseInputConnection.java1091 int composingStart = getComposingSpanStart(content); in takeSnapshot() local
1093 if (composingEnd < composingStart) { in takeSnapshot()
1094 final int tmp = composingStart; in takeSnapshot()
1095 composingStart = composingEnd; in takeSnapshot()
1109 return new TextSnapshot(surroundingText, composingStart, composingEnd, cursorCapsMode); in takeSnapshot()
/aosp14/frameworks/base/core/java/android/view/contentcapture/
H A DMainContentCaptureSession.java814 final int composingStart; in notifyViewTextChanged() local
817 composingStart = BaseInputConnection.getComposingSpanStart((Spannable) text); in notifyViewTextChanged()
820 composingStart = ContentCaptureEvent.MAX_INVALID_VALUE; in notifyViewTextChanged()
829 .setComposingIndex(composingStart, composingEnd) in notifyViewTextChanged()