| /cts/tests/tests/text/src/android/text/cts/ |
| D | SelectionTest.java | 28 CharSequence text = "hello, world"; in testGetSelectionStart() local 45 CharSequence text = "hello, world"; in testGetSelectionEnd() local 62 CharSequence text = "hello, world"; in testSetSelection1() local 117 CharSequence text = "hello, world"; in testRemoveSelection() local 136 CharSequence text = "hello, world"; in testSelectAll() local 162 CharSequence text = "hello\nworld"; in testMoveLeft() local 189 CharSequence text = "hello\nworld"; in testMoveRight() local 220 CharSequence text = "Google\nhello,world"; in testMoveUp() local 259 CharSequence text = "hello,world\nGoogle"; in testMoveDown() local 296 CharSequence text = "hello, world"; in testExtendSelection() local [all …]
|
| D | SpannedStringTest.java | 34 String text = "test valueOf"; in testValueOf() local 49 String text = "hello, world"; in testSubSequence() local
|
| D | SpannableStringTest.java | 42 String text = "test valueOf"; in testValueOf() local 58 String text = "hello, world"; in testSetSpan() local 111 String text = "hello, world"; in testSubSequence() local
|
| D | SpannableStringBuilderTest.java | 170 CharSequence text = "hi"; in testReplace1() local 202 CharSequence text = "ahiabc"; in testReplace2() local 277 CharSequence text = builder.subSequence(0, 2); in testSubSequence() local 582 String text = "p_in_s"; in testGetSpans_returnsEmptyIfSetSpanIsNotCalled() local 590 String text = "p_in_s"; in testGetSpans_returnsSpansInInsertionOrderWhenTheLaterCoversTheFirst() local 608 String text = "p_in_s"; in testGetSpans_returnsSpansSortedFirstByPriorityThenByInsertionOrder() local 635 String text = "p_in_s"; in testGetSpans_returnsSpansInInsertionOrderAfterRemoveSpanCalls() local 660 String text = "p_in_s"; in testGetSpans_sortsByPriorityEvenWhenSortParamIsFalse() local
|
| D | Spannable_FactoryTest.java | 27 final String text = "test newSpannable"; in testNewSpannable() local
|
| /cts/tests/tests/widget/src/android/widget/cts/ |
| D | MultiAutoCompleteTextViewTest.java | 169 String text = "Android test."; in testPerformFiltering() local 187 String text = "CTS."; in testReplaceText() local 203 public int findTokenStart(CharSequence text, int cursor) { in findTokenStart() 220 public int findTokenEnd(CharSequence text, int cursor) { in findTokenEnd() 235 public CharSequence terminateToken(CharSequence text) { in terminateToken() 263 public boolean isValid(CharSequence text) { in isValid() 280 protected void performFiltering(CharSequence text, int keyCode) { in performFiltering() 284 protected void performFiltering(CharSequence text, int start, int end, int keyCode) { in performFiltering() 288 protected void replaceText(CharSequence text) { in replaceText()
|
| D | TextViewFadingEdgeTest.java | 143 private final MockTextView createTextView(String text, boolean horizontalFadingEnabled, in createTextView() 188 final String text; field in TextViewFadingEdgeTest.TestCase 196 TestCase(String errorMsg, String text, boolean horizontalFadingEnabled, int gravity, in TestCase() 209 TestCase(String errorMsg, String text, boolean horizontalFadingEnabled, int gravity, in TestCase()
|
| D | MultiAutoCompleteTextView_CommaTokenizerTest.java | 105 String text = "end with comma,"; in testTerminateToken() local
|
| /cts/tests/accessibilityservice/src/android/accessibilityservice/cts/ |
| D | AccessibilityTextActionTest.java | 59 final AccessibilityNodeInfo text = mUiAutomation.getRootInActiveWindow() in testNotEditableTextView_shouldNotExposeOrRespondToSetTextAction() local 87 final AccessibilityNodeInfo text = mUiAutomation.getRootInActiveWindow() in testEditableTextView_shouldExposeAndRespondToSetTextAction() local 119 final AccessibilityNodeInfo text = mUiAutomation.getRootInActiveWindow() in testEditText_shouldExposeAndRespondToSetTextAction() local
|
| D | AccessibilityTextTraversalTest.java | 58 final AccessibilityNodeInfo text = getInstrumentation().getUiAutomation() in testActionNextAndPreviousAtGranularityCharacterOverContentDescription() local 273 final AccessibilityNodeInfo text = getInstrumentation().getUiAutomation() in testActionNextAndPreviousAtGranularityWordOverContentDescription() local 488 final AccessibilityNodeInfo text = getInstrumentation().getUiAutomation() in testActionNextAndPreviousAtGranularityCharacterOverText() local 738 final AccessibilityNodeInfo text = getInstrumentation().getUiAutomation() in testActionNextAndPreviousAtGranularityCharacterOverTextExtend() local 1236 final AccessibilityNodeInfo text = getInstrumentation().getUiAutomation() in testActionNextAndPreviousAtGranularityWordOverText() local 1486 final AccessibilityNodeInfo text = getInstrumentation().getUiAutomation() in testActionNextAndPreviousAtGranularityWordOverEditTextWithContentDescription() local 1741 final AccessibilityNodeInfo text = getInstrumentation().getUiAutomation() in testActionNextAndPreviousAtGranularityWordOverTextExtend() local 2235 final AccessibilityNodeInfo text = getInstrumentation().getUiAutomation() in testActionNextAndPreviousAtGranularityLineOverText() local 2490 final AccessibilityNodeInfo text = getInstrumentation().getUiAutomation() in testActionNextAndPreviousAtGranularityLineOverTextExtend() local 2985 final AccessibilityNodeInfo text = getInstrumentation().getUiAutomation() in testActionNextAndPreviousAtGranularityPageOverText() local [all …]
|
| /cts/tests/tests/text/src/android/text/method/cts/ |
| D | TextKeyListenerTest.java | 88 final Spannable text = new SpannableStringBuilder("123456"); in testOnSpanAdded() local 138 final Spannable text = new SpannableStringBuilder("123456"); in testOnSpanChanged() local 152 CharSequence text = "123456"; in testClear() local 164 final Spannable text = new SpannableStringBuilder("123456"); in testOnSpanRemoved() local 203 String text = mTextView.getText().toString(); in testPressKey() local 218 final String text = "abcd"; in testOnKeyOther() local
|
| D | MultiTapKeyListenerTest.java | 49 final Spannable text = new SpannableStringBuilder("123456"); in testOnSpanAdded() local 66 final Spannable text = new SpannableStringBuilder("123456"); in testOnSpanChanged() local 229 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/libs/vogar-expect/src/vogar/util/ |
| D | MarkResetConsole.java | 34 public void println(String text) { in println() 38 public void print(String text) { in print()
|
| /cts/tests/tests/text/src/android/text/style/cts/ |
| D | IconMarginSpanTest.java | 57 Spanned text = Html.fromHtml("<b>hello</b>"); in testDrawLeadingMargin() local 81 Spanned text = Html.fromHtml("cts test."); in testChooseHeight() local
|
| D | DrawableMarginSpanTest.java | 64 Spanned text = Html.fromHtml("<b>hello</b>"); in testDrawLeadingMargin() local 100 Spanned text = Html.fromHtml("cts test."); in testChooseHeight() local
|
| D | ReplacementSpanTest.java | 42 public void draw(Canvas canvas, CharSequence text, int start, int end, in draw() 48 public int getSize(Paint paint, CharSequence text, int start, int end, in getSize()
|
| D | BulletSpanTest.java | 61 Spanned text = Html.fromHtml("<b>hello</b>"); in testDrawLeadingMargin() local 71 String text = "cts test."; in testDrawLeadingMarginFailure() local
|
| /cts/tests/tests/text/src/android/text/util/cts/ |
| D | Rfc822TokenizerTest.java | 39 String text = ", " + token1 + "\",\"" + token2 + ";" + token3 + " <;>" + token4; in testFindTokenStart() local 105 String text = "text"; in testTerminateToken() local 117 String text = "\"Berg\" (home) <berg\\@google.com>, tom\\@google.com (work)"; in testTokenize() local
|
| /cts/tests/tests/telephony/src/android/telephony/gsm/cts/ |
| D | SmsManagerTest.java | 33 protected ArrayList<String> divideMessage(String text) { in divideMessage() 53 …protected void sendTextMessage(String destAddr, String text, PendingIntent sentIntent, PendingInte… in sendTextMessage()
|
| /cts/tests/tests/view/src/android/view/inputmethod/cts/ |
| D | ExtractedTextTest.java | 32 CharSequence text = "test"; in testWriteToParcel() local
|
| D | BaseInputConnectionTest.java | 97 Spannable text = new SpannableString("Test ComposingSpans"); in testOpComposingSpans() local 128 final Editable text = mConnection.getEditable(); in testOpTextMethods() local 192 final Editable text = mConnection.getEditable(); in testFinishComposingText() local
|
| /cts/hostsidetests/devicepolicy/app/IntentSender/src/com/android/cts/intent/sender/ |
| D | CopyPasteTest.java | 91 private void askCrossProfileReceiverToCopy(String text) throws Exception { in askCrossProfileReceiverToCopy() 106 CharSequence text = item.getText(); in getTextFromClipboard() local
|
| /cts/hostsidetests/devicepolicy/app/IntentReceiver/src/com/android/cts/intent/receiver/ |
| D | IntentReceiverActivity.java | 67 String text = received.getStringExtra("extra_text"); in onCreate() local 121 private void writeToUri(Uri uri, String text) throws IOException { in writeToUri()
|
| /cts/apps/CtsVerifier/src/com/android/cts/verifier/managedprovisioning/ |
| D | NfcTestActivity.java | 127 private Bitmap createSampleImage(String text) { in createSampleImage() 145 private Uri createUriForImage(String name, String text) { in createUriForImage()
|