Searched refs:textView1 (Results 1 – 4 of 4) sorted by relevance
534 final TextView textView1 = new TextView(mContext); in testSameAsTextView_Typeface() local542 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() local558 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() local574 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 …]
488 TextView textView1 = (TextView) child1.getChildAt(0); in testSetRemoteAdapter_withItems() local490 assertEquals("World", textView1.getText()); in testSetRemoteAdapter_withItems()549 TextView textView1 = (TextView) child1.getChildAt(0); in testSetRemoteAdapter_checkedChangeListener() local553 assertEquals("World", textView1.getText()); in testSetRemoteAdapter_checkedChangeListener()784 TextView textView1 = (TextView) child1.getChildAt(0); in testSetRemoteAdapter_gridView() local788 assertEquals("World", textView1.getText()); in testSetRemoteAdapter_gridView()
2669 TextView textView1 = new TextView(mActivity); in testOnSaveInstanceState_whenFreezesTextIsFalse() local2670 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() local2685 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 …]
409 TextView textView1 = new TextView(mContext); in testBringChildToFront() local414 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() local561 mMockViewGroup.addView(textView1); in testDetachViewsFromParent()569 assertNull(textView1.getParent()); in testDetachViewsFromParent()1292 MockTextView textView1 = new MockTextView(mContext); in testMeasureChildren() local1294 mMockViewGroup.addView(textView1); in testMeasureChildren()