Home
last modified time | relevance | path

Searched refs:text1 (Results 1 – 16 of 16) sorted by relevance

/cts/tests/tests/widget/src/android/widget/cts/
DSimpleExpandableListAdapterTest.java59 android.R.id.text1
63 android.R.id.text1
204 ((TextView) result.findViewById(android.R.id.text1)).getText().toString()); in testGetChildView()
208 convertView.setId(android.R.id.text1); in testGetChildView()
215 convertView.setId(android.R.id.text1); in testGetChildView()
251 assertNotNull(result.findViewById(android.R.id.text1)); in testNewChildView()
255 assertNotNull(result.findViewById(android.R.id.text1)); in testNewChildView()
266 assertNotNull(result.findViewById(android.R.id.text1)); in testNewChildView()
270 assertNotNull(result.findViewById(android.R.id.text1)); in testNewChildView()
358 ((TextView) result.findViewById(android.R.id.text1)).getText().toString()); in testGetGroupView()
[all …]
DTwoLineListItemTest.java108 TextView text1 = new TextView(mActivity); in testOnFinishInflate() local
109 text1.setId(android.R.id.text1); in testOnFinishInflate()
114 twoLineListItem.addView(text1, params); in testOnFinishInflate()
120 assertSame(text1, twoLineListItem.getText1()); in testOnFinishInflate()
DSimpleAdapterTest.java71 private static final int[] VIEWS_TO = new int[] { android.R.id.text1 };
228 ((TextView) result.findViewById(android.R.id.text1)).getText().toString()); in testSetDropDownViewResource()
233 ((TextView) result.findViewById(android.R.id.text1)).getText().toString()); in testSetDropDownViewResource()
DDialerFilterTest.java401 final EditText text1 = new EditText(mActivity); in createMyDialerFilter() local
402 text1.setId(android.R.id.hint); in createMyDialerFilter()
406 dialerFilter.addView(text1, new RelativeLayout.LayoutParams( in createMyDialerFilter()
DArrayAdapterTest.java76 new ArrayAdapter<String>(mContext, R.layout.simple_dropdown_item_1line, R.id.text1); in testConstructor()
82 new ArrayAdapter<>(mContext, R.layout.simple_dropdown_item_1line, R.id.text1, in testConstructor()
91 new ArrayAdapter<>(mContext, R.layout.simple_dropdown_item_1line, R.id.text1, list); in testConstructor()
DSearchView_CursorTest.java164 new int[] { android.R.id.text1 }, in setup()
DListViewTest.java1102 final CharSequence oldText = ((TextView) oldItem.findViewById(android.R.id.text1)) in testTransientStateUnstableIds()
1113 final CharSequence newText = ((TextView) newItem.findViewById(android.R.id.text1)) in testTransientStateUnstableIds()
1130 final CharSequence oldText = ((TextView) oldItem.findViewById(android.R.id.text1)) in testTransientStateStableIds()
1142 final CharSequence newText = ((TextView) newItem.findViewById(android.R.id.text1)) in testTransientStateStableIds()
DListPopupWindowTest.java644 ((TextView) selectedView.findViewById(android.R.id.text1)).getText()); in testAccessSelection()
660 ((TextView) selectedView.findViewById(android.R.id.text1)).getText()); in testAccessSelection()
1009 viewHolder.title = convertView.findViewById(android.R.id.text1); in configure()
DTextViewTest.java535 final CharSequence text1 = in testAccessAutoLinkMask() local
539 mTextView.setText(text1, BufferType.EDITABLE); in testAccessAutoLinkMask()
/cts/tests/tests/text/src/android/text/util/cts/
DRfc822TokenizerTest.java83 String text1 = ", " + token1; in testFindTokenEnd() local
84 assertEquals(0, rfc822Tokenizer.findTokenEnd(text1, 0)); in testFindTokenEnd()
85 assertEquals(text1.length(), rfc822Tokenizer.findTokenEnd(text1, 1)); in testFindTokenEnd()
89 assertEquals(Integer.MAX_VALUE, rfc822Tokenizer.findTokenEnd(text1, Integer.MAX_VALUE)); in testFindTokenEnd()
92 rfc822Tokenizer.findTokenEnd(text1, -1); in testFindTokenEnd()
/cts/apps/CtsVerifier/src/com/android/cts/verifier/bluetooth/
DBleScannerHardwareScanFilterActivity.java166 TextView text1 = (TextView) view.findViewById(android.R.id.text1); in getView() local
168 text1.setText(key); in getView()
/cts/tests/app/app/src/android/app/stubs/
DExpandableListTestActivity.java74 new String[] { NAME, IS_EVEN }, new int[] { R.id.text1, R.id.text2 }, childData, in onCreate()
76 new String[] { NAME, IS_EVEN }, new int[] { R.id.text1, R.id.text2 }); in onCreate()
/cts/tests/tests/graphics/src/android/graphics/cts/
DPaintTest.java1096 String text1 = "hello";
1100 p.getTextBounds(text1, 0, text1.length(), bounds1);
1101 char[] textChars1 = text1.toCharArray();
1103 CharSequence charSequence1 = new StringBuilder(text1);
1111 p.getTextBounds(text2, 0, text1.length(), bounds2);
1121 p.getTextBounds(text1, 0, text1.length(), bounds2);
/cts/tests/autofillservice/src/android/autofillservice/cts/
DAutoFillServiceTestCase.java408 presentation.setTextViewText(R.id.text1, message);
DLoginActivityTest.java2465 presentation.setTextViewText(R.id.text1, "Poke"); in testClickCustomButton()
2467 presentation.setOnClickPendingIntent(R.id.text1, PendingIntent.getActivity( in testClickCustomButton()
/cts/tests/app/src/android/app/cts/
DAlertDialog_BuilderTest.java556 android.R.layout.select_dialog_singlechoice, android.R.id.text1, items), 0, in testSetSingleChoiceItems()