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.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()
DRemoteViewsRecyclingTest.java95 View text2 = container.getChildAt(1); in recycleWhenIdentical() local
103 assertNotSame("TextViews without stable id", text2, container.getChildAt(1)); in recycleWhenIdentical()
126 View text2 = container.getChildAt(1); in doesntRecycleWhenNotAskingForRecycling() local
133 assertNotSame("TextViews with stable id AFTER_TEXT_ID", text2, container.getChildAt(1)); in doesntRecycleWhenNotAskingForRecycling()
155 View text2 = container.getChildAt(1); in recycleWhenInsertView() local
167 assertSame("TextViews with stable id AFTER_TEXT_ID", text2, container.getChildAt(2)); in recycleWhenInsertView()
190 View text2 = container.getChildAt(2); in recycleWhenRemovingMiddleView() local
201 assertSame("TextViews with stable id AFTER_TEXT_ID", text2, container.getChildAt(1)); in recycleWhenRemovingMiddleView()
223 View text2 = container.getChildAt(1); in recycleWhenAddingAtEnd() local
234 assertSame("TextViews with stable id AFTER_TEXT_ID", text2, container.getChildAt(1)); in recycleWhenAddingAtEnd()
[all …]
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.java674 final CharSequence text2 = in testAccessAutoLinkMask() local
678 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/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/inputmethod/src/android/view/inputmethod/cts/
DBaseInputConnectionTest.java127 final Editable text2 = connection.getEditable(); in testOpTextMethods() local
129 assertEquals(strLength, text2.length()); in testOpTextMethods()
130 assertEquals(str.toString(), text2.toString()); in testOpTextMethods()
143 int end = text2.length(); in testOpTextMethods()
/cts/tests/tests/graphics/src/android/graphics/cts/
DPaintTest.java1120 String text2 = "hello world";
1123 p.getTextBounds(text2, 0, text1.length(), bounds2);
1127 p.getTextBounds(text2, 0, text2.length(), bounds2);