Home
last modified time | relevance | path

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

/frameworks/base/core/tests/coretests/src/com/android/internal/accessibility/
DAccessibilityUtilsTest.java41 final CharSequence beforeText = "a"; in textOrSpanChanged_stringChange_returnTextChange() local
46 beforeText, afterText); in textOrSpanChanged_stringChange_returnTextChange()
52 final CharSequence beforeText = "a"; in textOrSpanChanged_stringNotChange_returnNoneChange() local
57 beforeText, afterText); in textOrSpanChanged_stringNotChange_returnNoneChange()
64 final CharSequence beforeText = new SpannableString("a"); in textOrSpanChanged_nonSpanToNonParcelableSpan_returnNoneChange() local
70 beforeText, afterText); in textOrSpanChanged_nonSpanToNonParcelableSpan_returnNoneChange()
77 final CharSequence beforeText = new SpannableString("a"); in textOrSpanChanged_nonSpanToParcelableSpan_returnParcelableSpanChange() local
83 beforeText, afterText); in textOrSpanChanged_nonSpanToParcelableSpan_returnParcelableSpanChange()
91 final SpannableString beforeText = new SpannableString("a"); in textOrSpanChanged_nonParcelableSpanToParcelableSpan_returnParcelableSpanChange() local
92 beforeText.setSpan(nonParcelableSpan, 0, 1, 0); in textOrSpanChanged_nonParcelableSpanToParcelableSpan_returnParcelableSpanChange()
[all …]
/frameworks/base/core/java/android/view/accessibility/
DAccessibilityRecord.java687 public void setBeforeText(@Nullable CharSequence beforeText) { in setBeforeText() argument
689 mBeforeText = (beforeText == null) ? null in setBeforeText()
690 : beforeText.subSequence(0, beforeText.length()); in setBeforeText()
/frameworks/base/packages/SystemUI/src/com/android/keyguard/
DPasswordTextView.java345 void sendAccessibilityEventTypeViewTextChanged(CharSequence beforeText, int fromIndex, in sendAccessibilityEventTypeViewTextChanged() argument
354 event.setBeforeText(beforeText); in sendAccessibilityEventTypeViewTextChanged()
475 CharSequence beforeText = getTransformedText();
480 beforeText, indexOfThisChar, 1, 1);
/frameworks/base/core/java/android/widget/
DSpellChecker.java421 CharSequence beforeText = in onGetSuggestionsInternal() local
427 beforeText, start, end); in onGetSuggestionsInternal()
585 CharSequence beforeText = sendAccessibilityEvent ? new SpannedString(editable) : null; in createMisspelledSuggestionSpan() local
588 mTextView.sendAccessibilityEventTypeViewTextChanged(beforeText, start, end); in createMisspelledSuggestionSpan()
DNumberPicker.java2051 CharSequence beforeText = mInputText.getText(); in updateInputTextView() local
2052 if (!text.equals(beforeText.toString())) { in updateInputTextView()
2060 event.setRemovedCount(beforeText.length()); in updateInputTextView()
2062 event.setBeforeText(beforeText); in updateInputTextView()
DTextView.java12813 void sendAccessibilityEventTypeViewTextChanged(CharSequence beforeText, in sendAccessibilityEventTypeViewTextChanged() argument
12820 event.setBeforeText(beforeText); in sendAccessibilityEventTypeViewTextChanged()
12824 void sendAccessibilityEventTypeViewTextChanged(CharSequence beforeText, in sendAccessibilityEventTypeViewTextChanged() argument
12830 event.setBeforeText(beforeText); in sendAccessibilityEventTypeViewTextChanged()
DEditor.java4178 CharSequence beforeText = sendAccessibilityEvent in updateSuggestions() local
4184 beforeText, spanUnionStart, spanUnionEnd); in updateSuggestions()