Home
last modified time | relevance | path

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

/cts/tests/tests/widget/src/android/widget/cts/
DTwoLineListItemTest.java119 TextView text2 = new TextView(mActivity); in testOnFinishInflate() local
120 text2.setId(android.R.id.text2); in testOnFinishInflate()
124 twoLineListItem.addView(text2, params); in testOnFinishInflate()
130 assertSame(text2, twoLineListItem.getText2()); in testOnFinishInflate()
DRemoteViewsRecyclingTest.java106 View text2 = container.getChildAt(1); in recycleWhenIdentical() local
114 assertNotSame("TextViews without stable id", text2, container.getChildAt(1)); in recycleWhenIdentical()
137 View text2 = container.getChildAt(1); in doesntRecycleWhenNotAskingForRecycling() local
144 assertNotSame("TextViews with stable id AFTER_TEXT_ID", text2, container.getChildAt(1)); in doesntRecycleWhenNotAskingForRecycling()
166 View text2 = container.getChildAt(1); in recycleWhenInsertView() local
178 assertSame("TextViews with stable id AFTER_TEXT_ID", text2, container.getChildAt(2)); in recycleWhenInsertView()
201 View text2 = container.getChildAt(2); in recycleWhenRemovingMiddleView() local
212 assertSame("TextViews with stable id AFTER_TEXT_ID", text2, container.getChildAt(1)); in recycleWhenRemovingMiddleView()
234 View text2 = container.getChildAt(1); in recycleWhenAddingAtEnd() local
245 assertSame("TextViews with stable id AFTER_TEXT_ID", text2, container.getChildAt(1)); in recycleWhenAddingAtEnd()
[all …]
DDialerFilterTest.java413 final EditText text2 = new EditText(mActivity); in createMyDialerFilter() local
414 text2.setId(android.R.id.primary); in createMyDialerFilter()
419 dialerFilter.addView(text2, new RelativeLayout.LayoutParams( in createMyDialerFilter()
DTextViewTest.java734 final CharSequence text2 = in testAccessAutoLinkMask() local
738 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.java169 TextView text2 = (TextView) view.findViewById(android.R.id.text2); in getView() local
171 text2.setText(value); 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/inputmethod/src/android/view/inputmethod/cts/
DBaseInputConnectionTest.java136 final Editable text2 = connection.getEditable(); in testOpTextMethods() local
138 assertEquals(strLength, text2.length()); in testOpTextMethods()
139 assertEquals(str.toString(), text2.toString()); in testOpTextMethods()
152 int end = text2.length(); in testOpTextMethods()
/cts/tests/tests/text/src/android/text/cts/
DBoringLayoutTest.java557 String text2 = "Hello, Android"; in testSetGetUseFallbackLineSpacing_True() local
573 BoringLayout bl2 = bl.replaceOrMake(text2, paint, in testSetGetUseFallbackLineSpacing_True()
589 String text2 = "Hello, Android"; in testSetGetUseFallbackLineSpacing_False() local
605 BoringLayout bl2 = bl.replaceOrMake(text2, paint, in testSetGetUseFallbackLineSpacing_False()
/cts/tests/tests/graphics/src/android/graphics/cts/
DPaintTest.java1137 String text2 = "hello world";
1140 p.getTextBounds(text2, 0, text1.length(), bounds2);
1144 p.getTextBounds(text2, 0, text2.length(), bounds2);
/cts/common/device-side/bedstead/remoteframeworkclasses/java/apis/
Dcurrent.txt2445 field public static final int text2 = 16908309; // 0x1020015