Home
last modified time | relevance | path

Searched refs:testStr (Results 1 – 4 of 4) sorted by relevance

/cts/tests/tests/widget/src/android/widget/cts/
DEditTextTest.java280 final String testStr = "This is a test str"; in testOnSaveInstanceState_savesTextStateWhenFreezesTextIsTrue() local
282 mEditText1.setText(testStr); in testOnSaveInstanceState_savesTextStateWhenFreezesTextIsTrue()
296 final String testStr = "This is a test str"; in testOnSaveInstanceState_savesTextStateWhenFreezesTextIfFalse() local
298 mEditText1.setText(testStr); in testOnSaveInstanceState_savesTextStateWhenFreezesTextIfFalse()
312 final String testStr = "This is a test str"; in testOnSaveInstanceState_savesSelectionStateWhenFreezesTextIsFalse() local
314 mEditText1.setText(testStr); in testOnSaveInstanceState_savesSelectionStateWhenFreezesTextIsFalse()
315 mEditText1.setSelection(2, testStr.length() - 2); in testOnSaveInstanceState_savesSelectionStateWhenFreezesTextIsFalse()
330 final String testStr = "This is a test str"; in testOnSaveInstanceState_savesSelectionStateWhenFreezesTextIsTrue() local
332 mEditText1.setText(testStr); in testOnSaveInstanceState_savesSelectionStateWhenFreezesTextIsTrue()
333 mEditText1.setSelection(2, testStr.length() - 2); in testOnSaveInstanceState_savesSelectionStateWhenFreezesTextIsTrue()
DFilterTest.java74 final String testStr = "Test"; in testConvertResultToString() local
79 assertEquals(testStr, filter.convertResultToString(testStr)); in testConvertResultToString()
/cts/tests/tests/text/src/android/text/style/cts/
DTextAppearanceSpanTest.java483 final String testStr = "Ez 123*!\u7B80"; in assertTypefaceSame() local
506 paint0.getTextBounds(testStr, 0, testStr.length(), bound0); in assertTypefaceSame()
507 paint1.getTextBounds(testStr, 0, testStr.length(), bound1); in assertTypefaceSame()
512 canvas0.drawText(testStr, -bound0.left, -bound0.top, paint0); in assertTypefaceSame()
513 canvas1.drawText(testStr, -bound1.left, -bound1.top, paint1); in assertTypefaceSame()
/cts/tests/tests/webkit/src/android/webkit/cts/
DWebViewTest.java1281 String testStr = test.getAbsolutePath(); in testSaveWebArchive() local
1295 doSaveWebArchive(testStr, false, testStr); in testSaveWebArchive()