Home
last modified time | relevance | path

Searched refs:replaceText (Results 1 – 23 of 23) sorted by relevance

/frameworks/base/core/tests/coretests/src/android/widget/
DTextViewActivityMouseTest.java38 import static androidx.test.espresso.action.ViewActions.replaceText;
85 onView(withId(R.id.textview)).perform(replaceText(helloWorld)); in testSelectTextByDrag()
99 onView(withId(R.id.textview)).perform(replaceText(helloWorld)); in testSelectTextByDrag_reverse()
110 onView(withId(R.id.textview)).perform(replaceText(text)); in testContextMenu()
178 onView(withId(R.id.textview)).perform(replaceText(text)); in testDragAndDrop()
194 onView(withId(R.id.textview)).perform(replaceText(text)); in testDragAndDrop_longClick()
210 onView(withId(R.id.textview)).perform(replaceText(helloWorld)); in testSelectTextByLongClick()
236 onView(withId(R.id.textview)).perform(replaceText(helloWorld)); in testSelectTextByDoubleClick()
261 onView(withId(R.id.textview)).perform(replaceText(text)); in testSelectTextByDoubleClickAndDrag()
272 onView(withId(R.id.textview)).perform(replaceText(text)); in testSelectTextByDoubleClickAndDrag_reverse()
[all …]
DSuggestionsPopupWindowTest.java32 import static androidx.test.espresso.action.ViewActions.replaceText;
94 onView(withId(R.id.textview)).perform(replaceText(text)); in testOnTextContextMenuItem()
112 onView(withId(R.id.textview)).perform(replaceText(text)); in testSelectionActionMode()
130 onView(withId(R.id.textview)).perform(replaceText(text)); in testInsertionActionMode()
157 onView(withId(R.id.textview)).perform(replaceText(text)); in testSuggestionItems()
195 onView(withId(R.id.textview)).perform(replaceText(text)); in testMisspelled()
222 onView(withId(R.id.textview)).perform(replaceText(text)); in testEasyCorrect()
289 onView(withId(R.id.textview)).perform(replaceText(text)); in testTextAppearanceInSuggestionsPopup()
362 onView(withId(R.id.textview)).perform(replaceText(text)); in testCursorVisibility()
387 onView(withId(R.id.textview)).perform(replaceText(text)); in testCursorVisibilityWhenImeConsumesInput()
DEditorCursorDragTest.java26 import static androidx.test.espresso.action.ViewActions.replaceText;
101 onView(withId(R.id.textview)).perform(replaceText(text)); in testCursorDrag_horizontal_whenTextViewContentsFitOnScreen()
119 onView(withId(R.id.textview)).perform(replaceText(text)); in testCursorDrag_horizontal_whenTextViewContentsLargerThanScreen()
140 onView(withId(R.id.textview)).perform(replaceText(text)); in testCursorDrag_diagonal_whenTextViewContentsFitOnScreen()
176 onView(withId(R.id.textview)).perform(replaceText(text)); in testCursorDrag_diagonal_whenTextViewContentsLargerThanScreen()
214 onView(withId(R.id.textview)).perform(replaceText(text)); in testCursorDrag_diagonal_thresholdConfig()
244 onView(withId(R.id.textview)).perform(replaceText(text)); in testCursorDrag_vertical_whenTextViewContentsFitOnScreen()
271 onView(withId(R.id.textview)).perform(replaceText(text)); in testCursorDrag_vertical_whenTextViewContentsLargerThanScreen()
288 onView(withId(R.id.textview)).perform(replaceText(text)); in testEditor_onTouchEvent_quickTapAfterDrag()
343 onView(withId(R.id.textview)).perform(replaceText(text)); in testEditor_onTouchEvent_mouseDrag()
[all …]
DTextViewActivityTest.java42 import static androidx.test.espresso.action.ViewActions.replaceText;
1272 onView(withId(R.id.textview)).perform(replaceText(text)); in setText()
/frameworks/base/core/tests/InputMethodCoreTests/src/android/view/inputmethod/
DBaseInputConnectionTest.java671 assertThat(mBaseInputConnection.replaceText(0, 0, "text1", 1, null)).isTrue(); in testReplaceText_toEditorWithoutSelectionAndComposing()
676 assertThat(mBaseInputConnection.replaceText(0, 5, "text2", 1, null)).isTrue(); in testReplaceText_toEditorWithoutSelectionAndComposing()
681 assertThat(mBaseInputConnection.replaceText(0, 5, "text3", -1, null)).isTrue(); in testReplaceText_toEditorWithoutSelectionAndComposing()
687 assertThat(mBaseInputConnection.replaceText(1, 3, "text4", 1, null)).isTrue(); in testReplaceText_toEditorWithoutSelectionAndComposing()
692 assertThat(mBaseInputConnection.replaceText(0, 6, "text5", -1, null)).isTrue(); in testReplaceText_toEditorWithoutSelectionAndComposing()
701 assertThat(mBaseInputConnection.replaceText(3, 5, "text", 1, null)).isTrue(); in testReplaceText_toEditorWithSelection()
707 assertThat(mBaseInputConnection.replaceText(0, 1, "text", 0, null)).isTrue(); in testReplaceText_toEditorWithSelection()
717 assertThat(mBaseInputConnection.replaceText(6, 9, "text", 1, null)).isTrue(); in testReplaceText_toEditorWithComposing()
724 assertThat(mBaseInputConnection.replaceText(0, 0, "text", 1, null)).isTrue(); in testReplaceText_toEditorWithComposing()
731 assertThat(mBaseInputConnection.replaceText(2, 8, "text", 1, null)).isTrue(); in testReplaceText_toEditorWithComposing()
/frameworks/base/core/java/android/view/inputmethod/
DInputConnectionWrapper.java449 public boolean replaceText( in replaceText() method in InputConnectionWrapper
455 return mTarget.replaceText(start, end, text, newCursorPosition, textAttribute); in replaceText()
DBaseInputConnection.java241 replaceText(text, newCursorPosition, false); in commitText()
743 replaceText(text, newCursorPosition, true); in setComposingText()
894 public boolean replaceText( in replaceText() method in BaseInputConnection
929 private void replaceText(CharSequence text, int newCursorPosition, boolean composing) { in replaceText() method in BaseInputConnection
DInputConnection.java1450 default boolean replaceText( in replaceText() method
DRemoteInputConnectionImpl.java1210 public void replaceText( in replaceText() method in RemoteInputConnectionImpl
1228 ic.replaceText(start, end, text, newCursorPosition, textAttribute); in replaceText()
/frameworks/base/core/java/android/inputmethodservice/
DExtractEditText.java108 if (id == android.R.id.selectAll || id == android.R.id.replaceText) { in onTextContextMenuItem()
DRemoteInputConnection.java526 public boolean replaceText( in replaceText() method in RemoteInputConnection
532 return mInvoker.replaceText(start, end, text, newCursorPosition, textAttribute); in replaceText()
DIRemoteInputConnectionInvoker.java888 public boolean replaceText( in replaceText() method in IRemoteInputConnectionInvoker
895 mConnection.replaceText( in replaceText()
/frameworks/base/core/java/android/widget/
DMultiAutoCompleteTextView.java190 protected void replaceText(CharSequence text) { in replaceText() method in MultiAutoCompleteTextView
DAutoCompleteTextView.java1075 replaceText(convertSelectionToString(selectedItem)); in performCompletion()
1126 protected void replaceText(CharSequence text) { in replaceText() method in AutoCompleteTextView
DSearchView.java1995 protected void replaceText(CharSequence text) { in replaceText() method in SearchView.SearchAutoComplete
DTextView.java14978 static final int ID_REPLACE = android.R.id.replaceText;
/frameworks/base/core/java/com/android/internal/inputmethod/
DIRemoteInputConnection.aidl126 void replaceText(in InputConnectionCommandHeader header, int start, int end, CharSequence text, in replaceText() method
/frameworks/opt/chips/src/com/android/ex/chips/
DRecipientEditTextView.java1577 protected void replaceText(CharSequence text) { in replaceText() method in RecipientEditTextView
/frameworks/base/core/api/
Dcurrent.txt2429 field public static final int replaceText = 16908340; // 0x1020034
55904 …method public boolean replaceText(@IntRange(from=0) int, @IntRange(from=0) int, @NonNull CharSeque…
56217 …method public default boolean replaceText(@IntRange(from=0) int, @IntRange(from=0) int, @NonNull C…
56275 …method public boolean replaceText(@IntRange(from=0) int, @IntRange(from=0) int, @NonNull CharSeque…
58832 method protected void replaceText(CharSequence);
/frameworks/base/boot/
Dboot-image-profile.txt18957 HSPLandroid/view/inputmethod/BaseInputConnection;->replaceText(Ljava/lang/CharSequence;IZ)V
/frameworks/base/boot/hiddenapi/
Dhiddenapi-max-target-o.txt59726 Landroid/view/inputmethod/BaseInputConnection;->replaceText(Ljava/lang/CharSequence;IZ)V
77372 Lcom/android/internal/R$id;->replaceText:I
/frameworks/opt/setupwizard/tools/docs/
Dandroid-22.txt36986 method protected void replaceText(java.lang.CharSequence);
/frameworks/base/config/
Dboot-image-profile.txt19021 HSPLandroid/view/inputmethod/BaseInputConnection;->replaceText(Ljava/lang/CharSequence;IZ)V