Home
last modified time | relevance | path

Searched refs:editable (Results 1 – 5 of 5) sorted by relevance

/cts/tests/inputmethod/src/android/view/inputmethod/cts/
DBaseInputConnectionTest.java199 final Editable editable = Editable.Factory.getInstance().newEditable(source); in createConnectionWithSelection() local
200 Selection.setSelection(editable, selectionStart, selectionEnd); in createConnectionWithSelection()
205 return editable; in createConnectionWithSelection()
458 Editable editable = connection.getEditable();
459 editable.append("hello");
460 editable.setSpan(Selection.SELECTION_START, 4, 4, Spanned.SPAN_POINT_POINT);
461 editable.removeSpan(Selection.SELECTION_END);
/cts/tests/autofillservice/src/android/autofillservice/cts/
DVirtualContainerView.java236 if (item.editable) { in onProvideAutofillVirtualStructure()
550 private final boolean editable; field in VirtualContainerView.Item
555 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/
DMultiNetworkConnectivityTestActivity.java279 public void afterTextChanged(Editable editable) { in setupUserInterface()
280 mAccessPointSsid = editable.toString(); in setupUserInterface()
293 public void afterTextChanged(Editable editable) { in setupUserInterface()
294 mPskValue = editable.toString(); in setupUserInterface()
/cts/tests/tests/text/src/android/text/cts/
DStaticLayoutTest.java569 Editable editable = Editable.Factory.getInstance().newEditable("123\t\n555"); in testImmutableStaticLayout() local
570 StaticLayout layout = new StaticLayout(editable, mDefaultPaint, in testImmutableStaticLayout()
577 editable.delete(0, editable.length() - 1); in testImmutableStaticLayout()
/cts/tests/tests/widget/src/android/widget/cts/
DTextViewTest.java5605 final Editable editable = mTextView.getEditableText(); in testSetExtractedText() local
5607 0, editable.length(), UnderlineSpan.class); in testSetExtractedText()
5609 assertEquals(1, editable.getSpanStart(underlineSpans[0])); in testSetExtractedText()
5610 assertEquals(3, editable.getSpanEnd(underlineSpans[0])); in testSetExtractedText()
5613 0, editable.length(), URLSpan.class); in testSetExtractedText()
5615 assertEquals(2, editable.getSpanStart(urlSpans[0])); in testSetExtractedText()
5616 assertEquals(3, editable.getSpanEnd(urlSpans[0])); in testSetExtractedText()
8342 Editable editable = (Editable) mTextView.getText(); in testDynamicLayoutReflowCrash_b75652829() local
8345 editable.replace(5, 5, ssb); in testDynamicLayoutReflowCrash_b75652829()