/frameworks/support/emoji/core/tests/java/android/support/text/emoji/widget/ |
H A D | EmojiInputConnectionTest.java | 83 when(mInputConnection.deleteSurroundingText(anyInt(), anyInt())).thenReturn(false); 101 assertFalse(mEmojiEmojiInputConnection.deleteSurroundingText(1, 0)); 102 verify(mInputConnection, times(1)).deleteSurroundingText(1, 0); 108 assertTrue(mEmojiEmojiInputConnection.deleteSurroundingText(1, 0)); 109 verify(mInputConnection, never()).deleteSurroundingText(anyInt(), anyInt()); 115 assertFalse(mEmojiEmojiInputConnection.deleteSurroundingText(1, 0)); 116 verify(mInputConnection, times(1)).deleteSurroundingText(1, 0); 122 assertTrue(mEmojiEmojiInputConnection.deleteSurroundingText(0, 1)); 123 verify(mInputConnection, never()).deleteSurroundingText(anyInt(), anyInt());
|
/frameworks/support/emoji/core/src/android/support/text/emoji/widget/ |
H A D | EmojiInputConnection.java | 54 public boolean deleteSurroundingText(final int beforeLength, final int afterLength) { method in class:EmojiInputConnection 57 return result || super.deleteSurroundingText(beforeLength, afterLength);
|
/frameworks/base/core/java/android/view/inputmethod/ |
H A D | InputConnectionWrapper.java | 125 public boolean deleteSurroundingText(int beforeLength, int afterLength) { method in class:InputConnectionWrapper 126 return mTarget.deleteSurroundingText(beforeLength, afterLength);
|
H A D | InputConnection.java | 372 public boolean deleteSurroundingText(int beforeLength, int afterLength); method in interface:InputConnection 375 * A variant of {@link #deleteSurroundingText(int, int)}. Major differences are: 384 * {@link #deleteSurroundingText(int, int)}, make sure to do nothing when one ore more invalid 387 * @see #deleteSurroundingText(int, int)
|
H A D | BaseInputConnection.java | 215 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 D | IInputContext.aidl | 43 void deleteSurroundingText(int beforeLength, int afterLength);
|
H A D | InputConnectionWrapper.java | 447 public boolean deleteSurroundingText(int beforeLength, int afterLength) { method in class:InputConnectionWrapper 449 mIInputContext.deleteSurroundingText(beforeLength, afterLength);
|
H A D | IInputConnectionWrapper.java | 182 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/tests/java/android/support/text/emoji/util/ |
H A D | KeyboardUtil.java | 95 public static void deleteSurroundingText(final Instrumentation instrumentation, method in class:KeyboardUtil 103 inputConnection.deleteSurroundingText(before, after);
|
/frameworks/support/emoji/core/tests/java/android/support/text/emoji/ |
H A D | EmojiKeyboardTest.java | 101 KeyboardUtil.deleteSurroundingText(mInstrumentation, inputConnection, 1, 0); 123 KeyboardUtil.deleteSurroundingText(mInstrumentation, inputConnection, 0, 1);
|
/frameworks/base/core/java/android/inputmethodservice/ |
H A D | InputMethodService.java | 1896 * deleteSurroundingText. If the cursor moves as a result, this method 2325 conn.deleteSurroundingText(0, end - start);
|
/frameworks/base/core/java/android/widget/ |
H A D | AbsListView.java | 5936 public boolean deleteSurroundingText(int beforeLength, int afterLength) { method in class:AbsListView.InputConnectionWrapper 5937 return getTarget().deleteSurroundingText(beforeLength, afterLength);
|