Searched refs:tv2 (Results 1 – 3 of 3) sorted by relevance
/cts/tests/tests/widget/src/android/widget/cts/ |
D | TextSwitcherTest.java | 62 TextView tv2 = new TextView(mContext); in testSetText() local 64 tv2.setText(viewText2); in testSetText() 66 textSwitcher.addView(tv2, 1, new ViewGroup.LayoutParams(PARAMS_WIDTH, PARAMS_HEIGHT)); in testSetText() 78 assertSame(tv2, textSwitcher.getCurrentView()); in testSetText() 90 assertSame(tv2, textSwitcher.getCurrentView()); in testSetText() 102 TextView tv2 = new TextView(mContext); in testSetCurrentText() local 104 tv2.setText(viewText2); in testSetCurrentText() 106 textSwitcher.addView(tv2, 1, new ViewGroup.LayoutParams(PARAMS_WIDTH, PARAMS_HEIGHT)); in testSetCurrentText() 137 TextView tv2 = new TextView(mContext); in testAddView() local 152 textSwitcher.addView(tv2, Integer.MAX_VALUE, in testAddView() [all …]
|
D | AbsListViewTest.java | 374 TextView tv2 = (TextView) mActivity.findViewById(R.id.footerview1); in testSetScrollIndicators() local 378 mListView.setScrollIndicators(tv1, tv2); in testSetScrollIndicators() 551 TextView tv2 = (TextView) mActivity.findViewById(R.id.footerview1); in testInvalidateViews() local 555 mListView.setScrollIndicators(tv1, tv2); in testInvalidateViews()
|
/cts/tests/tests/util/src/android/util/cts/ |
D | TypedValueTest.java | 53 TypedValue tv2 = new TypedValue(); in testSetTo() local 61 tv2.setTo(tv1); in testSetTo() 63 assertEquals(1, tv2.assetCookie); in testSetTo() 64 assertEquals(-1, tv2.changingConfigurations); in testSetTo() 65 assertEquals(3, tv2.data); in testSetTo() 66 assertEquals(4, tv2.resourceId); in testSetTo() 67 assertEquals("test", tv2.string); in testSetTo() 68 assertEquals(5, tv2.type); in testSetTo()
|