/cts/tests/tests/text/src/android/text/cts/ |
D | SelectionTest.java | 38 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 …]
|
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 | 207 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/ |
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
|
/cts/tests/tests/telephony/src/android/telephony/cts/ |
D | PhoneNumberFormattingTextWatcherTest.java | 54 TextView text = new TextView(getContext()); in testPhoneNumberFormattingTextWatcher() local
|
/cts/tests/tests/text/src/android/text/util/cts/ |
D | LinkifyTest.java | 129 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
|
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/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 284 final Spannable text = new SpannableStringBuilder("123456"); in testOnSpanRemoved() local
|
D | ArrowKeyMovementMethodTest.java | 1212 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/ |
D | MarkResetConsole.java | 34 public void println(String text) { in println() 38 public void print(String text) { in print()
|
/cts/tests/tests/view/src/android/view/inputmethod/cts/ |
D | ExtractedTextTest.java | 49 CharSequence text = "test"; in testWriteToParcel() local
|
D | BaseInputConnectionTest.java | 152 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
|
D | InputConnectionWrapperTest.java | 239 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/ |
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 | 42 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/ |
D | UsbAccessoryTestActivity.java | 211 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()
|