Searched refs:shortString (Results 1 – 3 of 3) sorted by relevance
170 final String shortString = getComponentName().toShortString(); in testToShortString() local171 assertEquals("{android.content.cts/android.content.cts.ComponentNameTest}", shortString); in testToShortString()
1383 String shortString = "short"; in testSetTextKeepState1() local1388 mTextView.setTextKeepState(shortString); in testSetTextKeepState1()1389 assertEquals(shortString, mTextView.getText().toString()); in testSetTextKeepState1()1395 Selection.setSelection((Spannable) mTextView.getText(), shortString.length() + 1); in testSetTextKeepState1()1396 mTextView.setTextKeepState(shortString); in testSetTextKeepState1()1397 assertEquals(shortString, mTextView.getText().toString()); in testSetTextKeepState1()1398 assertEquals(shortString.length(), mTextView.getSelectionStart()); in testSetTextKeepState1()1399 assertEquals(shortString.length(), mTextView.getSelectionEnd()); in testSetTextKeepState1()1404 mTextView.setTextKeepState(shortString); in testSetTextKeepState1()1405 assertEquals(shortString, mTextView.getText().toString()); in testSetTextKeepState1()[all …]
1125 String shortString = "\u0644"; in testMeasureTextContext() local1129 float width = p.measureText(shortString); in testMeasureTextContext()