Home
last modified time | relevance | path

Searched refs:shortString (Results 1 – 3 of 3) sorted by relevance

/cts/tests/tests/widget/src/android/widget/cts/
DTextViewTest.java1048 String shortString = "short"; in testSetTextKeepState1() local
1053 mTextView.setTextKeepState(shortString); in testSetTextKeepState1()
1054 assertEquals(shortString, mTextView.getText().toString()); in testSetTextKeepState1()
1060 Selection.setSelection((Spannable) mTextView.getText(), shortString.length() + 1); in testSetTextKeepState1()
1061 mTextView.setTextKeepState(shortString); in testSetTextKeepState1()
1062 assertEquals(shortString, mTextView.getText().toString()); in testSetTextKeepState1()
1063 assertEquals(shortString.length(), mTextView.getSelectionStart()); in testSetTextKeepState1()
1064 assertEquals(shortString.length(), mTextView.getSelectionEnd()); in testSetTextKeepState1()
1069 mTextView.setTextKeepState(shortString); in testSetTextKeepState1()
1070 assertEquals(shortString, mTextView.getText().toString()); in testSetTextKeepState1()
[all …]
/cts/tests/tests/content/src/android/content/cts/
DComponentNameTest.java170 final String shortString = getComponentName().toShortString(); in testToShortString() local
171 … assertEquals("{com.android.cts.content/android.content.cts.ComponentNameTest}", shortString); in testToShortString()
/cts/tests/tests/graphics/src/android/graphics/cts/
DPaintTest.java934 String shortString = "\u0644";
938 float width = p.measureText(shortString);