Searched refs:LONG_TEXT (Results 1 – 3 of 3) sorted by relevance
/cts/tests/tests/text/src/android/text/method/cts/ |
D | TouchTest.java | 49 private static final String LONG_TEXT = "Scrolls the specified widget to the specified " + field in TouchTest 90 mActivityRule.runOnUiThread(() -> mTextView.setText(LONG_TEXT)); in testScrollTo() 94 final int width = getTextWidth(LONG_TEXT, paint); in testScrollTo() 120 String text = LONG_TEXT; in testOnTouchEvent() 123 text += LONG_TEXT; in testOnTouchEvent()
|
/cts/tests/tests/telephony/current/src/android/telephony/cts/ |
D | SmsManagerTest.java | 93 private static final String LONG_TEXT = field in SmsManagerTest 174 ArrayList<String> dividedMessages = divideMessage(LONG_TEXT); in testDivideMessage() 177 assertTrue(isComplete(dividedMessages, 5, LONG_TEXT) in testDivideMessage() 178 || isComplete(dividedMessages, 3, LONG_TEXT)); in testDivideMessage() 180 assertTrue(isComplete(dividedMessages, 4, LONG_TEXT) in testDivideMessage() 181 || isComplete(dividedMessages, 3, LONG_TEXT)); in testDivideMessage() 183 assertTrue(isComplete(dividedMessages, 3, LONG_TEXT)); in testDivideMessage() 618 ArrayList<String> parts = divideMessage(LONG_TEXT); in sendMultipartTextMessageIfSupported()
|
/cts/tests/tests/widget/src/android/widget/cts/ |
D | TextViewTest.java | 185 private static final String LONG_TEXT = "This is a really long string which exceeds " field in TextViewTest 326 final CharSequence LONG_TEXT = "Scrolls the specified widget to the specified " in testAccessMovementMethod() local 331 final int selectionEnd = LONG_TEXT.length(); in testAccessMovementMethod() 336 mTextView.setText(LONG_TEXT, BufferType.EDITABLE); in testAccessMovementMethod() 4395 mTextView.setWidth((int) (mTextView.getPaint().measureText(LONG_TEXT) / 4)); 4396 mTextView.setText(LONG_TEXT); 4421 final String substring = LONG_TEXT.substring(0, charWidth); in testHyphenationNotHappen_frequencyNone() 4424 mTextView.setText(LONG_TEXT); in testHyphenationNotHappen_frequencyNone() 4438 assertTrue(lineEnd == LONG_TEXT.length() || in testHyphenationNotHappen_frequencyNone() 4439 Character.isWhitespace(LONG_TEXT.charAt(lineEnd - 1))); in testHyphenationNotHappen_frequencyNone() [all …]
|