Home
last modified time | relevance | path

Searched refs:initialText (Results 1 – 3 of 3) sorted by relevance

/cts/tests/inputmethod/src/android/view/inputmethod/cts/
DEditTextImeSupportTest.java76 public EditText launchTestActivity(String marker, String initialText, in launchTestActivity() argument
86 editText.setText(initialText); in launchTestActivity()
108 final String initialText = "0123456789"; in testSetTextTriggersRestartInput() local
112 final EditText editText = launchTestActivity(marker, initialText, initialSelectionStart, in testSetTextTriggersRestartInput()
125 assertInitialSurroundingText(initialEditorInfo, initialText, initialSelectionStart, in testSetTextTriggersRestartInput()
DInputMethodServiceTest.java525 final String initialText = "Initial";
545 editText.setText(initialText);
561 firstEditText.getText(), initialText + firstCommitMsg), TIMEOUT);
567 assertEquals(initialText.length() + firstCommitMsg.length(), originalSelectionStart);
568 assertEquals(initialText.length() + firstCommitMsg.length(), originalSelectionEnd);
/cts/tests/tests/widget/src/android/widget/cts/
DTextViewTest.java7445 final String initialText = "13characters "; in testAutoSizeCallers_setText() local
7446 final StringBuilder textToSet = new StringBuilder().append(initialText); in testAutoSizeCallers_setText()
7459 textToSet.append(initialText); in testAutoSizeCallers_setText()
7479 textToSet.replace((textToSet.length() - initialText.length()), textToSet.length(), ""); in testAutoSizeCallers_setText()