Home
last modified time | relevance | path

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

/cts/tests/tests/text/src/android/text/method/cts/
DBaseKeyListenerTest.java119 private static final String LONG_TEXT_FOR_ALT_BACKSPACE = "Hello, world. This is Android. Alt" field in BaseKeyListenerTest
129 Editable content = Editable.Factory.getInstance().newEditable(LONG_TEXT_FOR_ALT_BACKSPACE); in testBackspace_withAlt()
131 int middleIndex = LONG_TEXT_FOR_ALT_BACKSPACE.length() / 2; in testBackspace_withAlt()
140 String expectedText = LONG_TEXT_FOR_ALT_BACKSPACE.substring(0, lineStartOffset) in testBackspace_withAlt()
141 + LONG_TEXT_FOR_ALT_BACKSPACE.substring(middleIndex); in testBackspace_withAlt()
150 Editable content = Editable.Factory.getInstance().newEditable(LONG_TEXT_FOR_ALT_BACKSPACE); in testForwardDelete_withAlt()
152 int middleIndex = LONG_TEXT_FOR_ALT_BACKSPACE.length() / 2; in testForwardDelete_withAlt()
161 String expectedText = LONG_TEXT_FOR_ALT_BACKSPACE.substring(0, middleIndex) in testForwardDelete_withAlt()
162 + LONG_TEXT_FOR_ALT_BACKSPACE.substring(lineEndOffset); in testForwardDelete_withAlt()