| /cts/tests/tests/text/src/android/text/cts/ |
| D | SelectionTest.java | 37 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 …]
|
| D | SpannedStringTest.java | 56 String text = "test valueOf"; in testValueOf() local 79 String text = "hello, world"; in testSubSequence() local
|
| D | SpannableStringTest.java | 55 String text = "test valueOf"; in testValueOf() local 78 String text = "hello, world"; in testSetSpan() local 143 String text = "hello, world"; in testSubSequence() local
|
| D | Spannable_FactoryTest.java | 39 final String text = "test newSpannable"; in testNewSpannable() local
|
| D | SpannableStringBuilderTest.java | 206 CharSequence text = "hi"; in testReplace1() local 241 CharSequence text = "ahiabc"; in testReplace2() local 294 CharSequence text = builder.subSequence(0, 2); in testSubSequence() local
|
| D | TextUtilsTest.java | 78 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/ |
| D | MultiAutoCompleteTextViewTest.java | 229 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()
|
| D | TextView_SaveStateTest.java | 71 private Parcel creatTestParcel(int start, int end, boolean frozenWithFocus, String text) { in creatTestParcel()
|
| D | MultiAutoCompleteTextView_CommaTokenizerTest.java | 138 String text = "end with comma,"; in testTerminateToken() local
|
| D | AutoCompleteTextViewTest.java | 722 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()
|
| D | ChronometerTest.java | 132 String text = chronometer.getText().toString(); in testAccessFormat() local
|
| /cts/tests/tests/text/src/android/text/util/cts/ |
| D | LinkifyTest.java | 134 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
|
| D | Rfc822TokenizerTest.java | 56 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/ |
| D | PhoneNumberFormattingTextWatcherTest.java | 54 TextView text = new TextView(getContext()); in testPhoneNumberFormattingTextWatcher() local
|
| D | SmsManagerTest.java | 173 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/ |
| 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/tests/tests/text/src/android/text/method/cts/ |
| D | TextKeyListenerTest.java | 126 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
|
| D | MultiTapKeyListenerTest.java | 86 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
|
| D | MetaKeyKeyListenerTest.java | 163 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
|
| D | CharacterPickerDialogTest.java | 90 Editable text = Editable.Factory.getInstance().newEditable(str); in testOnItemClick() local
|
| /cts/tests/tests/text/src/android/text/style/cts/ |
| D | IconMarginSpanTest.java | 97 Spanned text = Html.fromHtml("<b>hello</b>"); in testDrawLeadingMargin() local 132 Spanned text = Html.fromHtml("cts test."); in testChooseHeight() local
|
| D | DrawableMarginSpanTest.java | 106 Spanned text = Html.fromHtml("<b>hello</b>"); in testDrawLeadingMargin() local 153 Spanned text = Html.fromHtml("cts test."); in testChooseHeight() local
|
| D | ReplacementSpanTest.java | 59 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()
|
| D | BulletSpanTest.java | 111 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/ |
| D | SmsManagerTest.java | 41 protected ArrayList<String> divideMessage(String text) { in divideMessage() 61 …protected void sendTextMessage(String destAddr, String text, PendingIntent sentIntent, PendingInte… in sendTextMessage()
|