Home
last modified time | relevance | path

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

12

/cts/tests/tests/text/src/android/text/cts/
DSelectionTest.java37 CharSequence text = "hello, world"; in testGetSelectionStart() local
59 CharSequence text = "hello, world"; in testGetSelectionEnd() local
83 CharSequence text = "hello, world"; in testSetSelection1() local
163 CharSequence text = "hello, world"; in testRemoveSelection() local
194 CharSequence text = "hello, world"; in testSelectAll() local
233 CharSequence text = "hello\nworld"; in testMoveLeft() local
291 CharSequence text = "hello\nworld"; in testMoveRight() local
352 CharSequence text = "Google\nhello,world"; in testMoveUp() local
401 CharSequence text = "hello,world\nGoogle"; in testMoveDown() local
458 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.java206 CharSequence text = "hi"; in testReplace1() local
241 CharSequence text = "ahiabc"; in testReplace2() local
294 CharSequence text = builder.subSequence(0, 2); in testSubSequence() local
DTextUtilsTest.java78 String text = "xxxxx"; in getEllipsis() local
94 String text = "long, string, to, truncate"; in testCommaEllipsize() local
214 String text = "content"; in testCopySpansFrom() local
373 CharSequence text = "long string to truncate"; in testEllipsize() local
447 String text = "long string to truncate"; in testEllipsizeCallback() local
973 public MockCharSequence(String text) { in MockCharSequence()
1007 SpannableString text = new SpannableString( in testGetOffsetAfter() local
1050 public void draw(Canvas canvas, CharSequence text, int start, int end, float x, int top, in draw()
1055 public int getSize(Paint paint, CharSequence text, int start, int end, FontMetricsInt fm) { in getSize()
1074 SpannableString text = new SpannableString( in testGetOffsetBefore() local
[all …]
/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
DAutoCompleteTextViewTest.java722 final CharSequence text = "this"; in testPerformValidation() local
898 public boolean isValid(CharSequence text) { in isValid()
951 protected void onTextChanged(CharSequence text, int start, int before, int after) { in onTextChanged()
961 protected void performFiltering(CharSequence text, int keyCode) { in performFiltering()
966 protected void replaceText(CharSequence text) { in replaceText()
DChronometerTest.java132 String text = chronometer.getText().toString(); in testAccessFormat() local
/cts/tests/tests/text/src/android/text/util/cts/
DLinkifyTest.java134 String text = "www.google.com, name@gmail.com"; in testAddLinks2() local
169 String text = "Alan, Charlie"; in testAddLinks3() local
224 String text = "FilterUpperCase.pattern, 12.345.pattern"; in testAddLinks4() local
277 String text = "google.pattern, test:AZ0101.pattern"; in testAddLinks5() local
318 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/tests/telephony/src/android/telephony/cts/
DPhoneNumberFormattingTextWatcherTest.java54 TextView text = new TextView(getContext()); in testPhoneNumberFormattingTextWatcher() local
DSmsManagerTest.java173 protected ArrayList<String> divideMessage(String text) { in divideMessage()
190 …protected void sendTextMessage(String destAddr, String text, PendingIntent sentIntent, PendingInte… in sendTextMessage()
/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
473 final Spannable text = new SpannableStringBuilder("123456"); in testOnSpanRemoved() local
DMetaKeyKeyListenerTest.java163 Spannable text = Editable.Factory.getInstance().newEditable(str); in testResetMetaState() local
336 Editable text = Editable.Factory.getInstance().newEditable(str); in testClearMetaKeyState() local
367 Editable text = Editable.Factory.getInstance().newEditable(str); in testClearMetaKeyState2() local
DCharacterPickerDialogTest.java90 Editable text = Editable.Factory.getInstance().newEditable(str); in testOnItemClick() local
/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.java41 protected ArrayList<String> divideMessage(String text) { in divideMessage()
61 …protected void sendTextMessage(String destAddr, String text, PendingIntent sentIntent, PendingInte… in sendTextMessage()

12