/cts/tests/tests/textclassifier/src/android/view/textclassifier/cts/ |
D | ConversationActionTest.java | 40 private static final String TEXT = "TEXT"; field in ConversationActionTest 49 TEXT, 50 TEXT, 54 EXTRAS.putString(TEXT, TEXT); in EXTRAS.putString() argument 78 .setTextReply(TEXT) in testConversationAction_full() 100 assertThat(conversationAction.getAction().getTitle()).isEqualTo(TEXT); in assertFullConversationAction() 103 assertThat(conversationAction.getTextReply()).isEqualTo(TEXT); in assertFullConversationAction() 104 assertThat(conversationAction.getExtras().keySet()).containsExactly(TEXT); in assertFullConversationAction()
|
D | TextLinksTest.java | 59 private static final String TEXT = "abcdefghijklmnopqrstuvwxyz"; field in TextLinksTest 68 final TextLinks textLinks = new TextLinks.Builder(TEXT).build(); in testTextLinks_defaultValues() 70 assertEquals(TEXT, textLinks.getText()); in testTextLinks_defaultValues() 77 final TextLinks textLinks = new TextLinks.Builder(TEXT) in testTextLinks_full() 84 assertEquals(TEXT, textLinks.getText()); in testTextLinks_full() 104 final TextLinks textLinks = new TextLinks.Builder(TEXT) in testTextLinks_clearTextLinks() 114 final SpannableString spannableString = SpannableString.valueOf(TEXT); in testTextLinks_apply() 115 final TextLinks textLinks = new TextLinks.Builder(TEXT) in testTextLinks_apply() 153 final SpannableString spannableString = SpannableString.valueOf(TEXT); in testTextLinks_applyStrategyReplace() 156 final TextLinks textLinks = new TextLinks.Builder(TEXT) in testTextLinks_applyStrategyReplace() [all …]
|
D | ConversationActionsTest.java | 44 private static final String TEXT = "TEXT"; field in ConversationActionsTest 45 private static final Person PERSON = new Person.Builder().setKey(TEXT).build(); 50 EXTRAS.putString(TEXT, TEXT); in EXTRAS.putString() argument 57 .setText(TEXT) in testMessage_full() 85 .setText(TEXT) in testRequest_minimal() 103 .setText(TEXT) in testRequest_full() 163 assertThat(message.getText().toString()).isEqualTo(TEXT); in assertFullMessage() 165 assertThat(message.getExtras().keySet()).containsExactly(TEXT); in assertFullMessage() 177 assertThat(request.getConversation().get(0).getText().toString()).isEqualTo(TEXT); in assertMinimalRequest() 187 assertThat(request.getConversation().get(0).getText().toString()).isEqualTo(TEXT); in assertFullRequest() [all …]
|
D | TextClassificationTest.java | 60 private static final String TEXT = "abcdefghijklmnopqrstuvwxyz"; field in TextClassificationTest 88 .setText(TEXT) in testTextClassification() 97 assertEquals(TEXT, classification.getText()); in testTextClassification() 137 .setText(TEXT) in testTextClassificationLegacy() 147 assertEquals(TEXT, classification.getText()); in testTextClassificationLegacy() 184 new TextClassification.Request.Builder(TEXT, START, END) in testTextClassificationRequest() 198 new TextClassification.Request.Builder(TEXT, START, END) in testTextClassificationRequest_nullValues() 209 new TextClassification.Request.Builder(TEXT, START, END).build(); in testTextClassificationRequest_defaultValues()
|
D | TextSelectionTest.java | 51 private static final String TEXT = "abcdefghijklmnopqrstuvwxyz"; field in TextSelectionTest 57 new TextClassification.Builder().setText(TEXT).build(); 89 assertThat(selection.getTextClassification().getText()).isEqualTo(TEXT); in testTextSelection() 169 new TextSelection.Request.Builder(TEXT, START, END) in testTextSelectionRequest() 180 assertThat(request.getText().toString()).isEqualTo(TEXT); in testTextSelectionRequest() 193 new TextSelection.Request.Builder(TEXT, START, END) in testTextSelectionRequest_nullValues() 206 new TextSelection.Request.Builder(TEXT, START, END).build(); in testTextSelectionRequest_defaultValues()
|
D | TextLanguageTest.java | 43 private static final String TEXT = "abcdefghijklmnopqrstuvwxyz"; field in TextLanguageTest 81 final TextLanguage.Request request = new TextLanguage.Request.Builder(TEXT) in testTextLanguageRequest() 85 assertEquals(TEXT, request.getText()); in testTextLanguageRequest()
|
D | TextViewIntegrationTest.java | 149 final String TEXT = "Link: https://www.android.com"; in smartLinkify() local 150 Spannable linkifiedText = createLinkifiedText(TEXT); in smartLinkify() 156 TextLinks.TextLinkSpan[] spans = linkifiedText.getSpans(0, TEXT.length(), in smartLinkify() 219 final String TEXT = "Link: https://www.android.com"; in smartSelectionInternal() local 223 textView.setText(TEXT); in smartSelectionInternal() 228 UiObject2 textview = waitForObject(By.text(TEXT)); in smartSelectionInternal()
|
/cts/tests/inputmethod/src/android/view/inputmethod/cts/ |
D | CompletionInfoTest.java | 38 private static final String TEXT = "CompletionInfoText"; field in CompletionInfoTest 43 new CompletionInfo(ID, POSITION, TEXT); in testCompletionInfo() 44 CompletionInfo info = new CompletionInfo(ID, POSITION, TEXT, LABEL); in testCompletionInfo() 61 assertEquals(TEXT, info.getText().toString()); in assertCompletionInfo()
|
/cts/tests/tests/text/src/android/text/cts/ |
D | DynamicLayoutTest.java | 58 private static final String[] TEXT = {"CharSequence\n", "Char\tSequence\n", "CharSequence"}; field in DynamicLayoutTest 59 private static final CharSequence MULTLINE_CHAR_SEQUENCE = TEXT[0] + TEXT[1] + TEXT[2]; 224 assertEquals(TEXT.length, mDynamicLayout.getLineCount()); in testLineLayout() 257 assertEquals(TEXT[0].length(), mDynamicLayout.getLineStart(LINE1)); in testLineLayout() 258 assertEquals(TEXT[0].length() + TEXT[1].length(), mDynamicLayout.getLineStart(LINE2)); in testLineLayout() 481 for (int i = 0; i < TEXT.length; i++) { in testBuilder_ellipsization() 482 if (i == TEXT.length - 1) { // last line in testBuilder_ellipsization() 518 assertThat(layout.getLineCount()).isEqualTo(TEXT.length); in testDisplayTextUsedInsteadOfBase() 521 assertThat(layout.getLineStart(LINE1)).isEqualTo(TEXT[0].length()); in testDisplayTextUsedInsteadOfBase() 522 assertThat(layout.getLineStart(LINE2)).isEqualTo(TEXT[0].length() + TEXT[1].length()); in testDisplayTextUsedInsteadOfBase()
|
/cts/tests/tests/graphics/src/android/graphics/cts/ |
D | PaintFlagsDrawFilterTest.java | 43 private static final String TEXT = "Test"; field in PaintFlagsDrawFilterTest 65 mTextWidth = p.measureText(TEXT); in drawText() 70 c.drawText(TEXT, TEXT_X, TEXT_Y, p); in drawText()
|
/cts/tests/tests/widget/src/android/widget/cts/ |
D | TextViewPrecomputedTextTest.java | 48 private static final String TEXT = "Hello, World!"; field in TextViewPrecomputedTextTest 178 final PrecomputedText pct = PrecomputedText.create(TEXT, pctParams); in setText()
|
D | TableLayout_LayoutParamsTest.java | 186 if (type == XmlPullParser.END_TAG || type == XmlPullParser.TEXT) { in getAttrs() 194 if (type == XmlPullParser.END_TAG || type == XmlPullParser.TEXT) { in getAttrs()
|
D | TableRow_LayoutParamsTest.java | 219 if (type == XmlPullParser.END_TAG || type == XmlPullParser.TEXT) { in getAttrs() 227 if (type == XmlPullParser.END_TAG || type == XmlPullParser.TEXT) { in getAttrs()
|
/cts/tests/tests/telephonyprovider/src/android/telephonyprovider/cts/ |
D | MmsPartTest.java | 204 updateValues.put(Telephony.Mms.Part.TEXT, MMS_BODY_UPDATE); in testMmsPartUpdate() 317 assertThat(cursor.getString(cursor.getColumnIndex(Telephony.Mms.Part.TEXT))).isEqualTo( in assertThatMmsPartInsertSucceeded() 365 values.put(Telephony.Mms.Part.TEXT, body); in insertIntoMmsPartTable() 385 values.put(Telephony.Mms.Part.TEXT, body); in insertIntoMmsPartTable()
|
D | MmsTest.java | 157 assertThat(partCursor.getString(partCursor.getColumnIndex(Telephony.Mms.Part.TEXT))) in testMmsInsert_canInsertTextMms() 457 values.put(Telephony.Mms.Part.TEXT, body); in insertIntoMmsPartTable()
|
/cts/tests/tests/graphics/src/android/graphics/drawable/cts/ |
D | DrawableTestUtils.java | 94 if (type == XmlPullParser.END_TAG || type == XmlPullParser.TEXT) { in getAttributeSet() 102 if (type == XmlPullParser.END_TAG || type == XmlPullParser.TEXT) { in getAttributeSet()
|
/cts/tests/tests/provider/src/android/provider/cts/ |
D | SmsBackupRestoreTest.java | 61 private static final String[] MMS_PART_TEXT_PROJECTION = new String[]{Telephony.Mms.Part.TEXT}; 239 values.put(Telephony.Mms.Part.TEXT, body); in addMms()
|
/cts/hostsidetests/classpath/src/android/classpath/cts/ |
D | ClasspathDeviceInfo.java | 108 mLogger.addTestLog(REPORT_FILE_NAME, LogDataType.TEXT, source); in testCollectClasspathDeviceInfo()
|
/cts/tests/appsearch/src/com/android/cts/appsearch/app/ |
D | GlobalSearchSessionServiceCtsTestBase.java | 130 private static final String TEXT = "foo"; field in GlobalSearchSessionServiceCtsTestBase 138 .setSubject(TEXT) 533 .setPropertyString("name", TEXT) in testAllowPackageAccess_polymorphism() 538 .setPropertyString("name", TEXT) in testAllowPackageAccess_polymorphism() 1875 List<String> results = commandReceiver.globalSearch(TEXT); in assertPackageCanAccess()
|
/cts/tests/tests/content/src/android/content/cts/util/ |
D | XmlUtils.java | 1333 } else if (eventType == parser.TEXT) { in readValueXml() 1368 } else if (eventType == parser.TEXT) { in readThisValueXml() 1443 } else if (eventType == parser.TEXT) { in readThisValueXml()
|
/cts/tests/tests/view/src/android/view/cts/util/ |
D | XmlUtils.java | 1305 } else if (eventType == parser.TEXT) { in readValueXml() 1340 } else if (eventType == parser.TEXT) { in readThisValueXml() 1415 } else if (eventType == parser.TEXT) { in readThisValueXml()
|
/cts/tests/tests/widget/src/android/widget/cts/util/ |
D | XmlUtils.java | 1306 } else if (eventType == parser.TEXT) { in readValueXml() 1341 } else if (eventType == parser.TEXT) { in readThisValueXml() 1416 } else if (eventType == parser.TEXT) { in readThisValueXml()
|
/cts/tests/tests/view/src/android/view/cts/ |
D | LayoutInflaterTest.java | 133 if (type == XmlPullParser.END_TAG || type == XmlPullParser.TEXT) { in getAttrs()
|
/cts/tests/tests/content/src/android/content/cts/ |
D | IntentTest.java | 461 if (type == XmlPullParser.END_TAG || type == XmlPullParser.TEXT) { in testParseIntent()
|
/cts/common/device-side/bedstead/remoteframeworkclasses/java/apis/ |
D | current.txt | 11428 field public static final String EXTRA_TEXT = "android.intent.extra.TEXT"; 37908 field public static final String TEXT = "text";
|