Home
last modified time | relevance | path

Searched refs:LONG_TEXT (Results 1 – 3 of 3) sorted by relevance

/cts/tests/tests/text/src/android/text/method/cts/
DTouchTest.java34 private static final String LONG_TEXT = "Scrolls the specified widget to the specified " + field in TouchTest
72 tv.setText(LONG_TEXT); in testScrollTo()
78 final int width = getTextWidth(LONG_TEXT, paint); in testScrollTo()
117 String text = LONG_TEXT; in testOnTouchEvent()
120 text += LONG_TEXT; in testOnTouchEvent()
/cts/tests/tests/telephony/src/android/telephony/cts/
DSmsManagerTest.java59 private static final String LONG_TEXT = field in SmsManagerTest
256 ArrayList<String> dividedMessages = divideMessage(LONG_TEXT); in testDivideMessage()
259 assertTrue(isComplete(dividedMessages, 5, LONG_TEXT) in testDivideMessage()
260 || isComplete(dividedMessages, 3, LONG_TEXT)); in testDivideMessage()
262 assertTrue(isComplete(dividedMessages, 4, LONG_TEXT) in testDivideMessage()
263 || isComplete(dividedMessages, 3, LONG_TEXT)); in testDivideMessage()
265 assertTrue(isComplete(dividedMessages, 3, LONG_TEXT)); in testDivideMessage()
459 ArrayList<String> parts = divideMessage(LONG_TEXT); in sendMultipartTextMessageIfSupported()
/cts/tests/tests/widget/src/android/widget/cts/
DTextViewTest.java120 private static final String LONG_TEXT = "This is a really long string which exceeds " field in TextViewTest
245 final CharSequence LONG_TEXT = "Scrolls the specified widget to the specified " in testAccessMovementMethod() local
250 final int selectionEnd = LONG_TEXT.length(); in testAccessMovementMethod()
256 mTextView.setText(LONG_TEXT, BufferType.EDITABLE); in testAccessMovementMethod()
2601 int textWidth = calculateTextWidth(LONG_TEXT);
2607 tvEllipsizeEnd.setText(LONG_TEXT);
2636 int textWidth = calculateTextWidth(LONG_TEXT); in testEllipsizeEndAndNoEllipsizeHasSameBaselineForMultiLine()
2642 tvEllipsizeEnd.setText(LONG_TEXT); in testEllipsizeEndAndNoEllipsizeHasSameBaselineForMultiLine()
2647 tvEllipsizeNone.setText(LONG_TEXT); in testEllipsizeEndAndNoEllipsizeHasSameBaselineForMultiLine()
3163 float[] widths = new float[LONG_TEXT.length()];
[all …]