Home
last modified time | relevance | path

Searched defs:text (Results 1 – 25 of 73) sorted by relevance

123

/cts/tests/tests/text/src/android/text/cts/
DSelectionTest.java28 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 …]
DSpannableStringTest.java36 String text = "test valueOf"; in testValueOf() local
52 String text = "hello, world"; in testSetSpan() local
105 String text = "hello, world"; in testSubSequence() local
DSpannedStringTest.java34 String text = "test valueOf"; in testValueOf() local
49 String text = "hello, world"; in testSubSequence() local
DSpannable_FactoryTest.java27 final String text = "test newSpannable"; in testNewSpannable() local
/cts/tests/tests/widget/src/android/widget/cts/
DMultiAutoCompleteTextViewTest.java169 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()
DMultiAutoCompleteTextView_CommaTokenizerTest.java105 String text = "end with comma,"; in testTerminateToken() local
/cts/tests/tests/text/src/android/text/method/cts/
DTextKeyListenerTest.java82 final Spannable text = new SpannableStringBuilder("123456"); in testOnSpanAdded() local
132 final Spannable text = new SpannableStringBuilder("123456"); in testOnSpanChanged() local
146 CharSequence text = "123456"; in testClear() local
158 final Spannable text = new SpannableStringBuilder("123456"); in testOnSpanRemoved() local
197 String text = mTextView.getText().toString(); in testPressKey() local
212 final String text = "abcd"; in testOnKeyOther() local
DMultiTapKeyListenerTest.java49 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/
DListItemFactory.java154 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/tests/text/src/android/text/util/cts/
DLinkifyTest.java113 String text = "www.google.com, name@gmail.com"; in testAddLinks2() local
140 String text = "Alan, Charlie"; in testAddLinks3() local
184 String text = "FilterUpperCase.pattern, 12.345.pattern"; in testAddLinks4() local
234 String text = "google.pattern, test:AZ0101.pattern"; in testAddLinks5() local
264 String text = "FilterUpperCase.pattern, 12.345.pattern"; in testAddLinks6() local
DRfc822TokenizerTest.java39 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/accessibilityservice/src/android/accessibilityservice/cts/
DAccessibilityTextTraversalTest.java55 final AccessibilityNodeInfo text = getInstrumentation().getUiAutomation() in testActionNextAndPreviousAtGranularityCharacterOverContentDescription() local
270 final AccessibilityNodeInfo text = getInstrumentation().getUiAutomation() in testActionNextAndPreviousAtGranularityWordOverContentDescription() local
485 final AccessibilityNodeInfo text = getInstrumentation().getUiAutomation() in testActionNextAndPreviousAtGranularityCharacterOverText() local
735 final AccessibilityNodeInfo text = getInstrumentation().getUiAutomation() in testActionNextAndPreviousAtGranularityCharacterOverTextExtend() local
1233 final AccessibilityNodeInfo text = getInstrumentation().getUiAutomation() in testActionNextAndPreviousAtGranularityWordOverText() local
1483 final AccessibilityNodeInfo text = getInstrumentation().getUiAutomation() in testActionNextAndPreviousAtGranularityWordOverEditTextWithContentDescription() local
1738 final AccessibilityNodeInfo text = getInstrumentation().getUiAutomation() in testActionNextAndPreviousAtGranularityWordOverTextExtend() local
2232 final AccessibilityNodeInfo text = getInstrumentation().getUiAutomation() in testActionNextAndPreviousAtGranularityLineOverText() local
2487 final AccessibilityNodeInfo text = getInstrumentation().getUiAutomation() in testActionNextAndPreviousAtGranularityLineOverTextExtend() local
2982 final AccessibilityNodeInfo text = getInstrumentation().getUiAutomation() in testActionNextAndPreviousAtGranularityPageOverText() local
[all …]
/cts/libs/vogar-expect/src/vogar/util/
DMarkResetConsole.java34 public void println(String text) { in println()
38 public void print(String text) { in print()
/cts/tests/tests/text/src/android/text/style/cts/
DIconMarginSpanTest.java57 Spanned text = Html.fromHtml("<b>hello</b>"); in testDrawLeadingMargin() local
81 Spanned text = Html.fromHtml("cts test."); in testChooseHeight() local
DDrawableMarginSpanTest.java64 Spanned text = Html.fromHtml("<b>hello</b>"); in testDrawLeadingMargin() local
100 Spanned text = Html.fromHtml("cts test."); in testChooseHeight() local
DReplacementSpanTest.java42 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()
DBulletSpanTest.java61 Spanned text = Html.fromHtml("<b>hello</b>"); in testDrawLeadingMargin() local
71 String text = "cts test."; in testDrawLeadingMarginFailure() local
/cts/tests/tests/telephony/src/android/telephony/gsm/cts/
DSmsManagerTest.java33 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/
DExtractedTextTest.java32 CharSequence text = "test"; in testWriteToParcel() local
DBaseInputConnectionTest.java94 Spannable text = new SpannableString("Test ComposingSpans"); in testOpComposingSpans() local
125 final Editable text = mConnection.getEditable(); in testOpTextMethods() local
189 final Editable text = mConnection.getEditable(); in testFinishComposingText() local
/cts/hostsidetests/devicepolicy/app/IntentSender/src/com/android/cts/intent/sender/
DCopyPasteTest.java91 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/
DIntentReceiverActivity.java67 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/
DNfcTestActivity.java127 private Bitmap createSampleImage(String text) { in createSampleImage()
145 private Uri createUriForImage(String name, String text) { in createUriForImage()
/cts/apps/CtsVerifier/src/com/android/cts/verifier/usb/
DUsbAccessoryTestActivity.java211 String text = new String(buffer, 0, numRead).trim(); in handleReceivedMessage() local
223 String text = "Message from Android device #" + mNextMessageNumber++; in sendMessage() local
281 void sendReceivedMessage(String text) { in sendReceivedMessage()
287 void sendSentMessage(String text) { in sendSentMessage()
/cts/hostsidetests/theme/app/src/android/theme/app/
DDisplayInfoActivity.java47 TextView text = (TextView) findViewById(R.id.text); in onCreate() local

123