Home
last modified time | relevance | path

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

/cts/tests/tests/text/src/android/text/method/cts/
DCharacterPickerDialogTest.java57 final Editable content = Editable.Factory.getInstance().newEditable(str); in testConstructor()
66 final Editable content = Editable.Factory.getInstance().newEditable(str); in testConstructorNullContext()
76 Editable text = Editable.Factory.getInstance().newEditable(str); in testOnItemClick()
101 text = Editable.Factory.getInstance().newEditable(str); in testOnItemClick()
118 final Editable content = Editable.Factory.getInstance().newEditable(str); in testOnClick()
DBaseKeyListenerTest.java58 Editable content = Editable.Factory.getInstance().newEditable(TEST_STRING); in verifyBackspace()
79 content = Editable.Factory.getInstance().newEditable(testText); in verifyBackspace()
97 content = Editable.Factory.getInstance().newEditable(testText); in verifyBackspace()
121 Editable content = Editable.Factory.getInstance().newEditable(TEST_STRING); in testBackspace_withAlt()
129 content = Editable.Factory.getInstance().newEditable(TEST_STRING); in testBackspace_withAlt()
136 content = Editable.Factory.getInstance().newEditable(TEST_STRING); in testBackspace_withAlt()
186 Editable content = Editable.Factory.getInstance().newEditable(testText); in testBackspace_withCtrl()
194 content = Editable.Factory.getInstance().newEditable(testText); in testBackspace_withCtrl()
229 content = Editable.Factory.getInstance().newEditable(testText); in testBackspace_withCtrl()
252 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.java241 Editable jpEditNumber = Editable.Factory.getInstance().newEditable("0377777777"); in testFormatMethods()
244 jpEditNumber = Editable.Factory.getInstance().newEditable("09077777777"); in testFormatMethods()
247 jpEditNumber = Editable.Factory.getInstance().newEditable("0120777777"); in testFormatMethods()
250 jpEditNumber = Editable.Factory.getInstance().newEditable("+81377777777"); in testFormatMethods()
253 jpEditNumber = Editable.Factory.getInstance().newEditable("+819077777777"); in testFormatMethods()
260 Editable editNumber = Editable.Factory.getInstance().newEditable("0377777777"); in testFormatMethods()
263 editNumber = Editable.Factory.getInstance().newEditable("+177777777"); in testFormatMethods()
266 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.java570 Editable editable = Editable.Factory.getInstance().newEditable("123\t\n555"); in testImmutableStaticLayout()
/cts/tests/inputmethod/src/android/view/inputmethod/cts/
DBaseInputConnectionTest.java125 Editable inputText = Editable.Factory.getInstance().newEditable(str); in testOpTextMethods()
163 Editable inputText = Editable.Factory.getInstance().newEditable(str); in testFinishComposingText()
202 final Editable editable = Editable.Factory.getInstance().newEditable(source); in createConnectionWithSelection()
/cts/tests/contentcaptureservice/src/android/contentcaptureservice/cts/
DLoginActivityTest.java675 Editable newEditable = Editable.Factory.getInstance().newEditable(s); in appendText() local
677 BaseInputConnection.setComposingSpans(newEditable); in appendText()
681 editable.replace(0, editable.length() , newEditable); in appendText()
/cts/tests/tests/widget/src/android/widget/cts/
DTextViewTest.java1400 doCallRealMethod().when(mockEditableFactory).newEditable(any(CharSequence.class)); in testSetEditableFactory()
1404 verify(mockEditableFactory, never()).newEditable(any(CharSequence.class)); in testSetEditableFactory()
1408 verify(mockEditableFactory, never()).newEditable(any(CharSequence.class)); in testSetEditableFactory()
1412 verify(mockEditableFactory, never()).newEditable(any(CharSequence.class)); in testSetEditableFactory()
1416 verify(mockEditableFactory, times(1)).newEditable(text); in testSetEditableFactory()
1421 verify(mockEditableFactory, times(1)).newEditable(text); in testSetEditableFactory()