Home
last modified time | relevance | path

Searched refs:afterLength (Results 1 – 9 of 9) sorted by relevance

/frameworks/base/core/java/android/view/inputmethod/
DInputConnectionWrapper.java117 public SurroundingText getSurroundingText(int beforeLength, int afterLength, int flags) { in getSurroundingText() argument
119 Preconditions.checkArgumentNonnegative(afterLength); in getSurroundingText()
120 return mTarget.getSurroundingText(beforeLength, afterLength, flags); in getSurroundingText()
146 public boolean deleteSurroundingTextInCodePoints(int beforeLength, int afterLength) { in deleteSurroundingTextInCodePoints() argument
147 return mTarget.deleteSurroundingTextInCodePoints(beforeLength, afterLength); in deleteSurroundingTextInCodePoints()
155 public boolean deleteSurroundingText(int beforeLength, int afterLength) { in deleteSurroundingText() argument
156 return mTarget.deleteSurroundingText(beforeLength, afterLength); in deleteSurroundingText()
DInputConnection.java321 @IntRange(from = 0) int beforeLength, @IntRange(from = 0) int afterLength, in getSurroundingText()
324 Preconditions.checkArgumentNonnegative(afterLength); in getSurroundingText()
330 CharSequence textAfterCursor = getTextAfterCursor(afterLength, flags); in getSurroundingText()
461 boolean deleteSurroundingText(int beforeLength, int afterLength); in deleteSurroundingText() argument
489 boolean deleteSurroundingTextInCodePoints(int beforeLength, int afterLength); in deleteSurroundingTextInCodePoints() argument
DBaseInputConnection.java241 public boolean deleteSurroundingText(int beforeLength, int afterLength) { in deleteSurroundingText() argument
243 + " / " + afterLength); in deleteSurroundingText()
290 if (afterLength > 0) { in deleteSurroundingText()
293 int end = b + afterLength; in deleteSurroundingText()
411 public boolean deleteSurroundingTextInCodePoints(int beforeLength, int afterLength) { in deleteSurroundingTextInCodePoints() argument
413 + " / " + afterLength); in deleteSurroundingTextInCodePoints()
444 final int end = findIndexForward(content, b, Math.max(afterLength, 0)); in deleteSurroundingTextInCodePoints()
618 @IntRange(from = 0) int beforeLength, @IntRange(from = 0) int afterLength, int flags) { in getSurroundingText()
620 Preconditions.checkArgumentNonnegative(afterLength); in getSurroundingText()
627 return InputConnection.super.getSurroundingText(beforeLength, afterLength, flags); in getSurroundingText()
[all …]
DEditorInfo.java844 @IntRange(from = 0) int beforeLength, @IntRange(from = 0) int afterLength, in getInitialSurroundingText()
847 Preconditions.checkArgumentNonnegative(afterLength); in getInitialSurroundingText()
863 int after = Math.min(selEnd + afterLength, length); in getInitialSurroundingText()
/frameworks/base/core/java/com/android/internal/view/
DIInputContext.aidl46 void deleteSurroundingText(int beforeLength, int afterLength); in deleteSurroundingText() argument
47 void deleteSurroundingTextInCodePoints(int beforeLength, int afterLength); in deleteSurroundingTextInCodePoints() argument
86 void getSurroundingText(int beforeLength, int afterLength, int flags, in getSurroundingText() argument
DInputConnectionWrapper.java181 @IntRange(from = 0) int beforeLength, @IntRange(from = 0) int afterLength, int flags) { in getSurroundingText()
182 if (beforeLength < 0 || afterLength < 0 || mCancellationGroup.isCanceled()) { in getSurroundingText()
192 mIInputContext.getSurroundingText(beforeLength, afterLength, flags, in getSurroundingText()
203 beforeLength, afterLength, flags, result); in getSurroundingText()
415 public boolean deleteSurroundingText(int beforeLength, int afterLength) { in deleteSurroundingText() argument
417 mIInputContext.deleteSurroundingText(beforeLength, afterLength); in deleteSurroundingText()
425 public boolean deleteSurroundingTextInCodePoints(int beforeLength, int afterLength) { in deleteSurroundingTextInCodePoints() argument
431 mIInputContext.deleteSurroundingTextInCodePoints(beforeLength, afterLength); in deleteSurroundingTextInCodePoints()
DIInputConnectionWrapper.java214 public void getSurroundingText(int beforeLength, int afterLength, int flags, in getSurroundingText() argument
218 args.arg2 = afterLength; in getSurroundingText()
281 public void deleteSurroundingText(int beforeLength, int afterLength) { in deleteSurroundingText() argument
283 beforeLength, afterLength)); in deleteSurroundingText()
286 public void deleteSurroundingTextInCodePoints(int beforeLength, int afterLength) { in deleteSurroundingTextInCodePoints() argument
288 beforeLength, afterLength)); in deleteSurroundingTextInCodePoints()
449 int afterLength = (int) args.arg2; in executeMessage() local
459 result = ic.getSurroundingText(beforeLength, afterLength, flags); in executeMessage()
463 afterLength, flags, result); in executeMessage()
/frameworks/base/core/java/android/util/imetracing/
DInputConnectionHelper.java150 int beforeLength, @IntRange(from = 0) int afterLength, int flags, in buildGetSurroundingTextProto()
155 proto.write(GetSurroundingText.AFTER_LENGTH, afterLength); in buildGetSurroundingTextProto()
/frameworks/base/core/java/android/widget/
DAbsListView.java6080 public SurroundingText getSurroundingText(int beforeLength, int afterLength, int flags) { in getSurroundingText() argument
6082 return mTarget.getSurroundingText(beforeLength, afterLength, flags); in getSurroundingText()
6097 public boolean deleteSurroundingText(int beforeLength, int afterLength) { in deleteSurroundingText() argument
6098 return getTarget().deleteSurroundingText(beforeLength, afterLength); in deleteSurroundingText()
6102 public boolean deleteSurroundingTextInCodePoints(int beforeLength, int afterLength) { in deleteSurroundingTextInCodePoints() argument
6103 return getTarget().deleteSurroundingTextInCodePoints(beforeLength, afterLength); in deleteSurroundingTextInCodePoints()