Home
last modified time | relevance | path

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

/frameworks/base/core/tests/coretests/src/android/widget/
DTextViewProcessTextTest.java61 CharSequence originalText = "This is some text."; in testProcessTextActivityResultNonEditable() local
62 mTextView.setText(originalText, BufferType.SPANNABLE); in testProcessTextActivityResultNonEditable()
63 assertEquals(originalText, mTextView.getText().toString()); in testProcessTextActivityResultNonEditable()
74 assertEquals(originalText, mTextView.getText().toString()); in testProcessTextActivityResultNonEditable()
81 CharSequence originalText = "This is some text."; in testProcessTextActivityResultCancel() local
82 mTextView.setText(originalText, BufferType.SPANNABLE); in testProcessTextActivityResultCancel()
83 assertEquals(originalText, mTextView.getText().toString()); in testProcessTextActivityResultCancel()
90 assertEquals(originalText, mTextView.getText().toString()); in testProcessTextActivityResultCancel()
97 CharSequence originalText = "This is some text."; in testProcessTextActivityNoData() local
98 mTextView.setText(originalText, BufferType.SPANNABLE); in testProcessTextActivityNoData()
[all …]
/frameworks/base/core/java/android/service/textservice/
DSpellCheckerService.java417 final CharSequence originalText = originalTextInfo.getText(); in getSplitWords() local
420 final int end = originalText.length(); in getSplitWords()
422 wordIterator.setCharSequence(originalText, 0, originalText.length()); in getSplitWords()
428 + wordEnd + "\n" + originalText); in getSplitWords()
433 final CharSequence query = originalText.subSequence(wordStart, wordEnd); in getSplitWords()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/notification/collection/
DNotificationEntry.java978 public final CharSequence originalText; field in NotificationEntry.EditedSuggestionInfo
985 public EditedSuggestionInfo(CharSequence originalText, int index) { in EditedSuggestionInfo() argument
986 this.originalText = originalText; in EditedSuggestionInfo()
/frameworks/base/core/tests/coretests/src/android/view/inputmethod/
DEditorInfoTest.java258 final CharSequence originalText = TextUtils.concat(prefixString, subText); in setInitialSubText_trimmedSubText_dividesByOriginalCursorPosition() local
261 editorInfo.initialSelStart = originalText.length() / 2; in setInitialSubText_trimmedSubText_dividesByOriginalCursorPosition()
269 originalText.length() - editorInfo.initialSelEnd); in setInitialSubText_trimmedSubText_dividesByOriginalCursorPosition()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/
DNotificationRemoteInputManager.java355 entry.editedSuggestionInfo.originalText); in setUpWithCallback()
359 entry.editedSuggestionInfo.originalText, in setUpWithCallback()
/frameworks/base/core/java/android/widget/
DEditor.java3117 final String originalText = TextUtils.substring(editable, spanStart, spanEnd); in replaceWithSuggestion() local
3149 suggestions[suggestionInfo.mSuggestionIndex] = originalText; in replaceWithSuggestion()
3900 final String originalText = TextUtils.substring(editable, spanStart, spanEnd); in initContentView()
3903 intent.putExtra(USER_DICTIONARY_EXTRA_WORD, originalText); in initContentView()
7548 Editable originalText = new SpannableStringBuilder(editable.toString()); in forceMergeWith() local
7551 modifyText(originalText, mStart, getNewTextEnd(), mOldText, mStart, mOldCursorPos); in forceMergeWith()
7561 mOldText = originalText.toString(); in forceMergeWith()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/policy/
DRemoteInputView.java560 mEntry.remoteInputText = editedSuggestionInfo.originalText; in setRemoteInput()