Home
last modified time | relevance | path

Searched refs:text1 (Results 1 – 19 of 19) 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()
DRemoteViewsRecyclingTest.java94 View text1 = container.getChildAt(0); in recycleWhenIdentical() local
102 assertSame("TextViews with stable id FIRST_TEXT_ID", text1, container.getChildAt(0)); in recycleWhenIdentical()
125 View text1 = container.getChildAt(0); in doesntRecycleWhenNotAskingForRecycling() local
132 assertNotSame("TextViews with stable id FIRST_TEXT_ID", text1, container.getChildAt(0)); in doesntRecycleWhenNotAskingForRecycling()
154 View text1 = container.getChildAt(0); in recycleWhenInsertView() local
166 assertSame("TextViews with stable id FIRST_TEXT_ID", text1, container.getChildAt(0)); in recycleWhenInsertView()
189 View text1 = container.getChildAt(0); in recycleWhenRemovingMiddleView() local
200 assertSame("TextViews with stable id FIRST_TEXT_ID", text1, container.getChildAt(0)); in recycleWhenRemovingMiddleView()
222 View text1 = container.getChildAt(0); in recycleWhenAddingAtEnd() local
233 assertSame("TextViews with stable id FIRST_TEXT_ID", text1, container.getChildAt(0)); in recycleWhenAddingAtEnd()
[all …]
DRemoteViewsFixedCollectionAdapterTest.java252 item0.setTextViewText(android.R.id.text1, "Hello"); in testSetRemoteAdapter_withItems()
255 item1.setTextViewText(android.R.id.text1, "World"); in testSetRemoteAdapter_withItems()
300 item0.setTextViewText(android.R.id.text1, "Hello"); in testSetRemoteAdapter_checkedChangeListener()
303 item1.setTextViewText(android.R.id.text1, "World"); in testSetRemoteAdapter_checkedChangeListener()
369 item0.setTextViewText(android.R.id.text1, "Hello"); in testSetRemoteAdapter_clickFillListener()
370 item0.setOnClickFillInIntent(android.R.id.text1, new Intent().putExtra("my-extra", 42)); in testSetRemoteAdapter_clickFillListener()
373 item1.setTextViewText(android.R.id.text1, "World"); in testSetRemoteAdapter_clickFillListener()
516 item0.setViewLayoutWidth(android.R.id.text1, 100, TypedValue.COMPLEX_UNIT_DIP); in testSetRemoteAdapter_gridView()
517 item0.setTextViewText(android.R.id.text1, "Hello"); in testSetRemoteAdapter_gridView()
520 item0.setViewLayoutWidth(android.R.id.text1, 100, TypedValue.COMPLEX_UNIT_DIP); in testSetRemoteAdapter_gridView()
[all …]
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.java167 new int[] { android.R.id.text1 }, in setup()
DListPopupWindowTest.java645 ((TextView) selectedView.findViewById(android.R.id.text1)).getText()); in testAccessSelection()
661 ((TextView) selectedView.findViewById(android.R.id.text1)).getText()); in testAccessSelection()
1081 viewHolder.title = convertView.findViewById(android.R.id.text1); in configure()
DListViewTest.java1127 final CharSequence oldText = ((TextView) oldItem.findViewById(android.R.id.text1)) in testTransientStateUnstableIds()
1138 final CharSequence newText = ((TextView) newItem.findViewById(android.R.id.text1)) in testTransientStateUnstableIds()
1155 final CharSequence oldText = ((TextView) oldItem.findViewById(android.R.id.text1)) in testTransientStateStableIds()
1167 final CharSequence newText = ((TextView) newItem.findViewById(android.R.id.text1)) in testTransientStateStableIds()
DTextViewTest.java658 final CharSequence text1 = in testAccessAutoLinkMask() local
662 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.java1108 String text1 = "hello";
1112 p.getTextBounds(text1, 0, text1.length(), bounds1);
1113 char[] textChars1 = text1.toCharArray();
1115 CharSequence charSequence1 = new StringBuilder(text1);
1123 p.getTextBounds(text2, 0, text1.length(), bounds2);
1133 p.getTextBounds(text1, 0, text1.length(), bounds2);
/cts/tests/autofillservice/src/android/autofillservice/cts/commontests/
DAutoFillServiceTestCase.java457 presentation.setTextViewText(R.id.text1, message);
/cts/tests/app/src/android/app/cts/
DAlertDialog_BuilderTest.java539 android.R.layout.select_dialog_singlechoice, android.R.id.text1, items), 0, in testSetSingleChoiceItems()
/cts/tests/autofillservice/src/android/autofillservice/cts/dropdown/
DLoginActivityTest.java2509 presentation.setTextViewText(R.id.text1, "Poke"); in testClickCustomButton()
2511 presentation.setOnClickPendingIntent(R.id.text1, PendingIntent.getActivity( in testClickCustomButton()
/cts/tests/autofillservice/src/android/autofillservice/cts/testcore/
DHelper.java1542 presentation.setTextViewText(R.id.text1, message); in createPresentation()