/frameworks/base/core/tests/coretests/src/android/view/inputmethod/ |
D | SurroundingTextTest.java | 36 SurroundingText surroundingText1 = new SurroundingText("test", 0, 0, 0); in testSurroundingTextBasicCreation() 42 SurroundingText surroundingText2 = new SurroundingText("", -1, -1, -1); in testSurroundingTextBasicCreation() 48 SurroundingText surroundingText3 = new SurroundingText("hello", 0, 5, 0); in testSurroundingTextBasicCreation() 57 SurroundingText surroundingText = new SurroundingText("text", 0, 1, 2); in testSurroundingTextWriteToParcel() 62 SurroundingText surroundingTextFromParcel = in testSurroundingTextWriteToParcel() 63 SurroundingText.CREATOR.createFromParcel(parcel); in testSurroundingTextWriteToParcel()
|
D | EditorInfoTest.java | 112 final SurroundingText expectedSurroundingText = in setInitialText_cursorAtHead_dividesByCursorPosition() 113 new SurroundingText(testText, editorInfo.initialSelStart, in setInitialText_cursorAtHead_dividesByCursorPosition() 132 final SurroundingText expectedSurroundingText = in setInitialText_cursorAtTail_dividesByCursorPosition() 133 new SurroundingText(testText, editorInfo.initialSelStart, in setInitialText_cursorAtTail_dividesByCursorPosition() 151 final SurroundingText expectedSurroundingText = in setInitialText_cursorAtMiddle_dividesByCursorPosition() 152 new SurroundingText(testText, editorInfo.initialSelStart, in setInitialText_cursorAtMiddle_dividesByCursorPosition() 171 final SurroundingText expectedSurroundingText = in setInitialText_incorrectCursorOrder_correctsThenDivide() 172 new SurroundingText(testText, in setInitialText_incorrectCursorOrder_correctsThenDivide() 215 final SurroundingText expectedSurroundingText = in setOverSizeInitialText_cursorAtMiddle_dividesProportionately() 216 new SurroundingText(TextUtils.concat(beforeCursor, selectedText, afterCursor), in setOverSizeInitialText_cursorAtMiddle_dividesProportionately() [all …]
|
/frameworks/base/core/java/android/view/inputmethod/ |
D | SurroundingText.java | 31 public final class SurroundingText implements Parcelable { class 75 public SurroundingText(@NonNull final CharSequence text, in SurroundingText() method in SurroundingText 141 public static final Parcelable.Creator<SurroundingText> CREATOR = 142 new Parcelable.Creator<SurroundingText>() { 144 public SurroundingText createFromParcel(Parcel in) { 150 return new SurroundingText( 155 public SurroundingText[] newArray(int size) { 156 return new SurroundingText[size];
|
D | SurroundingText.aidl | 19 parcelable SurroundingText;
|
D | EditorInfo.java | 567 private SurroundingText mInitialSurroundingText = null; 631 mInitialSurroundingText = new SurroundingText(subText, subTextSelStart, in setInitialSurroundingSubText() 709 mInitialSurroundingText = new SurroundingText( in trimLongSurroundingText() 843 public SurroundingText getInitialSurroundingText( in getInitialSurroundingText() 869 return new SurroundingText(newText, before, newSelEnd, in getInitialSurroundingText() 1040 SurroundingText.CREATOR.createFromParcel(source);
|
D | InputConnection.java | 320 default SurroundingText getSurroundingText( in getSurroundingText() 340 return new SurroundingText(surroundingText, textBeforeCursor.length(), in getSurroundingText()
|
D | InputConnectionWrapper.java | 117 public SurroundingText getSurroundingText(int beforeLength, int afterLength, int flags) { in getSurroundingText()
|
D | BaseInputConnection.java | 617 public SurroundingText getSurroundingText( in getSurroundingText() 658 return new SurroundingText( in getSurroundingText()
|
/frameworks/base/core/java/android/util/imetracing/ |
D | InputConnectionHelper.java | 39 import android.view.inputmethod.SurroundingText; 151 @Nullable SurroundingText result) { in buildGetSurroundingTextProto() 159 proto.write(GetSurroundingText.SurroundingText.TEXT, "null result"); in buildGetSurroundingTextProto() 163 proto.write(GetSurroundingText.SurroundingText.TEXT, result.getText().toString()); in buildGetSurroundingTextProto() 164 proto.write(GetSurroundingText.SurroundingText.SELECTION_START, in buildGetSurroundingTextProto() 166 proto.write(GetSurroundingText.SurroundingText.SELECTION_END, in buildGetSurroundingTextProto() 168 proto.write(GetSurroundingText.SurroundingText.OFFSET, result.getOffset()); in buildGetSurroundingTextProto()
|
/frameworks/base/core/java/com/android/internal/inputmethod/ |
D | ISurroundingTextResultCallback.aidl | 19 import android.view.inputmethod.SurroundingText; 22 void onResult(in SurroundingText result); in onResult()
|
D | Completable.java | 414 public static Completable.SurroundingText createSurroundingText() { in createSurroundingText() 415 return new Completable.SurroundingText(); in createSurroundingText() 479 public static final class SurroundingText class in Completable 480 extends Values<android.view.inputmethod.SurroundingText> { }
|
D | ResultCallbacks.java | 156 @NonNull Completable.SurroundingText value) { 157 final AtomicReference<WeakReference<Completable.SurroundingText>> 163 public void onResult(android.view.inputmethod.SurroundingText result) { 164 final Completable.SurroundingText value = unwrap(atomicRef);
|
/frameworks/base/core/java/com/android/internal/view/ |
D | InputConnectionWrapper.java | 39 import android.view.inputmethod.SurroundingText; 180 public SurroundingText getSurroundingText( in getSurroundingText() 190 final Completable.SurroundingText value = Completable.createSurroundingText(); in getSurroundingText() 197 SurroundingText result = Completable.getResultOrNull( in getSurroundingText()
|
D | IInputConnectionWrapper.java | 45 import android.view.inputmethod.SurroundingText; 454 final SurroundingText result; in executeMessage()
|
/frameworks/base/core/proto/android/view/inputmethod/ |
D | inputconnection.proto | 71 optional SurroundingText result = 4; 73 message SurroundingText { message
|
/frameworks/base/core/java/android/widget/ |
D | AbsListView.java | 85 import android.view.inputmethod.SurroundingText; 6080 public SurroundingText getSurroundingText(int beforeLength, int afterLength, int flags) { in getSurroundingText()
|
/frameworks/base/boot/ |
D | boot-image-profile.txt | 19403 …ditorInfo;+]Landroid/os/Parcelable$Creator;Landroid/view/inputmethod/SurroundingText$1;,Landroid/o… 19408 …l;Landroid/os/Parcel;]Landroid/view/inputmethod/SurroundingText;Landroid/view/inputmethod/Surround… 19514 HSPLandroid/view/inputmethod/SurroundingText$1;-><init>()V 19515 HSPLandroid/view/inputmethod/SurroundingText;-><clinit>()V 19516 HSPLandroid/view/inputmethod/SurroundingText;-><init>(Ljava/lang/CharSequence;III)V 19517 HSPLandroid/view/inputmethod/SurroundingText;->copyWithParcelableSpans(Ljava/lang/CharSequence;)Lja… 19518 HSPLandroid/view/inputmethod/SurroundingText;->writeToParcel(Landroid/os/Parcel;I)V 31742 Landroid/view/inputmethod/SurroundingText$1; 31743 Landroid/view/inputmethod/SurroundingText;
|
/frameworks/base/config/ |
D | boot-image-profile.txt | 19451 …ditorInfo;+]Landroid/os/Parcelable$Creator;Landroid/view/inputmethod/SurroundingText$1;,Landroid/o… 19456 …l;Landroid/os/Parcel;]Landroid/view/inputmethod/SurroundingText;Landroid/view/inputmethod/Surround… 19562 HSPLandroid/view/inputmethod/SurroundingText$1;-><init>()V 19563 HSPLandroid/view/inputmethod/SurroundingText;-><clinit>()V 19564 HSPLandroid/view/inputmethod/SurroundingText;-><init>(Ljava/lang/CharSequence;III)V 19565 HSPLandroid/view/inputmethod/SurroundingText;->copyWithParcelableSpans(Ljava/lang/CharSequence;)Lja… 19566 HSPLandroid/view/inputmethod/SurroundingText;->writeToParcel(Landroid/os/Parcel;I)V 41406 Landroid/view/inputmethod/SurroundingText$1; 41407 Landroid/view/inputmethod/SurroundingText;
|
/frameworks/base/core/api/ |
D | current.txt | 51739 …method @Nullable public android.view.inputmethod.SurroundingText getInitialSurroundingText(@IntRan… 51893 …method @Nullable public default android.view.inputmethod.SurroundingText getSurroundingText(@IntRa… 52108 public final class SurroundingText implements android.os.Parcelable { 52109 …ctor public SurroundingText(@NonNull CharSequence, @IntRange(from=0) int, @IntRange(from=0) int, @… 52116 …ublic static final android.os.Parcelable.Creator<android.view.inputmethod.SurroundingText> CREATOR;
|