Home
last modified time | relevance | path

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

/frameworks/base/core/tests/coretests/src/android/widget/
DTextViewTest.java69 CharSequence originalText = "This is some text."; in testProcessTextActivityResultNonEditable() local
70 tv.setText(originalText, TextView.BufferType.SPANNABLE); in testProcessTextActivityResultNonEditable()
71 assertEquals(originalText, tv.getText().toString()); in testProcessTextActivityResultNonEditable()
88 assertEquals(originalText, tv.getText().toString()); in testProcessTextActivityResultNonEditable()
94 CharSequence originalText = "This is some text."; in testProcessTextActivityResultEditable() local
95 tv.setText(originalText, TextView.BufferType.SPANNABLE); in testProcessTextActivityResultEditable()
96 assertEquals(originalText, tv.getText().toString()); in testProcessTextActivityResultEditable()
111 CharSequence originalText = "This is some text."; in testProcessTextActivityResultCancel() local
112 tv.setText(originalText, TextView.BufferType.SPANNABLE); in testProcessTextActivityResultCancel()
113 assertEquals(originalText, tv.getText().toString()); in testProcessTextActivityResultCancel()
[all …]
/frameworks/base/core/java/android/service/textservice/
DSpellCheckerService.java371 final CharSequence originalText = originalTextInfo.getText(); in getSplitWords() local
374 final int end = originalText.length(); in getSplitWords()
376 wordIterator.setCharSequence(originalText, 0, originalText.length()); in getSplitWords()
381 + wordEnd + "\n" + originalText); in getSplitWords()
386 final CharSequence query = originalText.subSequence(wordStart, wordEnd); in getSplitWords()
/frameworks/base/tools/aapt2/compile/
DPseudolocaleGenerator.cpp32 const StringPiece16 originalText = *string->value->str; in pseudolocalizeStyledString() local
64 ranges.push_back(Range{ originalText.size() - 1 }); in pseudolocalizeStyledString()
92 size_t len = originalText.size() - start; in pseudolocalizeStyledString()
105 localized.str += localizer.text(originalText.substr(start, len)); in pseudolocalizeStyledString()
/frameworks/base/core/java/android/widget/
DEditor.java2610 final String originalText = TextUtils.substring(editable, spanStart, spanEnd); in replaceWithSuggestion() local
2635 mTextView.getContext(), originalText, suggestionInfo.mSuggestionIndex); in replaceWithSuggestion() local
2645 suggestions[suggestionInfo.mSuggestionIndex] = originalText; in replaceWithSuggestion()
3384 final String originalText = TextUtils.substring(editable, spanStart, spanEnd); in initContentView()
3387 intent.putExtra(USER_DICTIONARY_EXTRA_WORD, originalText); in initContentView()
6075 Editable originalText = new SpannableStringBuilder(editable.toString());
6078 modifyText(originalText, mNewTextStart, getNewTextEnd(), mOldText, mOldTextStart,
6090 mOldText = originalText.toString();