Home
last modified time | relevance | path

Searched refs:beforeLength (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
118 Preconditions.checkArgumentNonnegative(beforeLength); 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()
323 Preconditions.checkArgumentNonnegative(beforeLength); in getSurroundingText()
326 CharSequence textBeforeCursor = getTextBeforeCursor(beforeLength, 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
242 if (DEBUG) Log.v(TAG, "deleteSurroundingText " + beforeLength in deleteSurroundingText()
279 if (beforeLength > 0) { in deleteSurroundingText()
280 int start = a - beforeLength; in deleteSurroundingText()
411 public boolean deleteSurroundingTextInCodePoints(int beforeLength, int afterLength) { in deleteSurroundingTextInCodePoints() argument
412 if (DEBUG) Log.v(TAG, "deleteSurroundingText " + beforeLength in deleteSurroundingTextInCodePoints()
442 final int start = findIndexBackward(content, a, Math.max(beforeLength, 0)); in deleteSurroundingTextInCodePoints()
618 @IntRange(from = 0) int beforeLength, @IntRange(from = 0) int afterLength, int flags) { in getSurroundingText()
619 Preconditions.checkArgumentNonnegative(beforeLength); 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()
846 Preconditions.checkArgumentNonnegative(beforeLength); in getInitialSurroundingText()
862 int before = Math.min(beforeLength, selStart); 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
217 args.arg1 = beforeLength; 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()
448 int beforeLength = (int) args.arg1; in executeMessage() local
459 result = ic.getSurroundingText(beforeLength, afterLength, flags); in executeMessage()
462 icProto = InputConnectionHelper.buildGetSurroundingTextProto(beforeLength, in executeMessage()
/frameworks/base/core/java/android/util/imetracing/
DInputConnectionHelper.java150 int beforeLength, @IntRange(from = 0) int afterLength, int flags, in buildGetSurroundingTextProto()
154 proto.write(GetSurroundingText.BEFORE_LENGTH, beforeLength); 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()