Searched refs:shortString (Results 1 – 3 of 3) sorted by relevance
1048 String shortString = "short"; in testSetTextKeepState1() local1053 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 …]
170 final String shortString = getComponentName().toShortString(); in testToShortString() local171 … assertEquals("{com.android.cts.content/android.content.cts.ComponentNameTest}", shortString); in testToShortString()
934 String shortString = "\u0644";938 float width = p.measureText(shortString);