Searched refs:initialText (Results 1 – 3 of 3) sorted by relevance
/cts/tests/inputmethod/src/android/view/inputmethod/cts/ |
D | EditTextImeSupportTest.java | 76 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()
|
D | InputMethodServiceTest.java | 525 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/ |
D | TextViewTest.java | 7445 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()
|