/cts/tests/tests/widget/src/android/widget/cts/ |
D | TwoLineListItemTest.java | 110 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()
|
D | RemoteViewsRecyclingTest.java | 95 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 …]
|
D | DialerFilterTest.java | 403 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()
|
D | TextViewTest.java | 674 final CharSequence text2 = in testAccessAutoLinkMask() local 678 mTextView.setText(text2, BufferType.EDITABLE); in testAccessAutoLinkMask()
|
/cts/tests/tests/text/src/android/text/util/cts/ |
D | Rfc822TokenizerTest.java | 100 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/ |
D | BleScannerHardwareScanFilterActivity.java | 167 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/ |
D | ExpandableListTestActivity.java | 74 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/ |
D | BaseInputConnectionTest.java | 127 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/ |
D | PaintTest.java | 1120 String text2 = "hello world"; 1123 p.getTextBounds(text2, 0, text1.length(), bounds2); 1127 p.getTextBounds(text2, 0, text2.length(), bounds2);
|