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 223 ArrayList<String> dividedMessages = divideMessage(LONG_TEXT); in testDivideMessage() 226 assertTrue(isComplete(dividedMessages, 5, LONG_TEXT) in testDivideMessage() 227 || isComplete(dividedMessages, 3, LONG_TEXT)); in testDivideMessage() 229 assertTrue(isComplete(dividedMessages, 4, LONG_TEXT) in testDivideMessage() 230 || isComplete(dividedMessages, 3, LONG_TEXT)); in testDivideMessage() 232 assertTrue(isComplete(dividedMessages, 3, LONG_TEXT)); in testDivideMessage() 651 ArrayList<String> parts = divideMessage(LONG_TEXT); in sendMultipartTextMessageIfSupported()
|
/cts/tests/tests/widget/src/android/widget/cts/ |
D | TextViewTest.java | 186 private static final String LONG_TEXT = "This is a really long string which exceeds " field in TextViewTest 449 final CharSequence LONG_TEXT = "Scrolls the specified widget to the specified " in testAccessMovementMethod() local 454 final int selectionEnd = LONG_TEXT.length(); in testAccessMovementMethod() 459 mTextView.setText(LONG_TEXT, BufferType.EDITABLE); in testAccessMovementMethod() 4538 mTextView.setWidth((int) (mTextView.getPaint().measureText(LONG_TEXT) / 4)); 4539 mTextView.setText(LONG_TEXT); 4564 final String substring = LONG_TEXT.substring(0, charWidth); in testHyphenationNotHappen_frequencyNone() 4567 mTextView.setText(LONG_TEXT); in testHyphenationNotHappen_frequencyNone() 4581 assertTrue(lineEnd == LONG_TEXT.length() || in testHyphenationNotHappen_frequencyNone() 4582 Character.isWhitespace(LONG_TEXT.charAt(lineEnd - 1))); in testHyphenationNotHappen_frequencyNone() [all …]
|