Searched refs:shortString (Results 1 – 3 of 3) sorted by relevance
1089 String shortString = "short"; in testSetTextKeepState1() local1094 mTextView.setTextKeepState(shortString); in testSetTextKeepState1()1095 assertEquals(shortString, mTextView.getText().toString()); in testSetTextKeepState1()1101 Selection.setSelection((Spannable) mTextView.getText(), shortString.length() + 1); in testSetTextKeepState1()1102 mTextView.setTextKeepState(shortString); in testSetTextKeepState1()1103 assertEquals(shortString, mTextView.getText().toString()); in testSetTextKeepState1()1104 assertEquals(shortString.length(), mTextView.getSelectionStart()); in testSetTextKeepState1()1105 assertEquals(shortString.length(), mTextView.getSelectionEnd()); in testSetTextKeepState1()1110 mTextView.setTextKeepState(shortString); in testSetTextKeepState1()1111 assertEquals(shortString, mTextView.getText().toString()); in testSetTextKeepState1()[all …]
170 final String shortString = getComponentName().toShortString(); in testToShortString() local171 assertEquals("{android.content.cts/android.content.cts.ComponentNameTest}", shortString); in testToShortString()
1030 String shortString = "\u0644"; in testMeasureTextContext() local1034 float width = p.measureText(shortString); in testMeasureTextContext()