Searched refs:deleteSurroundingText (Results 1 - 13 of 13) sorted by relevance

/frameworks/support/emoji/core/src/androidTest/java/androidx/emoji/widget/
H A DEmojiInputConnectionTest.java81 when(mInputConnection.deleteSurroundingText(anyInt(), anyInt())).thenReturn(false);
98 assertFalse(mEmojiEmojiInputConnection.deleteSurroundingText(1, 0));
99 verify(mInputConnection, times(1)).deleteSurroundingText(1, 0);
105 assertTrue(mEmojiEmojiInputConnection.deleteSurroundingText(1, 0));
106 verify(mInputConnection, never()).deleteSurroundingText(anyInt(), anyInt());
112 assertFalse(mEmojiEmojiInputConnection.deleteSurroundingText(1, 0));
113 verify(mInputConnection, times(1)).deleteSurroundingText(1, 0);
119 assertTrue(mEmojiEmojiInputConnection.deleteSurroundingText(0, 1));
120 verify(mInputConnection, never()).deleteSurroundingText(anyInt(), anyInt());
/frameworks/support/emoji/core/src/main/java/androidx/emoji/widget/
H A DEmojiInputConnection.java55 public boolean deleteSurroundingText(final int beforeLength, final int afterLength) { method in class:EmojiInputConnection
58 return result || super.deleteSurroundingText(beforeLength, afterLength);
/frameworks/base/core/java/android/view/inputmethod/
H A DInputConnection.java371 boolean deleteSurroundingText(int beforeLength, int afterLength); method in interface:InputConnection
374 * A variant of {@link #deleteSurroundingText(int, int)}. Major differences are:
383 * {@link #deleteSurroundingText(int, int)}, make sure to do nothing when one ore more invalid
386 * @see #deleteSurroundingText(int, int)
H A DInputConnectionWrapper.java132 public boolean deleteSurroundingText(int beforeLength, int afterLength) { method in class:InputConnectionWrapper
133 return mTarget.deleteSurroundingText(beforeLength, afterLength);
H A DBaseInputConnection.java215 public boolean deleteSurroundingText(int beforeLength, int afterLength) { method in class:BaseInputConnection
216 if (DEBUG) Log.v(TAG, "deleteSurroundingText " + beforeLength
373 if (DEBUG) Log.v(TAG, "deleteSurroundingText " + beforeLength
/frameworks/base/core/java/com/android/internal/view/
H A DIInputContext.aidl43 void deleteSurroundingText(int beforeLength, int afterLength);
H A DInputConnectionWrapper.java509 public boolean deleteSurroundingText(int beforeLength, int afterLength) { method in class:InputConnectionWrapper
511 mIInputContext.deleteSurroundingText(beforeLength, afterLength);
H A DIInputConnectionWrapper.java182 public void deleteSurroundingText(int beforeLength, int afterLength) { method in class:IInputConnectionWrapper
452 Log.w(TAG, "deleteSurroundingText on inactive InputConnection");
455 ic.deleteSurroundingText(msg.arg1, msg.arg2);
/frameworks/support/emoji/core/src/androidTest/java/androidx/emoji/util/
H A DKeyboardUtil.java95 public static void deleteSurroundingText(final Instrumentation instrumentation, method in class:KeyboardUtil
103 inputConnection.deleteSurroundingText(before, after);
/frameworks/support/emoji/core/src/androidTest/java/androidx/emoji/text/
H A DEmojiKeyboardTest.java102 KeyboardUtil.deleteSurroundingText(mInstrumentation, inputConnection, 1, 0);
124 KeyboardUtil.deleteSurroundingText(mInstrumentation, inputConnection, 0, 1);
/frameworks/base/core/java/android/inputmethodservice/
H A DInputMethodService.java2073 * deleteSurroundingText. If the cursor moves as a result, this method
2515 conn.deleteSurroundingText(0, end - start);
/frameworks/base/core/java/android/widget/
H A DAbsListView.java5950 public boolean deleteSurroundingText(int beforeLength, int afterLength) { method in class:AbsListView.InputConnectionWrapper
5951 return getTarget().deleteSurroundingText(beforeLength, afterLength);
/frameworks/base/config/
H A Dboot-image-profile.txt7009 HPLandroid/view/inputmethod/BaseInputConnection;->deleteSurroundingText(II)Z
7021 HPLandroid/view/inputmethod/InputConnectionWrapper;->deleteSurroundingText(II)Z
10288 HPLcom/android/internal/view/IInputConnectionWrapper;->deleteSurroundingText(II)V
10297 HPLcom/android/internal/view/IInputContext$Stub$Proxy;->deleteSurroundingText(II)V
10350 HPLcom/android/internal/view/InputConnectionWrapper;->deleteSurroundingText(II)Z
[all...]

Completed in 859 milliseconds