Home
last modified time | relevance | path

Searched defs:text (Results 1 – 25 of 75) 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 …]
DSpannedStringTest.java34 String text = "test valueOf"; in testValueOf() local
49 String text = "hello, world"; in testSubSequence() local
DSpannableStringTest.java42 String text = "test valueOf"; in testValueOf() local
58 String text = "hello, world"; in testSetSpan() local
111 String text = "hello, world"; in testSubSequence() local
DSpannableStringBuilderTest.java170 CharSequence text = "hi"; in testReplace1() local
202 CharSequence text = "ahiabc"; in testReplace2() local
277 CharSequence text = builder.subSequence(0, 2); in testSubSequence() local
582 String text = "p_in_s"; in testGetSpans_returnsEmptyIfSetSpanIsNotCalled() local
590 String text = "p_in_s"; in testGetSpans_returnsSpansInInsertionOrderWhenTheLaterCoversTheFirst() local
608 String text = "p_in_s"; in testGetSpans_returnsSpansSortedFirstByPriorityThenByInsertionOrder() local
635 String text = "p_in_s"; in testGetSpans_returnsSpansInInsertionOrderAfterRemoveSpanCalls() local
660 String text = "p_in_s"; in testGetSpans_sortsByPriorityEvenWhenSortParamIsFalse() 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()
DTextViewFadingEdgeTest.java143 private final MockTextView createTextView(String text, boolean horizontalFadingEnabled, in createTextView()
188 final String text; field in TextViewFadingEdgeTest.TestCase
196 TestCase(String errorMsg, String text, boolean horizontalFadingEnabled, int gravity, in TestCase()
209 TestCase(String errorMsg, String text, boolean horizontalFadingEnabled, int gravity, in TestCase()
DMultiAutoCompleteTextView_CommaTokenizerTest.java105 String text = "end with comma,"; in testTerminateToken() local
/cts/tests/accessibilityservice/src/android/accessibilityservice/cts/
DAccessibilityTextActionTest.java59 final AccessibilityNodeInfo text = mUiAutomation.getRootInActiveWindow() in testNotEditableTextView_shouldNotExposeOrRespondToSetTextAction() local
87 final AccessibilityNodeInfo text = mUiAutomation.getRootInActiveWindow() in testEditableTextView_shouldExposeAndRespondToSetTextAction() local
119 final AccessibilityNodeInfo text = mUiAutomation.getRootInActiveWindow() in testEditText_shouldExposeAndRespondToSetTextAction() local
DAccessibilityTextTraversalTest.java58 final AccessibilityNodeInfo text = getInstrumentation().getUiAutomation() in testActionNextAndPreviousAtGranularityCharacterOverContentDescription() local
273 final AccessibilityNodeInfo text = getInstrumentation().getUiAutomation() in testActionNextAndPreviousAtGranularityWordOverContentDescription() local
488 final AccessibilityNodeInfo text = getInstrumentation().getUiAutomation() in testActionNextAndPreviousAtGranularityCharacterOverText() local
738 final AccessibilityNodeInfo text = getInstrumentation().getUiAutomation() in testActionNextAndPreviousAtGranularityCharacterOverTextExtend() local
1236 final AccessibilityNodeInfo text = getInstrumentation().getUiAutomation() in testActionNextAndPreviousAtGranularityWordOverText() local
1486 final AccessibilityNodeInfo text = getInstrumentation().getUiAutomation() in testActionNextAndPreviousAtGranularityWordOverEditTextWithContentDescription() local
1741 final AccessibilityNodeInfo text = getInstrumentation().getUiAutomation() in testActionNextAndPreviousAtGranularityWordOverTextExtend() local
2235 final AccessibilityNodeInfo text = getInstrumentation().getUiAutomation() in testActionNextAndPreviousAtGranularityLineOverText() local
2490 final AccessibilityNodeInfo text = getInstrumentation().getUiAutomation() in testActionNextAndPreviousAtGranularityLineOverTextExtend() local
2985 final AccessibilityNodeInfo text = getInstrumentation().getUiAutomation() in testActionNextAndPreviousAtGranularityPageOverText() local
[all …]
/cts/tests/tests/text/src/android/text/method/cts/
DTextKeyListenerTest.java88 final Spannable text = new SpannableStringBuilder("123456"); in testOnSpanAdded() local
138 final Spannable text = new SpannableStringBuilder("123456"); in testOnSpanChanged() local
152 CharSequence text = "123456"; in testClear() local
164 final Spannable text = new SpannableStringBuilder("123456"); in testOnSpanRemoved() local
203 String text = mTextView.getText().toString(); in testPressKey() local
218 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/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/text/src/android/text/util/cts/
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/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.java97 Spannable text = new SpannableString("Test ComposingSpans"); in testOpComposingSpans() local
128 final Editable text = mConnection.getEditable(); in testOpTextMethods() local
192 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()

123