Home
last modified time | relevance | path

Searched refs:mEditable (Results 1 – 4 of 4) sorted by relevance

/frameworks/opt/chips/tests/src/com/android/ex/chips/
DChipsTest.java48 private Editable mEditable; field in ChipsTest
94 return mEditable; in getText()
99 return mEditable; in getSpannable()
114 return mEditable != null ? mEditable.length() : 0; in length()
119 return mEditable != null ? mEditable.toString() : ""; in toString()
140 mEditable = new SpannableStringBuilder(); in createViewForTesting()
188 mEditable = new SpannableStringBuilder(); in testSanitizeBetween()
189 mEditable.append(first + extra + second); in testSanitizeBetween()
190 int firstStart = mEditable.toString().indexOf(first); in testSanitizeBetween()
192 int secondStart = mEditable.toString().indexOf(second); in testSanitizeBetween()
[all …]
/frameworks/base/core/tests/InputMethodCoreTests/src/android/view/inputmethod/
DBaseInputConnectionTest.java52 private Editable mEditable; field in BaseInputConnectionTest
59 mEditable = mBaseInputConnection.getEditable(); in setUp()
741 mEditable.clear(); in prepareContent()
742 mEditable.append(text); in prepareContent()
743 Selection.setSelection(mEditable, selectionStart, selectionEnd); in prepareContent()
745 BaseInputConnection.setComposingSpans(mEditable, composingSpanStart, composingSpanEnd); in prepareContent()
764 assertThat(mEditable).isNotNull(); in verifyContent()
765 verifyContentEquals(mEditable, text.toString()); in verifyContent()
766 assertThat(Selection.getSelectionStart(mEditable)).isEqualTo(selectionStart); in verifyContent()
767 assertThat(Selection.getSelectionEnd(mEditable)).isEqualTo(selectionEnd); in verifyContent()
[all …]
/frameworks/base/core/java/android/view/inputmethod/
DBaseInputConnection.java78 Editable mEditable; field in BaseInputConnection
169 if (mEditable == null) { in getEditable()
170 mEditable = Editable.Factory.getInstance().newEditable(""); in getEditable()
171 Selection.setSelection(mEditable, 0); in getEditable()
173 return mEditable; in getEditable()
647 if (content == null || mEditable == content) { in getSurroundingText()
/frameworks/base/boot/hiddenapi/
Dhiddenapi-max-target-o.txt59722 Landroid/view/inputmethod/BaseInputConnection;->mEditable:Landroid/text/Editable;