Home
last modified time | relevance | path

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

/cts/apps/CtsVerifier/src/com/android/cts/verifier/wifi/
DBaseTestActivity.java83 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/
DVirtualContainerView.java236 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/tests/inputmethod/src/android/view/inputmethod/cts/
DBaseInputConnectionTest.java202 final Editable editable = Editable.Factory.getInstance().newEditable(source); in createConnectionWithSelection() local
203 Selection.setSelection(editable, selectionStart, selectionEnd); in createConnectionWithSelection()
208 return editable; in createConnectionWithSelection()
484 Editable editable = connection.getEditable();
485 editable.append("hello");
486 editable.setSpan(Selection.SELECTION_START, 4, 4, Spanned.SPAN_POINT_POINT);
487 editable.removeSpan(Selection.SELECTION_END);
/cts/apps/CtsVerifier/src/com/android/cts/verifier/net/
DMultiNetworkConnectivityTestActivity.java339 public void afterTextChanged(Editable editable) { in setupUserInterface()
340 mAccessPointSsid = editable.toString(); in setupUserInterface()
353 public void afterTextChanged(Editable editable) { in setupUserInterface()
354 mPskValue = editable.toString(); in setupUserInterface()
/cts/tests/contentcaptureservice/src/android/contentcaptureservice/cts/
DLoginActivityTest.java673 Editable editable = editText.getText(); in appendText() local
674 String s = editable.toString() + text; in appendText()
679 BaseInputConnection.removeComposingSpans(editable); in appendText()
681 editable.replace(0, editable.length() , newEditable); in appendText()
/cts/tests/tests/text/src/android/text/cts/
DStaticLayoutTest.java570 Editable editable = Editable.Factory.getInstance().newEditable("123\t\n555"); in testImmutableStaticLayout() local
571 StaticLayout layout = new StaticLayout(editable, mDefaultPaint, in testImmutableStaticLayout()
578 editable.delete(0, editable.length() - 1); in testImmutableStaticLayout()
/cts/tests/tests/widget/src/android/widget/cts/
DTextViewTest.java5753 final Editable editable = mTextView.getEditableText(); in testSetExtractedText() local
5755 0, editable.length(), UnderlineSpan.class); in testSetExtractedText()
5757 assertEquals(1, editable.getSpanStart(underlineSpans[0])); in testSetExtractedText()
5758 assertEquals(3, editable.getSpanEnd(underlineSpans[0])); in testSetExtractedText()
5761 0, editable.length(), URLSpan.class); in testSetExtractedText()
5763 assertEquals(2, editable.getSpanStart(urlSpans[0])); in testSetExtractedText()
5764 assertEquals(3, editable.getSpanEnd(urlSpans[0])); in testSetExtractedText()
8579 Editable editable = (Editable) mTextView.getText(); in testDynamicLayoutReflowCrash_b75652829() local
8582 editable.replace(5, 5, ssb); in testDynamicLayoutReflowCrash_b75652829()