Home
last modified time | relevance | path

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

/cts/tests/tests/text/src/android/text/style/cts/
DTextAppearanceSpanTest.java534 final TextView textView1 = new TextView(mContext); in testSameAsTextView_Typeface() local
542 textView1.setTextAppearance(android.text.cts.R.style.TextAppearanceWithTypeface); in testSameAsTextView_Typeface()
544 assertTypefaceSame(paint.getTypeface(), textView1.getTypeface()); in testSameAsTextView_Typeface()
550 final TextView textView1 = new TextView(mContext); in testSameAsTextView_TypefaceWithStyle() local
558 textView1.setTextAppearance(android.text.cts.R.style.TextAppearanceWithTypefaceAndBold); in testSameAsTextView_TypefaceWithStyle()
560 assertTypefaceSame(paint.getTypeface(), textView1.getTypeface()); in testSameAsTextView_TypefaceWithStyle()
566 final TextView textView1 = new TextView(mContext); in testSameAsTextView_TypefaceWithWeight() local
574 textView1.setTextAppearance( in testSameAsTextView_TypefaceWithWeight()
577 assertTypefaceSame(paint.getTypeface(), textView1.getTypeface()); in testSameAsTextView_TypefaceWithWeight()
584 final TextView textView1 = new TextView(mContext); in testSameAsTextView_WeightAndBold() local
[all …]
/cts/tests/tests/widget/src/android/widget/cts/
DRemoteViewsFixedCollectionAdapterTest.java488 TextView textView1 = (TextView) child1.getChildAt(0); in testSetRemoteAdapter_withItems() local
490 assertEquals("World", textView1.getText()); in testSetRemoteAdapter_withItems()
549 TextView textView1 = (TextView) child1.getChildAt(0); in testSetRemoteAdapter_checkedChangeListener() local
553 assertEquals("World", textView1.getText()); in testSetRemoteAdapter_checkedChangeListener()
784 TextView textView1 = (TextView) child1.getChildAt(0); in testSetRemoteAdapter_gridView() local
788 assertEquals("World", textView1.getText()); in testSetRemoteAdapter_gridView()
DTextViewTest.java2669 TextView textView1 = new TextView(mActivity); in testOnSaveInstanceState_whenFreezesTextIsFalse() local
2670 textView1.setFreezesText(false); in testOnSaveInstanceState_whenFreezesTextIsFalse()
2671 textView1.setText(text); in testOnSaveInstanceState_whenFreezesTextIsFalse()
2677 textView2.onRestoreInstanceState(textView1.onSaveInstanceState()); in testOnSaveInstanceState_whenFreezesTextIsFalse()
2684 TextView textView1 = new TextView(mActivity); in testOnSaveInstanceState_whenFreezesTextIsFalse() local
2685 textView1.setFreezesText(false); in testOnSaveInstanceState_whenFreezesTextIsFalse()
2686 textView1.setTextIsSelectable(true); in testOnSaveInstanceState_whenFreezesTextIsFalse()
2687 textView1.setText(text); in testOnSaveInstanceState_whenFreezesTextIsFalse()
2694 textView2.onRestoreInstanceState(textView1.onSaveInstanceState()); in testOnSaveInstanceState_whenFreezesTextIsFalse()
2706 TextView textView1 = new TextView(mActivity); in testOnSaveInstanceState_doesNotSaveSelectionWhenDoesNotExist() local
[all …]
/cts/tests/tests/view/src/android/view/cts/
DViewGroupTest.java409 TextView textView1 = new TextView(mContext); in testBringChildToFront() local
414 mMockViewGroup.addView(textView1); in testBringChildToFront()
418 mMockViewGroup.bringChildToFront(textView1); in testBringChildToFront()
419 assertEquals(mMockViewGroup, textView1.getParent()); in testBringChildToFront()
428 assertSame(textView1, mMockViewGroup.getChildAt(0)); in testBringChildToFront()
557 TextView textView1 = new TextView(mContext); in testDetachViewsFromParent() local
561 mMockViewGroup.addView(textView1); in testDetachViewsFromParent()
569 assertNull(textView1.getParent()); in testDetachViewsFromParent()
1292 MockTextView textView1 = new MockTextView(mContext); in testMeasureChildren() local
1294 mMockViewGroup.addView(textView1); in testMeasureChildren()