/cts/tests/inputmethod/util/src/android/view/inputmethod/cts/util/ |
D | InputConnectionTestUtils.java | 103 public static BaseInputConnection createBaseInputConnection(@NonNull Editable editable) { in createBaseInputConnection() argument 108 return editable; in createBaseInputConnection() 124 final Editable editable = Editable.Factory.getInstance().newEditable(source); 125 Selection.setSelection(editable, selectionStart, selectionEnd); 126 return createBaseInputConnection(editable);
|
/cts/tests/inputmethod/src/android/view/inputmethod/cts/ |
D | InputMethodStartInputLifecycleTest.java | 323 TestInputConnection(@NonNull View view, @NonNull Editable editable) { in TestInputConnection() argument 325 mEditable = editable; in TestInputConnection() 375 expectNativeInvalidateInput((view, editable) -> new TestInputConnection(view, editable) { in testInvalidateInput() 391 expectNativeInvalidateInput((view, editable) -> new TestInputConnection(view, editable) { in testInvalidateInputOnInputConnectionWithBatchEdit() 412 expectFallbackInvalidateInput((view, editable) -> new TestInputConnection(view, editable) { in testInvalidateInputFallback() 431 expectNativeInvalidateInput((view, editable) -> new TestInputConnection(view, editable) { in testInvalidateInputOnInputConnectionWithBrokenBatchEdit() 455 expectFallbackInvalidateInput((view, editable) -> new TestInputConnection(view, editable) { in testInvalidateInputFallbackOnInputConnectionWithBrokenBatchEdit() 495 MyTestEditor(Context context, @NonNull Editable editable) { in testInvalidateInputMain() argument 497 mEditable = editable; in testInvalidateInputMain() 524 final Editable editable = in testInvalidateInputMain() [all …]
|
D | AccessibilityInputMethodTest.java | 376 TestInputConnection(@NonNull View view, @NonNull Editable editable) { in TestInputConnection() argument 378 mEditable = editable; in TestInputConnection() 407 MyTestEditor(Context context, @NonNull Editable editable) { in testInvalidateInputMain() argument 409 mEditable = editable; in testInvalidateInputMain() 439 final var editable = Editable.Factory.getInstance().newEditable("0123456789"); in testInvalidateInputMain() 440 Selection.setSelection(editable, initialSelStart, initialSelEnd); in testInvalidateInputMain() 442 final var editor = new MyTestEditor(activity, editable); in testInvalidateInputMain() 539 testInvalidateInputMain((view, editable) -> new TestInputConnection(view, editable) { in testInvalidateInput() 555 testInvalidateInputMain((view, editable) -> new TestInputConnection(view, editable) { in testInvalidateInputFallback()
|
D | BaseInputConnectionTest.java | 439 Editable editable = connection.getEditable(); in testGetSelectedText_wrongSelection() local 440 editable.append("hello"); in testGetSelectedText_wrongSelection() 441 editable.setSpan(Selection.SELECTION_START, 4, 4, Spanned.SPAN_POINT_POINT); in testGetSelectedText_wrongSelection() 442 editable.removeSpan(Selection.SELECTION_END); in testGetSelectedText_wrongSelection() 607 final Editable editable = connection.getEditable(); in verifyTextSnapshot() local 611 assertThat(snapshot.getSelectionStart()).isEqualTo(Selection.getSelectionStart(editable)); in verifyTextSnapshot() 612 assertThat(snapshot.getSelectionEnd()).isEqualTo(Selection.getSelectionEnd(editable)); in verifyTextSnapshot() 614 .isEqualTo(BaseInputConnection.getComposingSpanStart(editable)); in verifyTextSnapshot() 616 .isEqualTo(BaseInputConnection.getComposingSpanEnd(editable)); in verifyTextSnapshot()
|
D | SpellCheckerTest.kt | 703 val editable = editText.text in <lambda>() constant 704 val spans = editable.getSpans(0, editable.length, SuggestionSpan::class.java) in <lambda>()
|
/cts/apps/CtsVerifier/src/com/android/cts/verifier/wifi/ |
D | BaseTestActivity.java | 83 public void afterTextChanged(Editable editable) { in onCreate() 84 mSsidValue = editable.toString(); in onCreate() 96 public void afterTextChanged(Editable editable) { in onCreate() 97 mPskValue = editable.toString(); in onCreate()
|
/cts/tests/autofillservice/src/android/autofillservice/cts/activities/ |
D | VirtualContainerView.java | 236 if (item.editable) { in onProvideAutofillVirtualStructure() 550 private final boolean editable; field in VirtualContainerView.Item 555 public Item(Line line, int id, String resourceId, CharSequence text, boolean editable, in Item() argument 561 this.editable = editable; in Item() 563 this.className = editable ? TEXT_CLASS : LABEL_CLASS; in Item() 571 node.setEditable(editable); in provideAccessibilityNodeInfo() 587 if (!editable) { in autofill() 600 return id + "/" + resourceId + ": " + text + (editable ? " (editable)" : " (read-only)" in toString()
|
/cts/apps/CtsVerifier/src/com/android/cts/verifier/net/ |
D | MultiNetworkConnectivityTestActivity.java | 344 public void afterTextChanged(Editable editable) { in setupUserInterface() 345 mAccessPointSsid = editable.toString(); in setupUserInterface() 358 public void afterTextChanged(Editable editable) { in setupUserInterface() 359 mPskValue = editable.toString(); in setupUserInterface()
|
/cts/tests/contentcaptureservice/src/android/contentcaptureservice/cts/ |
D | LoginActivityTest.java | 650 Editable editable = editText.getText(); in appendText() local 651 String s = editable.toString() + text; in appendText() 656 BaseInputConnection.removeComposingSpans(editable); in appendText() 658 editable.replace(0, editable.length() , newEditable); in appendText()
|
/cts/tests/pdf/module/src/android/graphics/pdf/cts/module/ |
D | PdfFormFillingTest.java | 441 FormWidgetInfo editable = makeCombobox( in getFormWidgetInfo_noFiltering() local 452 Arrays.asList(editable, combo1, readOnly)); in getFormWidgetInfo_noFiltering()
|
D | PdfFormFillingPreVTest.java | 440 FormWidgetInfo editable = makeCombobox( in getFormWidgetInfo_noFiltering() local 451 Arrays.asList(editable, combo1, readOnly)); in getFormWidgetInfo_noFiltering()
|
/cts/tests/tests/text/src/android/text/cts/ |
D | StaticLayoutTest.java | 609 Editable editable = Editable.Factory.getInstance().newEditable("123\t\n555"); in testImmutableStaticLayout() local 610 StaticLayout layout = new StaticLayout(editable, mDefaultPaint, in testImmutableStaticLayout() 617 editable.delete(0, editable.length() - 1); in testImmutableStaticLayout()
|
/cts/tests/tests/widget/src/android/widget/cts/ |
D | TextViewTest.java | 5977 final Editable editable = mTextView.getEditableText(); in testSetExtractedText() local 5979 0, editable.length(), UnderlineSpan.class); in testSetExtractedText() 5981 assertEquals(1, editable.getSpanStart(underlineSpans[0])); in testSetExtractedText() 5982 assertEquals(3, editable.getSpanEnd(underlineSpans[0])); in testSetExtractedText() 5985 0, editable.length(), URLSpan.class); in testSetExtractedText() 5987 assertEquals(2, editable.getSpanStart(urlSpans[0])); in testSetExtractedText() 5988 assertEquals(3, editable.getSpanEnd(urlSpans[0])); in testSetExtractedText() 9130 Editable editable = (Editable) mTextView.getText(); in testDynamicLayoutReflowCrash_b75652829() local 9133 editable.replace(5, 5, ssb); in testDynamicLayoutReflowCrash_b75652829()
|
/cts/common/device-side/bedstead/remoteframeworkclasses/java/apis/ |
D | current.txt | 757 field @Deprecated public static final int editable = 16843115; // 0x101016b
|