Home
last modified time | relevance | path

Searched refs:textView2 (Results 1 – 2 of 2) sorted by relevance

/cts/tests/tests/widget/src/android/widget/cts/
DTextViewTest.java2036 TextView textView2 = new TextView(mActivity); in testOnSaveInstanceState_whenFreezesTextIsFalse() local
2037 textView2.setFreezesText(false); in testOnSaveInstanceState_whenFreezesTextIsFalse()
2039 textView2.onRestoreInstanceState(textView1.onSaveInstanceState()); in testOnSaveInstanceState_whenFreezesTextIsFalse()
2041 assertEquals("", textView2.getText().toString()); in testOnSaveInstanceState_whenFreezesTextIsFalse()
2052 TextView textView2 = new TextView(mActivity); in testOnSaveInstanceState_whenFreezesTextIsFalse() local
2053 textView2.setFreezesText(false); in testOnSaveInstanceState_whenFreezesTextIsFalse()
2054 textView2.setTextIsSelectable(true); in testOnSaveInstanceState_whenFreezesTextIsFalse()
2056 textView2.onRestoreInstanceState(textView1.onSaveInstanceState()); in testOnSaveInstanceState_whenFreezesTextIsFalse()
2058 assertEquals("", textView2.getText().toString()); in testOnSaveInstanceState_whenFreezesTextIsFalse()
2072 TextView textView2 = new TextView(mActivity); in testOnSaveInstanceState_doesNotSaveSelectionWhenDoesNotExist() local
[all …]
/cts/tests/tests/view/src/android/view/cts/
DViewGroupTest.java264 TextView textView2 = new TextView(mContext); in testBringChildToFront() local
269 vg.addView(textView2); in testBringChildToFront()
276 assertSame(textView2, vg.getChildAt(0)); in testBringChildToFront()
278 vg.bringChildToFront(textView2); in testBringChildToFront()
279 assertEquals(vg, textView2.getParent()); in testBringChildToFront()
415 TextView textView2 = new TextView(mContext); in testDetachViewsFromParent() local
419 vg.addView(textView2); in testDetachViewsFromParent()
427 assertNull(textView2.getParent()); in testDetachViewsFromParent()
957 MockTextView textView2 = new MockTextView(mContext); in testMeasureChildren() local
958 textView2.setVisibility(View.GONE); in testMeasureChildren()
[all …]