Home
last modified time | relevance | path

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

/cts/tests/tests/widget/src/android/widget/cts/
DTwoLineListItemTest.java110 TextView text2 = new TextView(mActivity); in testOnFinishInflate() local
111 text2.setId(android.R.id.text2); in testOnFinishInflate()
115 twoLineListItem.addView(text2, params); in testOnFinishInflate()
121 assertSame(text2, twoLineListItem.getText2()); in testOnFinishInflate()
DDialerFilterTest.java403 final EditText text2 = new EditText(mActivity); in createMyDialerFilter() local
404 text2.setId(android.R.id.primary); in createMyDialerFilter()
409 dialerFilter.addView(text2, new RelativeLayout.LayoutParams( in createMyDialerFilter()
DTextViewTest.java551 final CharSequence text2 = in testAccessAutoLinkMask() local
555 mTextView.setText(text2, BufferType.EDITABLE); in testAccessAutoLinkMask()
/cts/tests/tests/text/src/android/text/util/cts/
DRfc822TokenizerTest.java100 String text2 = token1 + "\",\"" + token2 + ";" + token3 + " <;>" + token4 + ","; in testFindTokenEnd() local
101 final int TOKEN_END_POS_2 = text2.indexOf(token2) + token2.length(); in testFindTokenEnd()
102 final int TOKEN_END_POS_4 = text2.indexOf(token4) + token4.length(); in testFindTokenEnd()
103 assertEquals(TOKEN_END_POS_2, rfc822Tokenizer.findTokenEnd(text2, 0)); in testFindTokenEnd()
104 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.java124 final Editable text2 = connection.getEditable(); in testOpTextMethods() local
126 assertEquals(strLength, text2.length()); in testOpTextMethods()
127 assertEquals(str.toString(), text2.toString()); in testOpTextMethods()
140 int end = text2.length(); in testOpTextMethods()
/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 text2 = "hello world";
1111 p.getTextBounds(text2, 0, text1.length(), bounds2);
1115 p.getTextBounds(text2, 0, text2.length(), bounds2);