Home
last modified time | relevance | path

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

/frameworks/base/core/java/android/view/inputmethod/
DCorrectionInfo.java37 public CorrectionInfo(int offset, CharSequence oldText, CharSequence newText) { in CorrectionInfo() argument
39 mOldText = oldText; in CorrectionInfo()
/frameworks/data-binding/integration-tests/TestApp/app/src/main/java/android/databinding/testapp/adapter/
DInstanceAdapter.java41 public void setInstanceAttr3(TextView view, String oldText, String text) { in setInstanceAttr3() argument
42 view.setText(String.format(format, oldText, text, "foo", "bar")); in setInstanceAttr3()
/frameworks/base/core/tests/coretests/src/android/widget/
DTextViewTest.java40 CharSequence oldText = tv.getText(); in testArray() local
45 assertTrue(newText == oldText); in testArray()
/frameworks/base/core/java/android/widget/
DSwitch.java1401 CharSequence oldText = structure.getText(); in onProvideStructure() local
1402 if (TextUtils.isEmpty(oldText)) { in onProvideStructure()
1406 newText.append(oldText).append(' ').append(switchText); in onProvideStructure()
1421 CharSequence oldText = info.getText(); in onInitializeAccessibilityNodeInfoInternal() local
1422 if (TextUtils.isEmpty(oldText)) { in onInitializeAccessibilityNodeInfoInternal()
1426 newText.append(oldText).append(' ').append(switchText); in onInitializeAccessibilityNodeInfoInternal()
DEditor.java5209 String oldText = TextUtils.substring(dest, dstart, dend);
5210 EditOperation edit = new EditOperation(mEditor, oldText, dstart, newText);
5320 public EditOperation(Editor editor, String oldText, int dstart, String newText) {
5322 mOldText = oldText;
/frameworks/support/v7/appcompat/src/android/support/v7/widget/
DSwitchCompat.java1126 CharSequence oldText = info.getText(); in onInitializeAccessibilityNodeInfo() local
1127 if (TextUtils.isEmpty(oldText)) { in onInitializeAccessibilityNodeInfo()
1131 newText.append(oldText).append(' ').append(switchText); in onInitializeAccessibilityNodeInfo()