Home
last modified time | relevance | path

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

12

/cts/tests/tests/text/src/android/text/cts/
DSelectionTest.java38 CharSequence text = "hello, world"; in testGetSelectionStart() local
60 CharSequence text = "hello, world"; in testGetSelectionEnd() local
84 CharSequence text = "hello, world"; in testSetSelection1() local
151 CharSequence text = "hello, world"; in testRemoveSelection() local
175 CharSequence text = "hello, world"; in testSelectAll() local
206 CharSequence text = "hello\nworld"; in testMoveLeft() local
238 CharSequence text = "hello\nworld"; in testMoveRight() local
274 CharSequence text = "Google\nhello,world"; in testMoveUp() local
313 CharSequence text = "hello,world\nGoogle"; in testMoveDown() local
350 CharSequence text = "hello, world"; in testExtendSelection() local
[all …]
DSpannedStringTest.java56 String text = "test valueOf"; in testValueOf() local
79 String text = "hello, world"; in testSubSequence() local
DSpannableStringTest.java55 String text = "test valueOf"; in testValueOf() local
78 String text = "hello, world"; in testSetSpan() local
143 String text = "hello, world"; in testSubSequence() local
DSpannable_FactoryTest.java39 final String text = "test newSpannable"; in testNewSpannable() local
DSpannableStringBuilderTest.java207 CharSequence text = "hi"; in testReplace1() local
242 CharSequence text = "ahiabc"; in testReplace2() local
317 CharSequence text = builder.subSequence(0, 2); in testSubSequence() local
/cts/tests/tests/widget/src/android/widget/cts/
DMultiAutoCompleteTextViewTest.java229 String text = "Android test."; in testPerformFiltering() local
251 String text = "CTS."; in testReplaceText() local
267 public int findTokenStart(CharSequence text, int cursor) { in findTokenStart()
284 public int findTokenEnd(CharSequence text, int cursor) { in findTokenEnd()
299 public CharSequence terminateToken(CharSequence text) { in terminateToken()
327 public boolean isValid(CharSequence text) { in isValid()
344 protected void performFiltering(CharSequence text, int keyCode) { in performFiltering()
348 protected void performFiltering(CharSequence text, int start, int end, int keyCode) { in performFiltering()
352 protected void replaceText(CharSequence text) { in replaceText()
DTextView_SaveStateTest.java71 private Parcel creatTestParcel(int start, int end, boolean frozenWithFocus, String text) { in creatTestParcel()
DMultiAutoCompleteTextView_CommaTokenizerTest.java138 String text = "end with comma,"; in testTerminateToken() local
/cts/tests/tests/telephony/src/android/telephony/cts/
DPhoneNumberFormattingTextWatcherTest.java54 TextView text = new TextView(getContext()); in testPhoneNumberFormattingTextWatcher() local
/cts/tests/tests/text/src/android/text/util/cts/
DLinkifyTest.java129 String text = "www.google.com, name@gmail.com"; in testAddLinks2() local
163 String text = "Alan, Charlie"; in testAddLinks3() local
216 String text = "FilterUpperCase.pattern, 12.345.pattern"; in testAddLinks4() local
272 String text = "google.pattern, test:AZ0101.pattern"; in testAddLinks5() local
311 String text = "FilterUpperCase.pattern, 12.345.pattern"; in testAddLinks6() local
DRfc822TokenizerTest.java56 String text = ", " + token1 + "\",\"" + token2 + ";" + token3 + " <;>" + token4; in testFindTokenStart() local
137 String text = "text"; in testTerminateToken() local
159 String text = "\"Berg\" (home) <berg\\@google.com>, tom\\@google.com (work)"; in testTokenize() local
/cts/tests/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/method/cts/
DTextKeyListenerTest.java126 final Spannable text = new SpannableStringBuilder("123456"); in testOnSpanAdded() local
193 final Spannable text = new SpannableStringBuilder("123456"); in testOnSpanChanged() local
212 CharSequence text = "123456"; in testClear() local
230 final Spannable text = new SpannableStringBuilder("123456"); in testOnSpanRemoved() local
292 String text = mTextView.getText().toString(); in testPressKey() local
312 final String text = "abcd"; in testOnKeyOther() local
DMultiTapKeyListenerTest.java86 final Spannable text = new SpannableStringBuilder("123456"); in testOnSpanAdded() local
110 final Spannable text = new SpannableStringBuilder("123456"); in testOnSpanChanged() local
284 final Spannable text = new SpannableStringBuilder("123456"); in testOnSpanRemoved() local
DArrowKeyMovementMethodTest.java1212 CharSequence text = mTextView.getText(); in checkMoveFromInsideWord() local
1240 private void initTextViewWithNullLayout(CharSequence text) { in initTextViewWithNullLayout()
1287 private static void assertCharSequenceIndexEquals(CharSequence text, int expected, int actual) { in assertCharSequenceIndexEquals()
1293 private static String getCursorSnippet(CharSequence text, int index) { in getCursorSnippet()
/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/view/src/android/view/inputmethod/cts/
DExtractedTextTest.java49 CharSequence text = "test"; in testWriteToParcel() local
DBaseInputConnectionTest.java152 Spannable text = new SpannableString("Test ComposingSpans"); in testOpComposingSpans() local
230 final Editable text = mConnection.getEditable(); in testOpTextMethods() local
306 final Editable text = mConnection.getEditable(); in testFinishComposingText() local
DInputConnectionWrapperTest.java239 public boolean commitCompletion(CompletionInfo text) { in commitCompletion()
249 public boolean commitText(CharSequence text, int newCursorPosition) { in commitText()
319 public boolean setComposingText(CharSequence text, int newCursorPosition) { in setComposingText()
/cts/tests/tests/text/src/android/text/style/cts/
DIconMarginSpanTest.java97 Spanned text = Html.fromHtml("<b>hello</b>"); in testDrawLeadingMargin() local
132 Spanned text = Html.fromHtml("cts test."); in testChooseHeight() local
DDrawableMarginSpanTest.java106 Spanned text = Html.fromHtml("<b>hello</b>"); in testDrawLeadingMargin() local
153 Spanned text = Html.fromHtml("cts test."); in testChooseHeight() local
DReplacementSpanTest.java59 public void draw(Canvas canvas, CharSequence text, int start, int end, in draw()
65 public int getSize(Paint paint, CharSequence text, int start, int end, in getSize()
DBulletSpanTest.java111 Spanned text = Html.fromHtml("<b>hello</b>"); in testDrawLeadingMargin() local
134 String text = "cts test."; in testDrawLeadingMarginFailure() local
/cts/tests/tests/telephony/src/android/telephony/gsm/cts/
DSmsManagerTest.java42 protected ArrayList<String> divideMessage(String text) { in divideMessage()
62 …protected void sendTextMessage(String destAddr, String text, PendingIntent sentIntent, PendingInte… in sendTextMessage()
/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()

12