Searched refs:LONG_TEXT (Results 1 – 3 of 3) sorted by relevance
/cts/tests/tests/telephony/src/android/telephony/cts/ |
D | SmsManagerTest.java | 46 private static final String LONG_TEXT = field in SmsManagerTest 220 ArrayList<String> dividedMessages = divideMessage(LONG_TEXT); in testDivideMessage() 223 assertTrue(isComplete(dividedMessages, 5, LONG_TEXT) in testDivideMessage() 224 || isComplete(dividedMessages, 3, LONG_TEXT)); in testDivideMessage() 226 assertTrue(isComplete(dividedMessages, 4, LONG_TEXT) in testDivideMessage() 227 || isComplete(dividedMessages, 3, LONG_TEXT)); in testDivideMessage() 229 assertTrue(isComplete(dividedMessages, 3, LONG_TEXT)); in testDivideMessage() 314 ArrayList<String> parts = divideMessage(LONG_TEXT); in testSendMessages()
|
/cts/tests/tests/text/src/android/text/method/cts/ |
D | TouchTest.java | 34 private static final String LONG_TEXT = "Scrolls the specified widget to the specified " + field in TouchTest 70 tv.setText(LONG_TEXT); in testScrollTo() 76 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/widget/src/android/widget/cts/ |
D | TextViewTest.java | 114 private static final String LONG_TEXT = "This is a really long string which exceeds " field in TextViewTest 237 final CharSequence LONG_TEXT = "Scrolls the specified widget to the specified " in testAccessMovementMethod() local 242 final int selectionEnd = LONG_TEXT.length(); in testAccessMovementMethod() 248 mTextView.setText(LONG_TEXT, BufferType.EDITABLE); in testAccessMovementMethod() 2636 float[] widths = new float[LONG_TEXT.length()]; 2637 mTextView.getPaint().getTextWidths(LONG_TEXT, widths); 2644 mTextView.setText(LONG_TEXT); 2680 mTextView.setWidth(calculateTextWidth(LONG_TEXT.substring(0, charWidth))); in testHyphenationNotHappen_frequencyNone() 2682 mTextView.setText(LONG_TEXT); in testHyphenationNotHappen_frequencyNone() 2696 assertTrue(lineEnd == LONG_TEXT.length() || in testHyphenationNotHappen_frequencyNone() [all …]
|