Home
last modified time | relevance | path

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

/frameworks/base/core/tests/coretests/src/android/widget/
DTextViewTest.java107 CharSequence originalText = "This is some text."; in testProcessTextActivityResultNonEditable() local
108 mTextView.setText(originalText, TextView.BufferType.SPANNABLE); in testProcessTextActivityResultNonEditable()
109 assertEquals(originalText, mTextView.getText().toString()); in testProcessTextActivityResultNonEditable()
124 assertEquals(originalText, mTextView.getText().toString()); in testProcessTextActivityResultNonEditable()
131 CharSequence originalText = "This is some text."; in testProcessTextActivityResultEditable() local
132 mTextView.setText(originalText, TextView.BufferType.SPANNABLE); in testProcessTextActivityResultEditable()
133 assertEquals(originalText, mTextView.getText().toString()); in testProcessTextActivityResultEditable()
149 CharSequence originalText = "This is some text."; in testProcessTextActivityResultCancel() local
150 mTextView.setText(originalText, TextView.BufferType.SPANNABLE); in testProcessTextActivityResultCancel()
151 assertEquals(originalText, mTextView.getText().toString()); in testProcessTextActivityResultCancel()
[all …]
/frameworks/base/core/java/android/service/textservice/
DSpellCheckerService.java395 final CharSequence originalText = originalTextInfo.getText(); in getSplitWords() local
398 final int end = originalText.length(); in getSplitWords()
400 wordIterator.setCharSequence(originalText, 0, originalText.length()); in getSplitWords()
405 + wordEnd + "\n" + originalText); in getSplitWords()
410 final CharSequence query = originalText.subSequence(wordStart, wordEnd); in getSplitWords()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/notification/collection/
DNotificationEntry.java845 public final CharSequence originalText; field in NotificationEntry.EditedSuggestionInfo
852 public EditedSuggestionInfo(CharSequence originalText, int index) { in EditedSuggestionInfo() argument
853 this.originalText = originalText; in EditedSuggestionInfo()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/
DNotificationRemoteInputManager.java328 entry.editedSuggestionInfo.originalText); in setUpWithCallback()
332 entry.editedSuggestionInfo.originalText, in setUpWithCallback()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/policy/
DRemoteInputView.java295 mEntry.remoteInputText = editedSuggestionInfo.originalText; in setRemoteInput()
/frameworks/base/core/java/android/widget/
DEditor.java2886 final String originalText = TextUtils.substring(editable, spanStart, spanEnd); in replaceWithSuggestion() local
2917 suggestions[suggestionInfo.mSuggestionIndex] = originalText; in replaceWithSuggestion()
3657 final String originalText = TextUtils.substring(editable, spanStart, spanEnd); in initContentView()
3660 intent.putExtra(USER_DICTIONARY_EXTRA_WORD, originalText); in initContentView()
6896 Editable originalText = new SpannableStringBuilder(editable.toString());
6899 modifyText(originalText, mStart, getNewTextEnd(), mOldText, mStart, mOldCursorPos);
6909 mOldText = originalText.toString();