Home
last modified time | relevance | path

Searched refs:newEditable (Results 1 – 14 of 14) sorted by relevance

/cts/tests/tests/text/src/android/text/method/cts/
DCharacterPickerDialogTest.java68 final Editable content = Editable.Factory.getInstance().newEditable(str); in testConstructor()
77 final Editable content = Editable.Factory.getInstance().newEditable(str); in testConstructorNullContext()
87 Editable text = Editable.Factory.getInstance().newEditable(str); in testOnItemClick()
112 text = Editable.Factory.getInstance().newEditable(str); in testOnItemClick()
129 final Editable content = Editable.Factory.getInstance().newEditable(str); in testOnClick()
DBaseKeyListenerTest.java59 Editable content = Editable.Factory.getInstance().newEditable(TEST_STRING); in verifyBackspace()
80 content = Editable.Factory.getInstance().newEditable(testText); in verifyBackspace()
98 content = Editable.Factory.getInstance().newEditable(testText); in verifyBackspace()
129 Editable content = Editable.Factory.getInstance().newEditable(LONG_TEXT_FOR_ALT_BACKSPACE); in testBackspace_withAlt()
150 Editable content = Editable.Factory.getInstance().newEditable(LONG_TEXT_FOR_ALT_BACKSPACE); in testForwardDelete_withAlt()
208 Editable content = Editable.Factory.getInstance().newEditable(testText); in testBackspace_withCtrl()
216 content = Editable.Factory.getInstance().newEditable(testText); in testBackspace_withCtrl()
251 content = Editable.Factory.getInstance().newEditable(testText); in testBackspace_withCtrl()
274 content = Editable.Factory.getInstance().newEditable(testText); in testBackspace_withCtrl()
300 content = Editable.Factory.getInstance().newEditable(testText); in testBackspace_withCtrl()
[all …]
DMetaKeyKeyListenerTest.java56 final Editable content = Editable.Factory.getInstance().newEditable(str); in testPressKey()
82 final Editable content = Editable.Factory.getInstance().newEditable(str); in testReleaseKey()
106 Spannable content = Editable.Factory.getInstance().newEditable(str); in testAdjustMetaAfterKeypress()
115 content = Editable.Factory.getInstance().newEditable(str); in testAdjustMetaAfterKeypress()
124 content = Editable.Factory.getInstance().newEditable(str); in testAdjustMetaAfterKeypress()
151 Spannable text = Editable.Factory.getInstance().newEditable(str); in testResetMetaState()
159 text = Editable.Factory.getInstance().newEditable(str); in testResetMetaState()
167 text = Editable.Factory.getInstance().newEditable(str); in testResetMetaState()
313 Editable text = Editable.Factory.getInstance().newEditable(str); in testClearMetaKeyState()
321 text = Editable.Factory.getInstance().newEditable(str); in testClearMetaKeyState()
[all …]
DEditorState.java175 mText = Editable.Factory.getInstance().newEditable(spannable); in setByString()
/cts/tests/tests/telephony/current/src/android/telephony/cts/
DPhoneNumberUtilsTest.java259 Editable jpEditNumber = Editable.Factory.getInstance().newEditable("0377777777"); in testFormatMethods()
262 jpEditNumber = Editable.Factory.getInstance().newEditable("09077777777"); in testFormatMethods()
265 jpEditNumber = Editable.Factory.getInstance().newEditable("0120777777"); in testFormatMethods()
268 jpEditNumber = Editable.Factory.getInstance().newEditable("+81377777777"); in testFormatMethods()
271 jpEditNumber = Editable.Factory.getInstance().newEditable("+819077777777"); in testFormatMethods()
278 Editable editNumber = Editable.Factory.getInstance().newEditable("0377777777"); in testFormatMethods()
281 editNumber = Editable.Factory.getInstance().newEditable("+177777777"); in testFormatMethods()
284 editNumber = Editable.Factory.getInstance().newEditable("+8177777777"); in testFormatMethods()
/cts/tests/tests/text/src/android/text/cts/
DEditable_FactoryTest.java44 Editable actual = mFactory.newEditable(source); in testNewEditable()
DStaticLayoutTest.java609 Editable editable = Editable.Factory.getInstance().newEditable("123\t\n555"); in testImmutableStaticLayout()
/cts/tests/inputmethod/util/src/android/view/inputmethod/cts/util/
DInputConnectionTestUtils.java124 final Editable editable = Editable.Factory.getInstance().newEditable(source);
/cts/tests/inputmethod/src/android/view/inputmethod/cts/
DBaseInputConnectionTest.java134 Editable inputText = Editable.Factory.getInstance().newEditable(str); in testOpTextMethods()
172 Editable inputText = Editable.Factory.getInstance().newEditable(str); in testFinishComposingText()
601 Editable.Factory.getInstance().newEditable("test")); in testTakeSnapshotForNoSelection()
DAccessibilityInputMethodTest.java439 final var editable = Editable.Factory.getInstance().newEditable("0123456789"); in testInvalidateInputMain()
DInputMethodStartInputLifecycleTest.java525 Editable.Factory.getInstance().newEditable("0123456789"); in testInvalidateInputMain()
/cts/tests/contentcaptureservice/src/android/contentcaptureservice/cts/
DLoginActivityTest.java652 Editable newEditable = Editable.Factory.getInstance().newEditable(s); in appendText() local
654 BaseInputConnection.setComposingSpans(newEditable); in appendText()
658 editable.replace(0, editable.length() , newEditable); in appendText()
/cts/tests/tests/widget/src/android/widget/cts/
DTextViewTest.java1458 doCallRealMethod().when(mockEditableFactory).newEditable(any(CharSequence.class)); in testSetEditableFactory()
1462 verify(mockEditableFactory, never()).newEditable(any(CharSequence.class)); in testSetEditableFactory()
1466 verify(mockEditableFactory, never()).newEditable(any(CharSequence.class)); in testSetEditableFactory()
1470 verify(mockEditableFactory, never()).newEditable(any(CharSequence.class)); in testSetEditableFactory()
1474 verify(mockEditableFactory, times(1)).newEditable(text); in testSetEditableFactory()
1479 verify(mockEditableFactory, times(1)).newEditable(text); in testSetEditableFactory()
/cts/common/device-side/bedstead/remoteframeworkclasses/java/apis/
Dcurrent.txt47593 method public android.text.Editable newEditable(CharSequence);