Searched refs:initialText (Results 1 – 3 of 3) sorted by relevance
/cts/tests/inputmethod/src/android/view/inputmethod/cts/ |
D | EditTextImeSupportTest.java | 82 public EditText launchTestActivity(String marker, String initialText, in launchTestActivity() argument 92 editText.setText(initialText); in launchTestActivity() 114 final String initialText = "0123456789"; in testSetTextTriggersRestartInput() local 118 final EditText editText = launchTestActivity(marker, initialText, initialSelectionStart, in testSetTextTriggersRestartInput() 131 assertInitialSurroundingText(initialEditorInfo, initialText, initialSelectionStart, in testSetTextTriggersRestartInput()
|
D | InputMethodServiceTest.java | 709 final String initialText = "Initial"; 729 editText.setText(initialText); 745 firstEditText.getText(), initialText + firstCommitMsg), TIMEOUT); 751 assertEquals(initialText.length() + firstCommitMsg.length(), originalSelectionStart); 752 assertEquals(initialText.length() + firstCommitMsg.length(), originalSelectionEnd);
|
/cts/tests/tests/widget/src/android/widget/cts/ |
D | TextViewTest.java | 7987 final String initialText = "13characters "; in testAutoSizeCallers_setText() local 7988 final StringBuilder textToSet = new StringBuilder().append(initialText); in testAutoSizeCallers_setText() 8001 textToSet.append(initialText); in testAutoSizeCallers_setText() 8021 textToSet.replace((textToSet.length() - initialText.length()), textToSet.length(), ""); in testAutoSizeCallers_setText()
|