Searched refs:surroundingText (Results 1 – 7 of 7) sorted by relevance
/frameworks/base/core/tests/InputMethodCoreTests/src/android/view/inputmethod/ |
D | SurroundingTextTest.java | 61 SurroundingText surroundingText = new SurroundingText("text", 0, 1, 2); in testSurroundingTextWriteToParcel() local 63 surroundingText.writeToParcel(parcel, 0); in testSurroundingTextWriteToParcel() 68 assertThat(surroundingText.getText().toString()).isEqualTo("text"); in testSurroundingTextWriteToParcel() 69 assertThat(surroundingText.getSelectionStart()).isEqualTo(0); in testSurroundingTextWriteToParcel() 70 assertThat(surroundingText.getSelectionEnd()).isEqualTo(1); in testSurroundingTextWriteToParcel() 71 assertThat(surroundingText.getOffset()).isEqualTo(2); in testSurroundingTextWriteToParcel()
|
D | EditorInfoTest.java | 438 final SurroundingText surroundingText = editorInfo.getInitialSurroundingText( in assertExpectedTextLength() local 462 assertNull(surroundingText); in assertExpectedTextLength() 465 expectSurroundingText.getText(), surroundingText.getText())); in assertExpectedTextLength() 467 surroundingText.getSelectionStart()); in assertExpectedTextLength() 469 surroundingText.getSelectionEnd()); in assertExpectedTextLength() 470 assertEquals(expectSurroundingText.getOffset(), surroundingText.getOffset()); in assertExpectedTextLength()
|
/frameworks/base/core/java/android/view/inputmethod/ |
D | TextSnapshot.java | 50 public TextSnapshot(@NonNull SurroundingText surroundingText, in TextSnapshot() argument 53 Objects.requireNonNull(surroundingText); in TextSnapshot() 54 mSurroundingText = surroundingText; in TextSnapshot()
|
D | BaseInputConnection.java | 669 CharSequence surroundingText; in getSurroundingText() local 671 surroundingText = content.subSequence(startPos, endPos); in getSurroundingText() 673 surroundingText = TextUtils.substring(content, startPos, endPos); in getSurroundingText() 676 surroundingText, selStart - startPos, selEnd - startPos, startPos); in getSurroundingText() 1099 final SurroundingText surroundingText = getSurroundingText( in takeSnapshot() local 1102 if (surroundingText == null) { in takeSnapshot() 1109 return new TextSnapshot(surroundingText, composingStart, composingEnd, cursorCapsMode); in takeSnapshot()
|
D | InputConnection.java | 397 CharSequence surroundingText = in getSurroundingText() local 399 return new SurroundingText(surroundingText, textBeforeCursor.length(), in getSurroundingText()
|
D | EditorInfo.java | 833 public final void setInitialSurroundingTextInternal(@NonNull SurroundingText surroundingText) { in setInitialSurroundingTextInternal() argument 834 mInitialSurroundingText = surroundingText; in setInitialSurroundingTextInternal()
|
/frameworks/base/tools/aapt2/integration-tests/CommandTests/ |
D | android-33.jar | AndroidManifest.xml
META-INF/
META-INF/MANIFEST.MF
NOTICES/
NOTICES/libcore ... |