Searched refs:LONG_TEXT (Results 1 – 3 of 3) sorted by relevance
/cts/tests/tests/text/src/android/text/method/cts/ |
D | TouchTest.java | 47 private static final String LONG_TEXT = "Scrolls the specified widget to the specified " + field in TouchTest 84 mActivityRule.runOnUiThread(() -> mTextView.setText(LONG_TEXT)); in testScrollTo() 88 final int width = getTextWidth(LONG_TEXT, paint); in testScrollTo() 114 String text = LONG_TEXT; in testOnTouchEvent() 117 text += LONG_TEXT; in testOnTouchEvent()
|
/cts/tests/tests/telephony/src/android/telephony/cts/ |
D | SmsManagerTest.java | 59 private static final String LONG_TEXT = field in SmsManagerTest 130 ArrayList<String> dividedMessages = divideMessage(LONG_TEXT); in testDivideMessage() 133 assertTrue(isComplete(dividedMessages, 5, LONG_TEXT) in testDivideMessage() 134 || isComplete(dividedMessages, 3, LONG_TEXT)); in testDivideMessage() 136 assertTrue(isComplete(dividedMessages, 4, LONG_TEXT) in testDivideMessage() 137 || isComplete(dividedMessages, 3, LONG_TEXT)); in testDivideMessage() 139 assertTrue(isComplete(dividedMessages, 3, LONG_TEXT)); in testDivideMessage() 333 ArrayList<String> parts = divideMessage(LONG_TEXT); in sendMultipartTextMessageIfSupported()
|
/cts/tests/tests/widget/src/android/widget/cts/ |
D | TextViewTest.java | 182 private static final String LONG_TEXT = "This is a really long string which exceeds " field in TextViewTest 317 final CharSequence LONG_TEXT = "Scrolls the specified widget to the specified " in testAccessMovementMethod() local 322 final int selectionEnd = LONG_TEXT.length(); in testAccessMovementMethod() 327 mTextView.setText(LONG_TEXT, BufferType.EDITABLE); in testAccessMovementMethod() 4028 mTextView.setWidth((int) (mTextView.getPaint().measureText(LONG_TEXT) / 4)); 4029 mTextView.setText(LONG_TEXT); 4054 final String substring = LONG_TEXT.substring(0, charWidth); in testHyphenationNotHappen_frequencyNone() 4057 mTextView.setText(LONG_TEXT); in testHyphenationNotHappen_frequencyNone() 4071 assertTrue(lineEnd == LONG_TEXT.length() || in testHyphenationNotHappen_frequencyNone() 4072 Character.isWhitespace(LONG_TEXT.charAt(lineEnd - 1))); in testHyphenationNotHappen_frequencyNone() [all …]
|