Searched refs:longString (Results 1 – 4 of 4) sorted by relevance
/cts/tests/tests/util/src/android/util/cts/ |
D | EventLogTest.java | 74 StringBuilder longString = new StringBuilder(); in testWriteEventWithOversizeValueLimitElision() local 75 for (int i = 0; i < 1000; i++) longString.append("xyzzy"); in testWriteEventWithOversizeValueLimitElision() 82 EventLog.writeEvent(ANSWER_TAG, longString.toString()); in testWriteEventWithOversizeValueLimitElision() 83 EventLog.writeEvent(ANSWER_TAG, "hi", longString.toString()); in testWriteEventWithOversizeValueLimitElision() 84 EventLog.writeEvent(ANSWER_TAG, 12345, longString.toString()); in testWriteEventWithOversizeValueLimitElision() 85 EventLog.writeEvent(ANSWER_TAG, 12345L, longString.toString()); in testWriteEventWithOversizeValueLimitElision() 86 EventLog.writeEvent(ANSWER_TAG, 42.4242f, longString.toString()); in testWriteEventWithOversizeValueLimitElision() 87 EventLog.writeEvent(ANSWER_TAG, longString.toString(), longString.toString()); in testWriteEventWithOversizeValueLimitElision() 150 String longString = longBuilder.toString(); // 32K in testOversizeStringMayBeTruncated() local 154 EventLog.writeEvent(ANSWER_TAG, longString); in testOversizeStringMayBeTruncated() [all …]
|
/cts/tests/tests/content/src/android/content/cts/ |
D | ClipDescriptionTest.java | 161 String longString = builder.toString(); in testClassificationNotPerformedForVeryLongText() local 162 ClipData clipData = ClipData.newPlainText("label", longString); in testClassificationNotPerformedForVeryLongText()
|
/cts/tests/tests/graphics/src/android/graphics/cts/ |
D | PaintTest.java | 1266 String longString = "\u0644\u0644\u0644"; in testMeasureTextContext() local 1267 char[] longChars = longString.toCharArray(); in testMeasureTextContext() 1268 SpannedString longSpanned = new SpannedString(longString); in testMeasureTextContext() 1271 verifyMeasureText(longString, longChars, longSpanned, 0, 1, width); in testMeasureTextContext() 1272 verifyMeasureText(longString, longChars, longSpanned, 1, 2, width); in testMeasureTextContext() 1273 verifyMeasureText(longString, longChars, longSpanned, 2, 3, width); in testMeasureTextContext()
|
/cts/tests/tests/widget/src/android/widget/cts/ |
D | TextViewTest.java | 1538 String longString = "very long content"; in testSetTextKeepState1() local 1542 mTextView.setText(longString, BufferType.SPANNABLE); in testSetTextKeepState1() 1550 mTextView.setText(longString); in testSetTextKeepState1() 1558 mTextView.setText(longString); in testSetTextKeepState1() 1566 mTextView.setText(longString); in testSetTextKeepState1() 1574 mTextView.setText(longString); in testSetTextKeepState1() 1650 String longString = "very long content"; in testSetText1() local 1654 mTextView.setText(longString, BufferType.SPANNABLE); in testSetText1() 1672 mTextView.setText(longString); in testSetText1() 1673 Selection.setSelection((Spannable) mTextView.getText(), longString.length()); in testSetText1() [all …]
|