/cts/tests/tests/graphics/src/android/graphics/text/cts/ |
D | MeasuredTextTest.java | 61 String text = "Hello, World"; in testBuilder() local 68 String text = "Hello, World"; in testBuilder_FromExistingMeasuredText() local 77 String text = "Hello, World"; in testBuilder_FromExistingMeasuredText_differentLayoutParam() local 87 String text = "Hello, World"; in testBuilder_FromExistingMeasuredText_differentHyphenationParam() local 108 String text = "Hello, World"; in testBuilder_NullPaint() local 114 String text = "Hello, World"; in testGetWidth() local 126 String text = "Hello, World"; in testGetWidth_StartSmallerThanZero() local 135 String text = "Hello, World"; in testGetWidth_StartLargerThanLength() local 144 String text = "Hello, World"; in testGetWidth_EndSmallerThanZero() local 153 String text = "Hello, World"; in testGetWidth_EndLargerThanLength() local [all …]
|
D | LineBreakerTest.java | 141 final String text = "Hello, World."; in testLineBreak_Simple() local 164 final String text = "abc defg hijkl"; in testLineBreak_Simple2() local 196 final String text = "abc defg hijkl"; in testLineBreak_Simple3() local 240 final String text = "abc defg hijkl"; in testLineBreak_Simple_NotRectangle() local 273 final String text = "ab\u00ADc de\u00ADfg hi\u00ADjkl"; in testLineBreak_Simple_Hyphenation() local 319 final String text = "abc defg hijkl"; in testLineBreak_Simple_Styled() local 360 final String text = "abc defg hijkl"; in testLineBreak_Simple_Styled2() local 395 final String text = "abc defg hijkl"; in testLineBreak_Simple_indents() local 428 final String text = "abc defg hijkl"; in testLineBreak_Simple_indents2() local 468 final String text = "abc de\tfg hijkl"; in testLineBreak_Simple_tabStop() local [all …]
|
/cts/tests/tests/text/src/android/text/cts/ |
D | SelectionTest.java | 45 CharSequence text = "hello, world"; in testGetSelectionStart() local 63 CharSequence text = "hello, world"; in testGetSelectionEnd() local 81 CharSequence text = "hello, world"; in testSetSelection1() local 138 CharSequence text = "hello, world"; in testRemoveSelection() local 158 CharSequence text = "hello, world"; in testSelectAll() local 185 CharSequence text = "hello\nworld"; in testMoveLeft() local 213 CharSequence text = "hello\nworld"; in testMoveRight() local 245 CharSequence text = "Google\nhello,world"; in testMoveUp() local 285 CharSequence text = "aaa\nmm"; in testMoveUpAfterTyping() local 310 CharSequence text = "aa\nm"; in testMoveUpKeepsOriginalMemoryPosition() local [all …]
|
D | SpannableStringTest.java | 61 String text = "test valueOf"; in testValueOf() local 78 String text = "hello, world"; in testSetSpan() local 133 String text = "hello, world"; in testSubSequence() local 246 final String text = "this is a test!"; in testEquals() local 266 final String text = "this is a test!"; in testEqualsWithPriority() local 286 final String text = "this is a test!"; in testEqualsWithDifferentSequence() local
|
D | SpannedStringTest.java | 47 String text = "test valueOf"; in testValueOf() local 62 String text = "hello, world"; in testSubSequence() local
|
D | SpannableStringBuilderTest.java | 175 CharSequence text = "hi"; in testReplace1() local 208 CharSequence text = "ahiabc"; in testReplace2() local 284 CharSequence text = builder.subSequence(0, 2); in testSubSequence() local 626 String text = "p_in_s"; in testGetSpans_returnsEmptyIfSetSpanIsNotCalled() local 707 String text = "p_in_s"; in testGetSpans_returnsSpansInInsertionOrderWhenTheLaterCoversTheFirst() local 725 String text = "p_in_s"; in testGetSpans_returnsSpansSortedFirstByPriorityThenByInsertionOrder() local 752 String text = "p_in_s"; in testGetSpans_returnsSpansInInsertionOrderAfterRemoveSpanCalls() local 778 final String text = "this is a test!"; in testEquals() local 799 final String text = "this is a test!"; in testEqualsWithPriority() local 820 final String text = "this is a test!"; in testEqualsWithDifferentSequence() local [all …]
|
D | StaticLayoutLineBreakingVariantsTest.java | 50 private static StaticLayout buildLayout(String text, LocaleList locales, int width) { in buildLayout() 55 private static void assertLineBreak(String text, String locale, int width, String... expected) { in assertLineBreak()
|
/cts/tests/tests/text/src/android/text/style/cts/ |
D | UnderlineSpanTest.java | 95 private float textWidth(CharSequence text) { in textWidth() 108 final SpannableString text = new SpannableString("P."); in testDoesntAffectWidth() local 116 final SpannableString text = new SpannableString("P."); in testDoesntAffectWidth() local 124 final SpannableString text = new SpannableString("P. P."); in testDoesntAffectWidth() local 132 final SpannableString text = new SpannableString("P. P."); in testDoesntAffectWidth() local 151 final SpannableString text = new SpannableString("P."); in testDoesntAffectWidth_safeSubclass() local 171 final SpannableString text = new SpannableString("P."); in testDoesntAffectWidth_noUnderlineSubclass() local 195 final SpannableString text = new SpannableString("P."); in testAffectsWidth_ElegantSubclass() local
|
D | ReplacementSpanTest.java | 47 public void draw(Canvas canvas, CharSequence text, int start, int end, in draw() 52 public int getSize(Paint paint, CharSequence text, int start, int end, in getSize()
|
D | StrikethroughSpanTest.java | 98 private float textWidth(CharSequence text) { in textWidth() 110 final SpannableString text = new SpannableString("P."); in testDoesntAffectWidth() local
|
D | IconMarginSpanTest.java | 69 Spanned text = Html.fromHtml("<b>hello</b>"); in testDrawLeadingMargin() local 95 Spanned text = Html.fromHtml("cts test."); in testChooseHeight() local
|
/cts/tests/tests/widget/src/android/widget/cts/ |
D | MultiAutoCompleteTextViewTest.java | 180 String text = "Android test."; in testPerformFiltering() local 199 String text = "CTS."; in testReplaceText() local 215 public int findTokenStart(CharSequence text, int cursor) { in findTokenStart() 232 public int findTokenEnd(CharSequence text, int cursor) { in findTokenEnd() 247 public CharSequence terminateToken(CharSequence text) { in terminateToken() 276 protected void performFiltering(CharSequence text, int keyCode) { in performFiltering() 280 protected void performFiltering(CharSequence text, int start, int end, int keyCode) { in performFiltering() 284 protected void replaceText(CharSequence text) { in replaceText()
|
D | TextViewFadingEdgeTest.java | 158 private final MockTextView createTextView(String text, boolean horizontalFadingEnabled, in createTextView() 194 final String text; field in TextViewFadingEdgeTest.TestCase 202 TestCase(String errorMsg, String text, boolean horizontalFadingEnabled, int gravity, in TestCase() 215 TestCase(String errorMsg, String text, boolean horizontalFadingEnabled, int gravity, in TestCase()
|
/cts/tests/tests/preference/src/android/preference/cts/ |
D | TestUtils.java | 90 void tapOnViewWithText(String text) { in tapOnViewWithText() 101 boolean isTextShown(String text) { in isTextShown() 109 boolean isTextHidden(String text) { in isTextHidden() 113 boolean isTextFocused(String text) { in isTextFocused() 162 private UiObject2 getTextObject(String text) { in getTextObject() 167 private boolean scrollToAndGetTextObject(String text) { in scrollToAndGetTextObject()
|
/cts/tests/tests/uirendering/src/android/uirendering/cts/testclasses/ |
D | CanvasTests.java | 541 final char[] text = { 'a', 'n', 'd', 'r', 'o', 'i', 'd' }; in testDrawArrayTextNegativeIndex() local 549 final char[] text = { 'a', 'n', 'd', 'r', 'o', 'i', 'd' }; in testDrawArrayTextNegativeCount() local 557 final char[] text = { 'a', 'n', 'd', 'r', 'o', 'i', 'd' }; in testDrawArrayTextTextLengthTooSmall() local 623 final String text = "android"; in testDrawTextRunNegativeIndex() local 634 final String text = "android"; in testDrawTextRunNegativeCount() local 644 final String text = "android"; in testDrawTextRunContestIndexTooLarge() local 654 final String text = "android"; in testDrawTextRunContestIndexTooSmall() local 665 final String text = "android"; in testDrawTextRunIndexTooLarge() local 677 final String text = "android"; in testDrawTextRunNegativeContextStart() local 688 final String text = "android"; in testDrawTextRunStartLessThanContextStart() local [all …]
|
/cts/tests/tests/text/src/android/text/method/cts/ |
D | TextKeyListenerTest.java | 105 final Spannable text = new SpannableStringBuilder("123456"); in testOnSpanAdded() local 155 final Spannable text = new SpannableStringBuilder("123456"); in testOnSpanChanged() local 170 CharSequence text = "123456"; in testClear() local 183 final Spannable text = new SpannableStringBuilder("123456"); in testOnSpanRemoved() local 221 String text = mTextView.getText().toString(); in testPressKey() local 237 final String text = "abcd"; in testOnKeyOther() local
|
D | MultiTapKeyListenerTest.java | 82 final Spannable text = new SpannableStringBuilder("123456"); in testOnSpanAdded() local 99 final Spannable text = new SpannableStringBuilder("123456"); in testOnSpanChanged() local 260 final Spannable text = new SpannableStringBuilder("123456"); in testOnSpanRemoved() local
|
/cts/tests/tests/widget/src/android/widget/cts/util/ |
D | ListItemFactory.java | 154 public static View button(int position, Context context, String text, int desiredHeight) { in button() 175 public static View convertButton(View convertView, String text, int position) { in convertButton() 194 public static View text(int position, Context context, String text, int desiredHeight) { in text() method in ListItemFactory 215 public static View convertText(View convertView, String text, int position) { in convertText() 235 public static View doubleText(int position, Context context, String text, int desiredHeight) { in doubleText() 277 public static View convertDoubleText(View convertView, String text, int position) { in convertDoubleText()
|
/cts/tests/accessibilityservice/src/android/accessibilityservice/cts/ |
D | AccessibilityTextActionTest.java | 110 final AccessibilityNodeInfo text = sUiAutomation.getRootInActiveWindow() in testNotEditableTextView_shouldNotExposeOrRespondToSetTextAction() local 139 final AccessibilityNodeInfo text = sUiAutomation.getRootInActiveWindow() in testEditableTextView_shouldExposeAndRespondToSetTextAction() local 165 final AccessibilityNodeInfo text = sUiAutomation.getRootInActiveWindow() in testEditText_shouldExposeAndRespondToSetTextAction() local 239 final AccessibilityNodeInfo text = sUiAutomation.getRootInActiveWindow() in testTextLocations_textViewShouldProvideWhenRequested() local 257 final AccessibilityNodeInfo text = sUiAutomation.getRootInActiveWindow() in testTextLocations_textOutsideOfViewBounds_locationsShouldBeNull() local 311 final AccessibilityNodeInfo text = sUiAutomation.getRootInActiveWindow() in testTextLocations_withRequestPreparer_shouldHoldOffUntilReady() local 368 final AccessibilityNodeInfo text = sUiAutomation.getRootInActiveWindow() in testTextLocations_withUnresponsiveRequestPreparer_shouldTimeout() local 451 final AccessibilityNodeInfo text = sUiAutomation.getRootInActiveWindow() in findSingleSpanInViewWithText() local 464 private void makeTextViewVisibleAndSetText(final TextView textView, final CharSequence text) { in makeTextViewVisibleAndSetText()
|
D | AccessibilityTextTraversalTest.java | 102 final AccessibilityNodeInfo text = sUiAutomation in testActionNextAndPreviousAtGranularityCharacterOverContentDescription() local 318 final AccessibilityNodeInfo text = sUiAutomation in testActionNextAndPreviousAtGranularityWordOverContentDescription() local 534 final AccessibilityNodeInfo text = sUiAutomation in testActionNextAndPreviousAtGranularityCharacterOverText() local 785 final AccessibilityNodeInfo text = sUiAutomation in testActionNextAndPreviousAtGranularityCharacterOverTextExtend() local 1284 final AccessibilityNodeInfo text = sUiAutomation in testActionNextAndPreviousAtGranularityWordOverText() local 1535 final AccessibilityNodeInfo text = sUiAutomation in testActionNextAndPreviousAtGranularityWordOverEditTextWithContentDescription() local 1791 final AccessibilityNodeInfo text = sUiAutomation in testActionNextAndPreviousAtGranularityWordOverTextExtend() local 2286 final AccessibilityNodeInfo text = sUiAutomation in testActionNextAndPreviousAtGranularityLineOverText() local 2542 final AccessibilityNodeInfo text = sUiAutomation in testActionNextAndPreviousAtGranularityLineOverTextExtend() local 3037 final AccessibilityNodeInfo text = sUiAutomation in testActionNextAndPreviousAtGranularityParagraphOverText() local [all …]
|
/cts/tests/tests/text/src/android/text/util/cts/ |
D | Rfc822TokenizerTest.java | 53 String text = ", " + token1 + "\",\"" + token2 + ";" + token3 + " <;>" + token4; in testFindTokenStart() local 121 String text = "text"; in testTerminateToken() local 134 String text = "\"Berg\" (home) <berg\\@example.com>, tom\\@example.com (work)"; in testTokenize() local 158 String text = "\"Berg\" (home) <berg\\@example.com>, tom\\@example.com (work)"; in testTokenize_withListParam() local
|
/cts/tests/tests/telephony/current/src/android/telephony/cts/ |
D | VisualVoicemailServiceTest.java | 147 String text = "//CTSVVM:STATUS:st=R;rc=0;srv=1;dn=1;ipt=1;spt=0;u=eg@example.com;pw=1"; in testPermissionlessService_ignored() local 489 private VisualVoicemailSms getSmsFromText(String clientPrefix, String text) { in getSmsFromText() 494 private VisualVoicemailSms getSmsFromText(String clientPrefix, String text, in getSmsFromText() 504 private void assertVisualVoicemailSmsNotReceived(String clientPrefix, String text) { in assertVisualVoicemailSmsNotReceived() 518 String text, in getSmsFromText() 527 try (SentSmsObserver observer = new SentSmsObserver(mContext, text)) { in getSmsFromText() argument 558 String text, boolean expectVvmSms) { in getSmsFromData() 591 private void setupSmsReceiver(String text) { in setupSmsReceiver() 605 public SmsBroadcastReceiver(String text) { in SmsBroadcastReceiver() 659 public SentSmsObserver(Context context, String text) { in SentSmsObserver()
|
/cts/tests/inputmethod/src/android/view/inputmethod/cts/ |
D | BaseInputConnectionTest.java | 85 Spannable text = new SpannableString("Test ComposingSpans"); in testOpComposingSpans() local 116 final Editable text = connection.getEditable(); in testOpTextMethods() local 162 final Editable text = connection.getEditable(); in testFinishComposingText() local
|
/cts/tests/autofillservice/src/android/autofillservice/cts/ |
D | DummyActivity.java | 27 TextView text = new TextView(this); in onCreate() local
|
/cts/hostsidetests/devicepolicy/app/IntentSender/src/com/android/cts/intent/sender/ |
D | CopyPasteTest.java | 78 private void askCrossProfileReceiverToCopy(String text) throws Exception { in askCrossProfileReceiverToCopy() 93 CharSequence text = item.getText(); in getTextFromClipboard() local
|