Home
last modified time | relevance | path

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

/cts/tests/translation/src/android/translation/cts/
DUiTranslationManagerTest.java250 final CharSequence originalText = mTextView.getText(); in testUiTranslation() local
270 .isEqualTo(originalText.toString()); in testUiTranslation()
285 assertScreenText(mTextView, originalText.toString()); in testUiTranslation()
293 assertScreenText(mTextView, originalText.toString()); in testUiTranslation()
308 assertScreenText(mTextView, originalText.toString()); in testUiTranslation()
332 final CharSequence originalText = mTextView.getText(); in testUiTranslationWithoutAnimation() local
348 assertScreenText(mTextView, originalText.toString()); in testUiTranslationWithoutAnimation()
356 assertScreenText(mTextView, originalText.toString()); in testUiTranslationWithoutAnimation()
372 final CharSequence originalText = mTextView.getText(); in testPauseUiTranslationThenStartUiTranslation() local
388 assertScreenText(mTextView, originalText.toString()); in testPauseUiTranslationThenStartUiTranslation()
[all …]
/cts/tests/tests/widget/src/android/widget/cts/
DTextViewReceiveContentTest.java763 String originalText = "Original text"; in testProcessText_customReceiver() local
764 initTextViewForEditing(originalText, 0); in testProcessText_customReceiver()
765 Selection.setSelection(mTextView.getEditableText(), 0, originalText.length()); in testProcessText_customReceiver()
766 assertTextAndSelection(originalText, 0, originalText.length()); in testProcessText_customReceiver()
777 assertTextAndSelection(originalText, 0, originalText.length()); in testProcessText_customReceiver()
/cts/tests/accessibility/src/android/view/accessibility/cts/
DAccessibilityNodeInfoTest.java217 final String originalText = "Cassowaries"; in testChangeTextAfterSetting_shouldNotAffectInfo() local
220 StringBuffer updatingString = new StringBuffer(originalText); in testChangeTextAfterSetting_shouldNotAffectInfo()
229 assertTrue(TextUtils.equals(originalText, info.getText())); in testChangeTextAfterSetting_shouldNotAffectInfo()
230 assertTrue(TextUtils.equals(originalText, info.getError())); in testChangeTextAfterSetting_shouldNotAffectInfo()
231 assertTrue(TextUtils.equals(originalText, info.getContentDescription())); in testChangeTextAfterSetting_shouldNotAffectInfo()
232 assertTrue(TextUtils.equals(originalText, info.getStateDescription())); in testChangeTextAfterSetting_shouldNotAffectInfo()
DAccessibilityEventTest.java627 final String originalText = "Cassowary"; in testChangeTextAfterSetting_shouldNotAffectEvent() local
630 StringBuffer updatingString = new StringBuffer(originalText); in testChangeTextAfterSetting_shouldNotAffectEvent()
637 assertTrue(TextUtils.equals(originalText, event.getBeforeText())); in testChangeTextAfterSetting_shouldNotAffectEvent()
638 assertTrue(TextUtils.equals(originalText, event.getContentDescription())); in testChangeTextAfterSetting_shouldNotAffectEvent()
/cts/tests/inputmethod/src/android/view/inputmethod/cts/
DEditorInfoTest.java367 final CharSequence originalText = TextUtils.concat(prefixString, subText); in testInitialSurroundingSubText_keepsOriginalCursorPosition() local
369 info.initialSelStart = originalText.length() / 2; in testInitialSurroundingSubText_keepsOriginalCursorPosition()
377 originalText.length() - info.initialSelEnd); in testInitialSurroundingSubText_keepsOriginalCursorPosition()