Home
last modified time | relevance | path

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

/cts/tests/tests/widget/src/android/widget/cts/
DTextViewTest.java1768 TextView originalTextView = new TextView(mActivity); in testSaveInstanceState() local
1770 originalTextView.setText(text); in testSaveInstanceState()
1771 originalTextView.setFreezesText(true); // needed to actually save state in testSaveInstanceState()
1772 Parcelable state = originalTextView.onSaveInstanceState(); in testSaveInstanceState()
1781 TextView originalTextView = new TextView(mActivity); in testSaveInstanceStateSelection() local
1784 originalTextView.setText(spannable); in testSaveInstanceStateSelection()
1785 originalTextView.setTextIsSelectable(true); in testSaveInstanceStateSelection()
1786 Selection.setSelection((Spannable) originalTextView.getText(), 5, 7); in testSaveInstanceStateSelection()
1787 originalTextView.setFreezesText(true); // needed to actually save state in testSaveInstanceStateSelection()
1788 Parcelable state = originalTextView.onSaveInstanceState(); in testSaveInstanceStateSelection()