Home
last modified time | relevance | path

Searched refs:text1 (Results 1 – 21 of 21) 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.java117 TextView text1 = new TextView(mActivity); in testOnFinishInflate() local
118 text1.setId(android.R.id.text1); in testOnFinishInflate()
123 twoLineListItem.addView(text1, params); in testOnFinishInflate()
129 assertSame(text1, twoLineListItem.getText1()); in testOnFinishInflate()
DRemoteViewsRecyclingTest.java105 View text1 = container.getChildAt(0); in recycleWhenIdentical() local
113 assertSame("TextViews with stable id FIRST_TEXT_ID", text1, container.getChildAt(0)); in recycleWhenIdentical()
136 View text1 = container.getChildAt(0); in doesntRecycleWhenNotAskingForRecycling() local
143 assertNotSame("TextViews with stable id FIRST_TEXT_ID", text1, container.getChildAt(0)); in doesntRecycleWhenNotAskingForRecycling()
165 View text1 = container.getChildAt(0); in recycleWhenInsertView() local
177 assertSame("TextViews with stable id FIRST_TEXT_ID", text1, container.getChildAt(0)); in recycleWhenInsertView()
200 View text1 = container.getChildAt(0); in recycleWhenRemovingMiddleView() local
211 assertSame("TextViews with stable id FIRST_TEXT_ID", text1, container.getChildAt(0)); in recycleWhenRemovingMiddleView()
233 View text1 = container.getChildAt(0); in recycleWhenAddingAtEnd() local
244 assertSame("TextViews with stable id FIRST_TEXT_ID", text1, container.getChildAt(0)); in recycleWhenAddingAtEnd()
[all …]
DRemoteViewsFixedCollectionAdapterTest.java461 item0.setTextViewText(android.R.id.text1, "Hello"); in testSetRemoteAdapter_withItems()
464 item1.setTextViewText(android.R.id.text1, "World"); in testSetRemoteAdapter_withItems()
511 item0.setTextViewText(android.R.id.text1, "Hello"); in testSetRemoteAdapter_checkedChangeListener()
514 item1.setTextViewText(android.R.id.text1, "World"); in testSetRemoteAdapter_checkedChangeListener()
583 item0.setTextViewText(android.R.id.text1, "Hello"); in testSetRemoteAdapter_clickFillListener()
584 item0.setOnClickFillInIntent(android.R.id.text1, new Intent().putExtra("my-extra", 42)); in testSetRemoteAdapter_clickFillListener()
587 item1.setTextViewText(android.R.id.text1, "World"); in testSetRemoteAdapter_clickFillListener()
738 item0.setViewLayoutWidth(android.R.id.text1, 100, TypedValue.COMPLEX_UNIT_DIP); in testSetRemoteAdapter_gridView()
739 item0.setTextViewText(android.R.id.text1, "Hello"); in testSetRemoteAdapter_gridView()
742 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.java411 final EditText text1 = new EditText(mActivity); in createMyDialerFilter() local
412 text1.setId(android.R.id.hint); in createMyDialerFilter()
416 dialerFilter.addView(text1, new RelativeLayout.LayoutParams( in createMyDialerFilter()
DArrayAdapterTest.java85 new ArrayAdapter<String>(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, in testConstructor()
100 new ArrayAdapter<>(mContext, R.layout.simple_dropdown_item_1line, R.id.text1, list); in testConstructor()
DSearchView_CursorTest.java182 new int[] { android.R.id.text1 }, in setup()
DListPopupWindowTest.java661 ((TextView) selectedView.findViewById(android.R.id.text1)).getText()); in testAccessSelection()
677 ((TextView) selectedView.findViewById(android.R.id.text1)).getText()); in testAccessSelection()
1125 viewHolder.title = convertView.findViewById(android.R.id.text1); in configure()
DListViewTest.java1149 final CharSequence oldText = ((TextView) oldItem.findViewById(android.R.id.text1)) in testTransientStateUnstableIds()
1160 final CharSequence newText = ((TextView) newItem.findViewById(android.R.id.text1)) in testTransientStateUnstableIds()
1177 final CharSequence oldText = ((TextView) oldItem.findViewById(android.R.id.text1)) in testTransientStateStableIds()
1189 final CharSequence newText = ((TextView) newItem.findViewById(android.R.id.text1)) in testTransientStateStableIds()
DTextViewTest.java718 final CharSequence text1 = in testAccessAutoLinkMask() local
722 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.java168 TextView text1 = (TextView) view.findViewById(android.R.id.text1); in getView() local
170 text1.setText(key); in getView()
/cts/tests/app/app/src/android/app/stubs/
DExpandableListTestActivity.java75 new String[] { NAME, IS_EVEN }, new int[] { R.id.text1, R.id.text2 }, childData, in onCreate()
77 new String[] { NAME, IS_EVEN }, new int[] { R.id.text1, R.id.text2 }); in onCreate()
/cts/tests/tests/graphics/src/android/graphics/cts/
DPaintTest.java1125 String text1 = "hello";
1129 p.getTextBounds(text1, 0, text1.length(), bounds1);
1130 char[] textChars1 = text1.toCharArray();
1132 CharSequence charSequence1 = new StringBuilder(text1);
1140 p.getTextBounds(text2, 0, text1.length(), bounds2);
1150 p.getTextBounds(text1, 0, text1.length(), bounds2);
/cts/common/device-side/interactive/src/main/java/com/android/interactive/
DStep.java351 android.R.id.text1, in showWithListItems()
/cts/tests/autofillservice/src/android/autofillservice/cts/commontests/
DAutoFillServiceTestCase.java587 presentation.setTextViewText(R.id.text1, message);
/cts/tests/app/src/android/app/cts/
DAlertDialog_BuilderTest.java502 android.R.layout.select_dialog_singlechoice, android.R.id.text1, in testSetSingleChoiceItems()
/cts/tests/autofillservice/src/android/autofillservice/cts/dropdown/
DLoginActivityTest.java2723 presentation.setTextViewText(R.id.text1, "Poke"); in testClickCustomButton()
2725 presentation.setOnClickPendingIntent(R.id.text1, PendingIntent.getActivity( in testClickCustomButton()
/cts/tests/autofillservice/src/android/autofillservice/cts/testcore/
DHelper.java1653 presentation.setTextViewText(R.id.text1, message); in createPresentation()
/cts/common/device-side/bedstead/remoteframeworkclasses/java/apis/
Dcurrent.txt2444 field public static final int text1 = 16908308; // 0x1020014