Home
last modified time | relevance | path

Searched refs:text2 (Results 1 – 9 of 9) sorted by relevance

/cts/tests/tests/widget/src/android/widget/cts/
DTwoLineListItemTest.java109 TextView text2 = new TextView(mActivity); in testOnFinishInflate() local
110 text2.setId(android.R.id.text2); in testOnFinishInflate()
114 twoLineListItem.addView(text2, params); in testOnFinishInflate()
120 assertSame(text2, twoLineListItem.getText2()); in testOnFinishInflate()
DDialerFilterTest.java405 final EditText text2 = new EditText(mActivity); in createMyDialerFilter() local
406 text2.setId(android.R.id.primary); in createMyDialerFilter()
411 dialerFilter.addView(text2, new RelativeLayout.LayoutParams( in createMyDialerFilter()
DTextViewTest.java542 final CharSequence text2 = in testAccessAutoLinkMask() local
546 mTextView.setText(text2, BufferType.EDITABLE); in testAccessAutoLinkMask()
/cts/tests/tests/text/src/android/text/util/cts/
DRfc822TokenizerTest.java99 String text2 = token1 + "\",\"" + token2 + ";" + token3 + " <;>" + token4 + ","; in testFindTokenEnd() local
100 final int TOKEN_END_POS_2 = text2.indexOf(token2) + token2.length(); in testFindTokenEnd()
101 final int TOKEN_END_POS_4 = text2.indexOf(token4) + token4.length(); in testFindTokenEnd()
102 assertEquals(TOKEN_END_POS_2, rfc822Tokenizer.findTokenEnd(text2, 0)); in testFindTokenEnd()
103 assertEquals(TOKEN_END_POS_4, rfc822Tokenizer.findTokenEnd(text2, TOKEN_END_POS_2 + 1)); in testFindTokenEnd()
/cts/apps/CtsVerifier/src/com/android/cts/verifier/bluetooth/
DBleScannerHardwareScanFilterActivity.java167 TextView text2 = (TextView) view.findViewById(android.R.id.text2); in getView() local
169 text2.setText(value); in getView()
/cts/tests/inputmethod/src/android/view/inputmethod/cts/
DBaseInputConnectionTest.java148 final Editable text2 = mConnection.getEditable(); in testOpTextMethods() local
150 assertEquals(strLength, text2.length()); in testOpTextMethods()
151 assertEquals(str.toString(), text2.toString()); in testOpTextMethods()
171 PollingCheck.waitFor(() -> text2.toString().equals(mView.getText().toString())); in testOpTextMethods()
175 int end = text2.length(); in testOpTextMethods()
/cts/tests/app/app/src/android/app/stubs/
DExpandableListTestActivity.java71 new String[] { NAME, IS_EVEN }, new int[] { R.id.text1, R.id.text2 }, childData, in onCreate()
73 new String[] { NAME, IS_EVEN }, new int[] { R.id.text1, R.id.text2 }); in onCreate()
/cts/tests/tests/graphics/src/android/graphics/cts/
DPaintTest.java982 String text2 = "hello world"; in testGetTextBounds() local
985 p.getTextBounds(text2, 0, text1.length(), bounds2); in testGetTextBounds()
989 p.getTextBounds(text2, 0, text2.length(), bounds2); in testGetTextBounds()
/cts/tools/dex-tools/dex/
Dclasses.out.dex1806 public static final int text2
112740 public static final int text2